Home
last modified time | relevance | path

Searched refs:setAlphaComponent (Results 1 – 10 of 10) 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/statusbar/
DMediaArtworkProcessor.kt85 canvas.drawColor(ColorUtils.setAlphaComponent(swatch.rgb, COLOR_ALPHA)) in processArtwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DLightSourceDrawable.kt131 ColorUtils.setAlphaComponent(highlightColor, (rippleData.alpha * 255).toInt()) in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleExperimentConfig.java237 notifColor = ColorUtils.setAlphaComponent(notifColor, 255); in createFromNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java174 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.java480 final int color = ColorUtils.setAlphaComponent(
/frameworks/base/config/
Dboot-image-profile.txt27909 HSPLcom/android/internal/graphics/ColorUtils;->setAlphaComponent(II)I