Home
last modified time | relevance | path

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

12

/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.java207 final int opacity = d.getOpacity(); in getOpacity() local
208 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()
212 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.java260 final int opacity = getDrawable().getOpacity(); in getOpacity() local
262 if (opacity == PixelFormat.OPAQUE && in getOpacity()
267 return opacity; in getOpacity()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewTransition.kt122 val opacity: Float in <lambda>() constant
144 opacity = fadeOutInterpolator.getInterpolation(fadeOutFraction) in <lambda>()
149 v.alpha = opacity * initialAlpha in <lambda>()
175 opacity = fadeInInterpolator.getInterpolation(fadeInFraction) in <lambda>()
176 v.alpha = opacity in <lambda>()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHeaderViewHolder.kt192 val foregroundAlpha = headerStyle.foreground.opacity in bindDataWithThemedHeaders()
289 opacity = OPACITY_100 in getHeaderForeground()
294 opacity = OPACITY_65 in getHeaderForeground()
302 opacity = OPACITY_100 in getHeaderForeground()
307 opacity = OPACITY_55 in getHeaderForeground()
317 opacity = OPACITY_100 in getHeaderForeground()
323 opacity = OPACITY_65 in getHeaderForeground()
329 opacity = OPACITY_100 in getHeaderForeground()
335 opacity = OPACITY_55 in getHeaderForeground()
422 val opacity: Int constant in HeaderStyle.Foreground
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java235 final float opacity = InputSettings.getMaximumObscuringOpacityForTouch(mContext); in updateMaximumObscuringOpacityForTouch() local
236 if (opacity < 0 || opacity > 1) { in updateMaximumObscuringOpacityForTouch()
237 Log.e(TAG, "Invalid maximum obscuring opacity " + opacity in updateMaximumObscuringOpacityForTouch()
241 mNative.setMaximumObscuringOpacityForTouch(opacity); in updateMaximumObscuringOpacityForTouch()
DNativeInputManagerService.java81 void setMaximumObscuringOpacityForTouch(float opacity); in setMaximumObscuringOpacityForTouch() argument
338 public native void setMaximumObscuringOpacityForTouch(float opacity); in setMaximumObscuringOpacityForTouch() argument
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java44 public SurfaceViewRequestReceiver(int opacity) { in SurfaceViewRequestReceiver() argument
45 mOpacity = opacity; in SurfaceViewRequestReceiver()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseShader.kt236 fun setOpacity(opacity: Float) { in setOpacity()
237 setFloatUniform("in_opacity", opacity) in setOpacity()
/frameworks/base/core/java/android/hardware/input/
DInputSettings.java183 @FloatRange(from = 0, to = 1) float opacity) { in setMaximumObscuringOpacityForTouch()
184 if (opacity < 0 || opacity > 1) { in setMaximumObscuringOpacityForTouch()
189 Settings.Global.MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH, opacity); in setMaximumObscuringOpacityForTouch() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuFadeEffectInfo.kt25 data class MenuFadeEffectInfo(val isFadeEffectEnabled: Boolean, val opacity: Float) constant in com.android.systemui.accessibility.floatingmenu.MenuFadeEffectInfo
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationTest.kt44 opacity = 30, in init_shaderHasCorrectConfig()
75 assertThat(color).isEqualTo(ColorUtils.setAlphaComponent(config.color, config.opacity)) in init_shaderHasCorrectConfig()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationConfig.kt22 val opacity: Int = RippleShader.RIPPLE_DEFAULT_ALPHA, constant in com.android.systemui.surfaceeffects.ripple.RippleAnimationConfig
DRippleAnimation.kt73 color = ColorUtils.setAlphaComponent(config.color, config.opacity) in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java472 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw()
474 drawFaded(opacity, 1.f / gamma); in draw()
486 private void drawFaded(float opacity, float gamma) {
488 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma);
496 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/packages/SystemUI/animation/src/com/android/systemui/animation/
DGhostedViewTransitionAnimatorController.kt448 val opacity = wrapped.opacity in getAlpha() constant
450 return opacity in getAlpha()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dutils.agsl81 * on the foreground opacity.
99 * on the foreground opacity.
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h141 virtual void setMaximumObscuringOpacityForTouch(float opacity) = 0;

12