/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 59 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/ |
D | TonalCompat.java | 39 result.supportsDarkText = darkColors.supportsDarkText(); in extractDarkColors() 50 public boolean supportsDarkText; field in TonalCompat.ExtractionInfo
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | DefaultClockController.java | 128 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview() 162 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) {} in setColorPalette() argument
|
D | BubbleClockController.java | 134 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview() 168 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument
|
D | AnalogClockController.java | 134 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/ |
D | Tonal.java | 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()
|
/frameworks/base/core/java/com/android/internal/colorextraction/ |
D | ColorExtractor.java | 264 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/ |
D | ClockPlugin.java | 107 default void setColorPalette(boolean supportsDarkText, int[] colors) {} in setColorPalette() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LightBarController.java | 188 && !scrimInFrontColor.supportsDarkText(); in setScrimState()
|
D | StatusBarWindowController.java | 572 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
|
D | ScrimController.java | 526 int textColor = mColors.supportsDarkText() ? Color.BLACK : Color.WHITE; in updateScrims()
|
D | StatusBar.java | 3217 final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in updateTheme()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 326 WallpaperManager.FLAG_SYSTEM).supportsDarkText(); in onCreate() 398 boolean darkText = colors.supportsDarkText(); in onColorsChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 383 mSupportsDarkText = colors.supportsDarkText(); in updateColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 1683 if (colors.supportsDarkText()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 661 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
|