Searched refs:supportsDarkText (Results 1 – 10 of 10) sorted by relevance
60 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()
115 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()
261 public void setSupportsDarkText(boolean supportsDarkText) { in setSupportsDarkText() argument262 mSupportsDarkText = supportsDarkText; in setSupportsDarkText()284 public boolean supportsDarkText() { in supportsDarkText() method in ColorExtractor.GradientColors
325 final boolean scrimColorIsLight = scrimInFrontColor.supportsDarkText(); in setScrimState()
2292 final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in updateTheme()
957 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
437 when(mGradientColors.supportsDarkText()).thenReturn(true); in setup()
2597 if (colors.supportsDarkText()) {
21257 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z
21321 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z