Searched refs:setAlphaComponent (Results 1 – 10 of 10) 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/statusbar/ |
D | MediaArtworkProcessor.kt | 85 canvas.drawColor(ColorUtils.setAlphaComponent(swatch.rgb, COLOR_ALPHA)) in processArtwork()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | LightSourceDrawable.kt | 131 ColorUtils.setAlphaComponent(highlightColor, (rippleData.alpha * 255).toInt()) in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleExperimentConfig.java | 237 notifColor = ColorUtils.setAlphaComponent(notifColor, 255); in createFromNotif()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 174 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 | 480 final int color = ColorUtils.setAlphaComponent(
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 27909 HSPLcom/android/internal/graphics/ColorUtils;->setAlphaComponent(II)I
|