Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java59 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in colorHintsTest()
62 Assert.assertTrue("White surface should support dark text.", supportsDarkText); in colorHintsTest()
69 supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in colorHintsTest()
71 Assert.assertFalse("Black surface shouldn't support dark text.", supportsDarkText); in colorHintsTest()
79 supportsDarkText = (WallpaperColors.fromBitmap(image) in colorHintsTest()
82 + "when it contains dark pixels.", supportsDarkText); in colorHintsTest()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java39 result.supportsDarkText = darkColors.supportsDarkText(); in extractDarkColors()
50 public boolean supportsDarkText; field in TonalCompat.ExtractionInfo
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java128 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview()
162 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) {} in setColorPalette() argument
DBubbleClockController.java134 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview()
168 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument
DAnalogClockController.java134 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview()
168 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument
/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.java264 public void setSupportsDarkText(boolean supportsDarkText) { in setSupportsDarkText() argument
265 mSupportsDarkText = supportsDarkText; in setSupportsDarkText()
287 public boolean supportsDarkText() { in supportsDarkText() method in ColorExtractor.GradientColors
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockPlugin.java107 default void setColorPalette(boolean supportsDarkText, int[] colors) {} in setColorPalette() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java188 && !scrimInFrontColor.supportsDarkText(); in setScrimState()
DStatusBarWindowController.java572 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
DScrimController.java526 int textColor = mColors.supportsDarkText() ? Color.BLACK : Color.WHITE; in updateScrims()
DStatusBar.java3217 final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in updateTheme()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java326 WallpaperManager.FLAG_SYSTEM).supportsDarkText(); in onCreate()
398 boolean darkText = colors.supportsDarkText(); in onColorsChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java383 mSupportsDarkText = colors.supportsDarkText(); in updateColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1683 if (colors.supportsDarkText()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java661 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()