/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 | ClockPalette.kt | 55 fun setColorPalette(supportsDarkText: Boolean, colorPalette: IntArray?) { in setColorPalette() 59 accentSecondaryDark = if (supportsDarkText) Color.BLACK else Color.WHITE in setColorPalette() 66 length - if (supportsDarkText) SECONDARY_DARK_INDEX else SECONDARY_LIGHT_INDEX)] in setColorPalette()
|
D | AnalogClockController.java | 139 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview() 175 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument 176 mPalette.setColorPalette(supportsDarkText, colorPalette); in setColorPalette()
|
D | BubbleClockController.java | 139 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview() 175 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument 176 mPalette.setColorPalette(supportsDarkText, colorPalette); in setColorPalette()
|
D | DefaultClockController.java | 128 setColorPalette(colors.supportsDarkText(), colors.getColorPalette()); in getPreview() 162 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 | 261 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/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 | 632 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
|
D | ScrimController.java | 568 int textColor = mColors.supportsDarkText() ? Color.BLACK : Color.WHITE; in updateScrims()
|
D | StatusBar.java | 3338 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 | 413 mSupportsDarkText = colors.supportsDarkText(); in updateColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 1677 if (colors.supportsDarkText()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 670 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
|