Searched defs:opacity (Results 1 - 7 of 7) sorted by relevance

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DVolume.java58 public void addLook(String name, int[][] color, int[][] opacity) { argument
59 mLooks.put(name, new Look(name, color, opacity));
91 public Look(String name, int[][] color, int[][] opacity) { argument
93 mOpacity = opacity;
H A DMaterial.java147 public void setup(int[][] opacity, int[][] material) { argument
168 mOpacity = new Opactiy[opacity.length];
169 for (int i = 0; i < opacity.length; i++) {
171 mOpacity[i].mPos = opacity[i][0];
172 mOpacity[i].mValue = opacity[i][1] / 255.f;
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java246 mOpacityLoc = GLES20.glGetUniformLocation(mProgram, "opacity");
396 float opacity = (float) -Math.pow(one_minus_level, 2) + 1;
400 drawFaded(opacity, 1.f / gamma, saturation, scale);
412 private void drawFaded(float opacity, float gamma, float saturation, float scale) { argument
414 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
423 GLES20.glUniform1f(mOpacityLoc, opacity);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java1410 * Sets the opacity of this drawable directly instead of collecting the
1413 * @param opacity The opacity to use, or {@link PixelFormat#UNKNOWN
1420 public void setOpacity(int opacity) { argument
1421 mLayerState.mOpacityOverride = opacity;
/frameworks/base/tools/aapt/
H A DImages.cpp420 uint8_t opacity = color[3]; local
421 if (opacity > max_opacity) {
422 max_opacity = opacity;
425 if (opacity == 0xff) return;
651 // use opacity of pixels to estimate the round rect outline
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp823 uint8_t opacity = color[3]; local
824 if (opacity > maxOpacity) {
825 maxOpacity = opacity;
828 if (opacity == 0xff) return;
1049 // use opacity of pixels to estimate the round rect outline
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java497 int opacity = (data[pos] & 0xc0) >> 6;
501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue);
503 opacity = (data[pos] & 0xc0) >> 6;
507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue);
542 int opacity = (data[pos] & 0xc0) >> 6;
546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue);
841 public final int opacity; field in class:Cea708CCParser.CaptionColor
846 public CaptionColor(int opacity, int red, int green, int blue) { argument
847 this.opacity = opacity;
[all...]

Completed in 2847 milliseconds