Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 24 of 24) 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.java206 final int opacity = d.getOpacity(); in getOpacity() local
207 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()
211 return opacity; in getOpacity()
DClipDrawable.java163 final int opacity = dr.getOpacity(); in getOpacity() local
164 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity()
DInsetDrawable.java259 final int opacity = getDrawable().getOpacity(); in getOpacity() local
261 if (opacity == PixelFormat.OPAQUE && in getOpacity()
266 return opacity; in getOpacity()
DAdaptiveIconDrawable.java715 public void setOpacity(int opacity) { in setOpacity() argument
716 mLayerState.mOpacityOverride = opacity; in setOpacity()
DLayerDrawable.java1438 public void setOpacity(int opacity) { in setOpacity() argument
1439 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.rscript25 rs_allocation opacity;
27 // output a single bit per pixel volume based on opacity
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
Dvr.rscript37 rs_allocation opacity;
126 // int op = rsGetElementAt_uchar(opacity, intensity);
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/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFaceDialogView.java225 final float opacity = (float) animation.getAnimatedValue(); in updateSize() local
228 mTitleText.setAlpha(opacity); in updateSize()
229 mErrorText.setAlpha(opacity); in updateSize()
230 mNegativeButton.setAlpha(opacity); in updateSize()
231 mTryAgainButton.setAlpha(opacity); in updateSize()
235 mSubtitleText.setAlpha(opacity); in updateSize()
238 mDescriptionText.setAlpha(opacity); in updateSize()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DAmbientShadowVertexCalculator.java89 float opacity = .8f * (0.5f / (mConfig.getEdgeScale() / 10f)); in generateVertex() local
101 mColor[p * 4 + 3] = (1 - jf) * opacity; in generateVertex()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java401 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw()
403 drawFaded(opacity, 1.f / gamma); in draw()
415 private void drawFaded(float opacity, float gamma) {
417 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma);
425 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.java1626 int opacity = PixelFormat.OPAQUE; in drawableChanged() local
1630 opacity = PixelFormat.TRANSLUCENT; in drawableChanged()
1641 opacity = bg.getOpacity(); in drawableChanged()
1651 opacity = PixelFormat.OPAQUE; in drawableChanged()
1653 opacity = bop; in drawableChanged()
1655 opacity = fop; in drawableChanged()
1657 opacity = Drawable.resolveOpacity(fop, bop); in drawableChanged()
1665 opacity = PixelFormat.TRANSLUCENT; in drawableChanged()
1673 Log.v(mLogTag, "Selected default opacity: " + opacity); in drawableChanged()
1675 mDefaultOpacity = opacity; in drawableChanged()
[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.cpp859 uint8_t opacity = color[3]; in findMaxOpacity() local
860 if (opacity > maxOpacity) { in findMaxOpacity()
861 maxOpacity = opacity; in findMaxOpacity()
864 if (opacity == 0xff) return; in findMaxOpacity()
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl13 // The opacity of locked screen (constant value).
/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-greylist-max-o.txt35401 Landroid/media/Cea708CCParser$CaptionColor;->opacity:I
90612 Lcom/android/internal/R$attr;->opacity:I
/frameworks/base/non-updatable-api/
Dcurrent.txt993 field public static final int opacity = 16843550; // 0x101031e
/frameworks/base/api/
Dcurrent.txt993 field public static final int opacity = 16843550; // 0x101031e