Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java185 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() local
186 opacity.setAutoCancel(true); in createSoftwareEnter()
187 opacity.setDuration(OPACITY_ENTER_DURATION_FAST); in createSoftwareEnter()
188 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareEnter()
191 set.play(tweenOrigin).with(tweenRadius).with(opacity); in createSoftwareEnter()
254 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in createSoftwareExit() local
255 opacity.setAutoCancel(true); in createSoftwareExit()
256 opacity.setDuration(opacityDuration); in createSoftwareExit()
257 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareExit()
260 set.play(tweenOrigin).with(tweenRadius).with(opacity); in createSoftwareExit()
[all …]
DRippleBackground.java94 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() local
95 opacity.setAutoCancel(true); in createSoftwareEnter()
96 opacity.setDuration(duration); in createSoftwareEnter()
97 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareEnter()
99 return opacity; in createSoftwareEnter()
DScaleDrawable.java204 final int opacity = d.getOpacity(); in getOpacity() local
205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()
209 return opacity; in getOpacity()
DClipDrawable.java159 final int opacity = dr.getOpacity(); in getOpacity() local
160 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity()
DInsetDrawable.java258 final int opacity = getDrawable().getOpacity(); in getOpacity() local
260 if (opacity == PixelFormat.OPAQUE && in getOpacity()
265 return opacity; in getOpacity()
DAdaptiveIconDrawable.java717 public void setOpacity(int opacity) { in setOpacity() argument
718 mLayerState.mOpacityOverride = opacity; in setOpacity()
DLayerDrawable.java1431 public void setOpacity(int opacity) { in setOpacity() argument
1432 mLayerState.mOpacityOverride = opacity; in setOpacity()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DVolume.java58 public void addLook(String name, int[][] color, int[][] opacity) { in addLook() argument
59 mLooks.put(name, new Look(name, color, opacity)); in addLook()
91 public Look(String name, int[][] color, int[][] opacity) { in Look() argument
93 mOpacity = opacity; in Look()
DMaterial.java147 public void setup(int[][] opacity, int[][] material) { in setup() argument
168 mOpacity = new Opactiy[opacity.length]; in setup()
169 for (int i = 0; i < opacity.length; i++) { in setup()
171 mOpacity[i].mPos = opacity[i][0]; in setup()
172 mOpacity[i].mValue = opacity[i][1] / 255.f; in setup()
Dbricked.rs25 rs_allocation opacity;
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
Dvr.rs37 rs_allocation opacity;
156 uchar op = rsGetElementAt_uchar(opacity, intensity);
200 uchar op = rsGetElementAt_uchar(opacity, intensity);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorSupportFragment.java76 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
77 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT in setBackgroundDrawable()
78 || opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
DErrorFragment.java73 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
74 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT in setBackgroundDrawable()
75 || opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
/frameworks/base/core/res/res/raw/
Dcolor_fade_frag.frag5 uniform float opacity;
40 vec3 rgb = pow(hsl2rgb(vec3(hsl.x, hsl.y * saturation, hsl.z * opacity)), vec3(gamma));
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java396 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw()
400 drawFaded(opacity, 1.f / gamma, saturation, scale); in draw()
412 private void drawFaded(float opacity, float gamma, float saturation, float scale) {
414 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
423 GLES20.glUniform1f(mOpacityLoc, opacity);
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java497 int opacity = (data[pos] & 0xc0) >> 6; in parseC1() local
501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
503 opacity = (data[pos] & 0xc0) >> 6; in parseC1()
507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
542 int opacity = (data[pos] & 0xc0) >> 6; in parseC1() local
546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1()
841 public final int opacity; field in Cea708CCParser.CaptionColor
846 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument
847 this.opacity = opacity; in CaptionColor()
855 OPACITY_MAP[opacity], COLOR_MAP[red], COLOR_MAP[green], COLOR_MAP[blue]); in getArgbValue()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1472 int opacity = PixelFormat.OPAQUE;
1475 opacity = PixelFormat.TRANSLUCENT;
1486 opacity = bg.getOpacity();
1496 opacity = PixelFormat.OPAQUE;
1498 opacity = bop;
1500 opacity = fop;
1502 opacity = Drawable.resolveOpacity(fop, bop);
1510 opacity = PixelFormat.TRANSLUCENT;
1518 Log.v(mLogTag, "Selected default opacity: " + opacity);
1520 mDefaultOpacity = opacity;
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java338 int[][] opacity = mState1.mVolume.getLookOpactiy(look); in setLook() local
339 mState1.mMaterial.setup(opacity, color); in setLook()
/frameworks/base/tools/aapt2/compile/
DPng.cpp858 uint8_t opacity = color[3]; in findMaxOpacity() local
859 if (opacity > maxOpacity) { in findMaxOpacity()
860 maxOpacity = opacity; in findMaxOpacity()
863 if (opacity == 0xff) return; in findMaxOpacity()
/frameworks/base/tools/aapt/
DImages.cpp420 uint8_t opacity = color[3]; in find_max_opacity() local
421 if (opacity > max_opacity) { in find_max_opacity()
422 max_opacity = opacity; in find_max_opacity()
425 if (opacity == 0xff) return; in find_max_opacity()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt890 field public static final int opacity = 16843550; // 0x101031e
/frameworks/base/api/
Dcurrent.txt949 field public static final int opacity = 16843550; // 0x101031e
Dsystem-current.txt1070 field public static final int opacity = 16843550; // 0x101031e