/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | BoundsInfoDrawHelper.java | 41 ColorUtils.setAlphaComponent(Color.DKGRAY, 128); 43 ColorUtils.setAlphaComponent(Color.BLUE, 128); 45 ColorUtils.setAlphaComponent(Color.MAGENTA, 128);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthRippleView.kt | 139 dwellShader.color = ColorUtils.setAlphaComponent( in <lambda>() 178 dwellShader.color = ColorUtils.setAlphaComponent( in <lambda>() 294 rippleShader.color = ColorUtils.setAlphaComponent( in <lambda>() 310 dwellShader.color = ColorUtils.setAlphaComponent( in <lambda>()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 127 background = setAlphaComponent(background, 255); in calculateMinimumBackgroundAlpha() 128 final int leastContrastyColor = setAlphaComponent(foreground, 255); in calculateMinimumBackgroundAlpha() 133 testBackground = setAlphaComponent(testBackground, 255); in calculateMinimumBackgroundAlpha() 156 int testForeground = setAlphaComponent(fg, alpha); in calculateMinimumAlpha() 166 foreground = setAlphaComponent(foreground, 255); in calculateMinimumAlpha() 373 public static int setAlphaComponent(@ColorInt int color, in setAlphaComponent() method
|
/frameworks/base/tests/Internal/src/com/android/internal/graphics/ |
D | ColorUtilsTest.java | 37 worstCase = ColorUtils.setAlphaComponent(worstCase, 255); in calculateMinimumBackgroundAlpha_satisfiestContrast()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/ |
D | SquigglyProgress.kt | 255 wavePaint.color = ColorUtils.setAlphaComponent(tintColor, alpha) in <lambda>() 257 ColorUtils.setAlphaComponent(tintColor, (DISABLED_ALPHA * (alpha / 255f)).toInt()) in <lambda>()
|
D | LightSourceDrawable.kt | 128 ColorUtils.setAlphaComponent(highlightColor, (rippleData.alpha * 255).toInt()) in draw()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | PlaceHolderIconDrawable.java | 66 int newColor = ColorUtils.setAlphaComponent(placeholderColor, newAlpha); in animateIconUpdate()
|
D | UserBadgeDrawable.java | 109 return ColorUtils.setAlphaComponent(color, alpha); in blendDrawableAlpha()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleAnimation.kt | 73 color = ColorUtils.setAlphaComponent(config.color, config.opacity) in <lambda>()
|
D | RippleView.kt | 213 rippleShader.color = ColorUtils.setAlphaComponent(color, alpha) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleAnimationTest.kt | 75 assertThat(color).isEqualTo(ColorUtils.setAlphaComponent(config.color, config.opacity)) in init_shaderHasCorrectConfig()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/drawable/ |
D | SquigglyProgressTest.kt | 126 assertThat(linePaint.color).isEqualTo(ColorUtils.setAlphaComponent(tint, DISABLED_ALPHA)) in testTint()
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | ColorScheme.java | 118 return ColorUtils.setAlphaComponent(mIsDark in getBackgroundColor() 124 return ColorUtils.setAlphaComponent(mIsDark in getAccentColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | DotIndicatorDecoration.java | 146 return ColorUtils.setAlphaComponent(color, transitionAlphaOverride); in getTransitionAdjustedColor()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | DynamicRenderResources.java | 190 int colorValue = ColorUtils.setAlphaComponent(value, 0xFF); in extractPalette()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | MagnifierView.java | 89 mShadePaint.setColor(ColorUtils.setAlphaComponent(scrimColor, alpha)); in MagnifierView()
|
D | CropView.java | 102 mShadePaint.setColor(ColorUtils.setAlphaComponent(scrimColor, alpha)); in CropView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 180 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255); in childrenNeedInversion()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 678 int whiteScrim = ColorUtilsFromCompat.setAlphaComponent( in getMutedColor() 765 public static int setAlphaComponent(@ColorInt int color, in setAlphaComponent() method in ContrastColorUtil.ColorUtilsFromCompat
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 195 ColorUtils.setAlphaComponent(color, disabledAlpha), in colorStateListWithDisabledAlpha() 226 hintColor = ColorUtils.setAlphaComponent(foregroundColor, 0x99); in setBackgroundTintColor()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AbsAppSnapshotController.java | 420 final int color = ColorUtils.setAlphaComponent( in drawAppThemeSnapshot()
|
D | WindowContainer.java | 3318 animationRunnerBuilder.setTaskBackgroundColor(ColorUtils.setAlphaComponent( in applyAnimationUnchecked()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 564 int blackTransparent = ColorUtils.setAlphaComponent(Color.BLACK, dimmingLayerAlpha); in calculateDarkHints()
|
D | Notification.java | 6978 return ColorUtils.setAlphaComponent(color, Math.round(alphaValue.getFloat() * 255)); in setAlphaComponentByFloatDimen() 13786 mOnTertiaryAccentTextColor = ColorUtils.setAlphaComponent( in resolvePalette() 13794 mOnTertiaryFixedAccentTextColor = ColorUtils.setAlphaComponent( in resolvePalette()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 629 int colorValue = ColorUtils.setAlphaComponent(value, 0xFF); in assignTonalPaletteToOverlay()
|