Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java233 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in startSoftwareEnter() local
234 opacity.setDuration(OPACITY_ENTER_DURATION); in startSoftwareEnter()
235 opacity.setInterpolator(LINEAR_INTERPOLATOR); in startSoftwareEnter()
236 opacity.start(); in startSoftwareEnter()
237 mRunningSwAnimators.add(opacity); in startSoftwareEnter()
241 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in startSoftwareExit() local
242 opacity.setDuration(OPACITY_EXIT_DURATION); in startSoftwareExit()
243 opacity.setInterpolator(LINEAR_INTERPOLATOR); in startSoftwareExit()
244 opacity.addListener(mAnimationListener); in startSoftwareExit()
245 opacity.setStartDelay(computeFadeOutDelay()); in startSoftwareExit()
[all …]
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.java715 public void setOpacity(int opacity) { in setOpacity() argument
716 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/base/core/res/res/raw/
Dcolor_fade_frag.frag5 uniform float opacity;
12 vec3 rgb = pow(color.rgb * opacity, vec3(gamma));
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DErrorFragment.java79 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
80 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT in setBackgroundDrawable()
81 || opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
DErrorSupportFragment.java74 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
75 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT in setBackgroundDrawable()
76 || opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java394 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw()
396 drawFaded(opacity, 1.f / gamma); in draw()
408 private void drawFaded(float opacity, float gamma) {
410 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma);
418 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.java1450 int opacity = PixelFormat.OPAQUE;
1454 opacity = PixelFormat.TRANSLUCENT;
1465 opacity = bg.getOpacity();
1475 opacity = PixelFormat.OPAQUE;
1477 opacity = bop;
1479 opacity = fop;
1481 opacity = Drawable.resolveOpacity(fop, bop);
1489 opacity = PixelFormat.TRANSLUCENT;
1497 Log.v(mLogTag, "Selected default opacity: " + opacity);
1499 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/config/
Dhiddenapi-public-dex.txt36362 Landroid/R$attr;->opacity:I
/frameworks/base/api/
Dcurrent.txt968 field public static final int opacity = 16843550; // 0x101031e