Home
last modified time | relevance | path

Searched refs:supportsDarkText (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java60 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in whiteSurfaceColorHintsTest()
62 Assert.assertTrue("White surface should support dark text.", supportsDarkText); in whiteSurfaceColorHintsTest()
69 supportsDarkText = (WallpaperColors.fromBitmap(image) in whiteSurfaceColorHintsTest()
72 + "when it contains dark pixels.", supportsDarkText); in whiteSurfaceColorHintsTest()
85 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in xSmallWhiteSurfaceColorHintsTest()
88 supportsDarkText); in xSmallWhiteSurfaceColorHintsTest()
103 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in blackSurfaceColorHintsTest()
105 Assert.assertFalse("Black surface shouldn't support dark text.", supportsDarkText); in blackSurfaceColorHintsTest()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java115 final boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in runTonalExtraction()
197 if (supportsDarkText) { in runTonalExtraction()
211 if (supportsDarkText) { in runTonalExtraction()
223 outColorsNormal.setSupportsDarkText(supportsDarkText); in runTonalExtraction()
224 outColorsDark.setSupportsDarkText(supportsDarkText); in runTonalExtraction()
225 outColorsExtraDark.setSupportsDarkText(supportsDarkText); in runTonalExtraction()
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java261 public void setSupportsDarkText(boolean supportsDarkText) { in setSupportsDarkText() argument
262 mSupportsDarkText = supportsDarkText; in setSupportsDarkText()
284 public boolean supportsDarkText() { in supportsDarkText() method in ColorExtractor.GradientColors
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java325 final boolean scrimColorIsLight = scrimInFrontColor.supportsDarkText(); in setScrimState()
DCentralSurfacesImpl.java2292 final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in updateTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java957 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java437 when(mGradientColors.supportsDarkText()).thenReturn(true); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2597 if (colors.supportsDarkText()) {
/frameworks/base/boot/
Dboot-image-profile.txt21257 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z
/frameworks/base/config/
Dboot-image-profile.txt21321 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z