/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleForeground.java | 233 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 …]
|
D | ScaleDrawable.java | 207 final int opacity = d.getOpacity(); in getOpacity() local 208 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity() 212 return opacity; in getOpacity()
|
D | ClipDrawable.java | 163 final int opacity = dr.getOpacity(); in getOpacity() local 164 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity()
|
D | InsetDrawable.java | 260 final int opacity = getDrawable().getOpacity(); in getOpacity() local 262 if (opacity == PixelFormat.OPAQUE && in getOpacity() 267 return opacity; in getOpacity()
|
D | AdaptiveIconDrawable.java | 728 public void setOpacity(int opacity) { in setOpacity() argument 729 mLayerState.mOpacityOverride = opacity; in setOpacity()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Volume.java | 58 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()
|
D | Material.java | 147 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()
|
D | bricked.rscript | 25 rs_allocation opacity; 27 // output a single bit per pixel volume based on opacity 58 uchar op = rsGetElementAt_uchar(opacity, intensity);
|
D | vr.rscript | 37 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/ |
D | color_fade_frag.frag | 5 uniform float opacity; 12 vec3 rgb = pow(color.rgb * opacity, vec3(gamma));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricView.java | 362 final float opacity = (float) animation.getAnimatedValue(); in updateSize() local 363 mTitleView.setAlpha(opacity); in updateSize() 364 mIndicatorView.setAlpha(opacity); in updateSize() 365 mNegativeButton.setAlpha(opacity); in updateSize() 366 mCancelButton.setAlpha(opacity); in updateSize() 367 mTryAgainButton.setAlpha(opacity); in updateSize() 370 mSubtitleView.setAlpha(opacity); in updateSize() 373 mDescriptionView.setAlpha(opacity); in updateSize() 452 final float opacity = (float) animation.getAnimatedValue(); in updateSize() local 453 biometricView.setAlpha(opacity); in updateSize()
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | AmbientShadowVertexCalculator.java | 53 float opacity = .8f * (0.5f / (mConfig.getEdgeScale() / 10f)); in generateVertex() local 74 mColor[colorShift + 3] = opacity; in generateVertex()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestReceiver.java | 44 public SurfaceViewRequestReceiver(int opacity) { in SurfaceViewRequestReceiver() argument 45 mOpacity = opacity; in SurfaceViewRequestReceiver()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | GhostedViewLaunchAnimatorController.kt | 272 val opacity = wrapped.opacity in getAlpha() constant 274 return opacity in getAlpha()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 438 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw() 440 drawFaded(opacity, 1.f / gamma); in draw() 452 private void drawFaded(float opacity, float gamma) { 454 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma); 462 GLES20.glUniform1f(mOpacityLoc, opacity);
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 497 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/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherInterface.h | 139 virtual void setMaximumObscuringOpacityForTouch(float opacity) = 0;
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 964 public void setMaximumObscuringOpacityForTouch(@FloatRange(from = 0, to = 1) float opacity) { in setMaximumObscuringOpacityForTouch() 965 if (opacity < 0 || opacity > 1) { in setMaximumObscuringOpacityForTouch() 971 Settings.Global.MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH, opacity); in setMaximumObscuringOpacityForTouch() local
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1713 int opacity = PixelFormat.OPAQUE; in drawableChanged() local 1720 opacity = PixelFormat.TRANSLUCENT; in drawableChanged() 1731 opacity = bg.getOpacity(); in drawableChanged() 1741 opacity = PixelFormat.OPAQUE; in drawableChanged() 1743 opacity = bop; in drawableChanged() 1745 opacity = fop; in drawableChanged() 1747 opacity = Drawable.resolveOpacity(fop, bop); in drawableChanged() 1755 opacity = PixelFormat.TRANSLUCENT; in drawableChanged() 1763 Log.v(mLogTag, "Selected default opacity: " + opacity); in drawableChanged() 1765 mDefaultOpacity = opacity; in drawableChanged() [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
D | VrView.java | 338 int[][] opacity = mState1.mVolume.getLookOpactiy(look); in setLook() local 339 mState1.mMaterial.setup(opacity, color); in setLook()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 859 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/tools/aapt/ |
D | Images.cpp | 420 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/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 301 private static native void nativeSetMaximumObscuringOpacityForTouch(long ptr, float opacity); in nativeSetMaximumObscuringOpacityForTouch() argument 1945 final float opacity = InputManager.getInstance().getMaximumObscuringOpacityForTouch(); in updateMaximumObscuringOpacityForTouchFromSettings() local 1946 if (opacity < 0 || opacity > 1) { in updateMaximumObscuringOpacityForTouchFromSettings() 1947 Log.e(TAG, "Invalid maximum obscuring opacity " + opacity in updateMaximumObscuringOpacityForTouchFromSettings() 1951 nativeSetMaximumObscuringOpacityForTouch(mPtr, opacity); in updateMaximumObscuringOpacityForTouchFromSettings()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 2589 float opacity = in computeTouchOcclusionInfoLocked() local 2593 opacity = 1 - (1 - opacity) * (1 - otherInfo->alpha); in computeTouchOcclusionInfoLocked() 2594 opacityByUid[uid] = opacity; in computeTouchOcclusionInfoLocked() 2595 if (opacity > info.obscuringOpacity) { in computeTouchOcclusionInfoLocked() 2596 info.obscuringOpacity = opacity; in computeTouchOcclusionInfoLocked() 4764 void InputDispatcher::setMaximumObscuringOpacityForTouch(float opacity) { in setMaximumObscuringOpacityForTouch() argument 4765 if (opacity < 0 || opacity > 1) { in setMaximumObscuringOpacityForTouch() 4771 mMaximumObscuringOpacityForTouch = opacity; in setMaximumObscuringOpacityForTouch()
|
/frameworks/proto_logging/stats/enums/app/ |
D | tvsettings_enums.proto | 867 // TvSettings > System > Accessibility > Captions > Custom > Text opacity 885 // Background opacity 895 // TvSettings > System > Accessibility > Captions > Custom > Window opacity
|