Searched refs:overlayColor (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | ShadowOverlayContainer.java | 266 public void setOverlayColor(@ColorInt int overlayColor) { in setOverlayColor() argument 268 if (overlayColor != mOverlayColor) { in setOverlayColor() 269 mOverlayColor = overlayColor; in setOverlayColor() 270 mOverlayPaint.setColor(overlayColor); in setOverlayColor()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 195 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument 198 (1f - overlayAlpha) * Color.red(overlayColor)), in getColorWithOverlay() 200 (1f - overlayAlpha) * Color.green(overlayColor)), in getColorWithOverlay() 202 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | TvApp.cpp | 181 sp<RenderNode> overlayColor = in createCard() local 183 canvas.drawRenderNode(overlayColor.get()); in createCard() 184 mOverlays.push_back(overlayColor); in createCard()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | ListRowPresenterTest.java | 126 static void assertChildrenHaveColorOverlay(ViewGroup group, int numChildren, int overlayColor, in assertChildrenHaveColorOverlay() argument 134 assertEquals(overlayColor, ((ShadowOverlayContainer) view).mOverlayColor); in assertChildrenHaveColorOverlay() 137 assertEquals(overlayColor, ((ShadowOverlayContainer) view).mOverlayColor); in assertChildrenHaveColorOverlay() 140 assertEquals(overlayColor, in assertChildrenHaveColorOverlay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 158 int overlayColor = 0x40FFFFFF; in SaveImageInBackgroundTask() local 162 paint, overlayColor); in SaveImageInBackgroundTask() 170 overlayColor); in SaveImageInBackgroundTask()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewHeader.java | 409 int overlayColor = useLightOverlayColor ? Color.WHITE : Color.BLACK; in getSecondaryColor() local 410 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f); in getSecondaryColor()
|