Searched refs:setAlphaComponent (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Palette.java | 537 mBodyTextColor = ColorUtils.setAlphaComponent(Color.WHITE, lightBodyAlpha); in ensureTextColorsGenerated() 538 mTitleTextColor = ColorUtils.setAlphaComponent(Color.WHITE, lightTitleAlpha); in ensureTextColorsGenerated() 550 mBodyTextColor = ColorUtils.setAlphaComponent(Color.BLACK, darkBodyAlpha); in ensureTextColorsGenerated() 551 mTitleTextColor = ColorUtils.setAlphaComponent(Color.BLACK, darkTitleAlpha); in ensureTextColorsGenerated() 559 ? ColorUtils.setAlphaComponent(Color.WHITE, lightBodyAlpha) in ensureTextColorsGenerated() 560 : ColorUtils.setAlphaComponent(Color.BLACK, darkBodyAlpha); in ensureTextColorsGenerated() 562 ? ColorUtils.setAlphaComponent(Color.WHITE, lightTitleAlpha) in ensureTextColorsGenerated() 563 : ColorUtils.setAlphaComponent(Color.BLACK, darkTitleAlpha); in ensureTextColorsGenerated()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 122 background = setAlphaComponent(background, 255); in calculateMinimumBackgroundAlpha() 123 final int leastContrastyColor = setAlphaComponent(foreground, 255); in calculateMinimumBackgroundAlpha() 128 testBackground = setAlphaComponent(testBackground, 255); in calculateMinimumBackgroundAlpha() 151 int testForeground = setAlphaComponent(fg, alpha); in calculateMinimumAlpha() 161 foreground = setAlphaComponent(foreground, 255); in calculateMinimumAlpha() 339 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/bubbles/ |
D | BubbleView.java | 248 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255 /* alpha */); in checkTint() 256 int dark = ColorUtils.setAlphaComponent(Color.BLACK, DARK_ICON_ALPHA); in checkTint()
|
D | BadgedImageView.java | 109 mUpdateDotColor = ColorUtils.setAlphaComponent(color, 255 /* alpha */); in setDotColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessor.kt | 82 canvas.drawColor(ColorUtils.setAlphaComponent(swatch.rgb, COLOR_ALPHA)) in processArtwork()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 158 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255); in childrenNeedInversion()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 589 int whiteScrim = ColorUtilsFromCompat.setAlphaComponent( in getMutedColor() 673 public static int setAlphaComponent(@ColorInt int color, in setAlphaComponent() method in ContrastColorUtil.ColorUtilsFromCompat
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotController.java | 383 final int color = ColorUtils.setAlphaComponent( in drawAppThemeSnapshot()
|