Home
last modified time | relevance | path

Searched refs:setAlphaComponent (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java537 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/
DColorUtils.java122 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/
DColorUtilsTest.java37 worstCase = ColorUtils.setAlphaComponent(worstCase, 255); in calculateMinimumBackgroundAlpha_satisfiestContrast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java248 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255 /* alpha */); in checkTint()
256 int dark = ColorUtils.setAlphaComponent(Color.BLACK, DARK_ICON_ALPHA); in checkTint()
DBadgedImageView.java109 mUpdateDotColor = ColorUtils.setAlphaComponent(color, 255 /* alpha */); in setDotColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaArtworkProcessor.kt82 canvas.drawColor(ColorUtils.setAlphaComponent(swatch.rgb, COLOR_ALPHA)) in processArtwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java158 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255); in childrenNeedInversion()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java589 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/
DTaskSnapshotController.java383 final int color = ColorUtils.setAlphaComponent( in drawAppThemeSnapshot()