Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java61 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in whiteSurfaceColorHintsTest()
86 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in xSmallWhiteSurfaceColorHintsTest()
104 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in blackSurfaceColorHintsTest()
136 (colors.getColorHints() & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0); in darkMainColorSupportsDarkTheme()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java492 WallpaperColors.HINT_SUPPORTS_DARK_TEXT | WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
498 assertNotEquals(WallpaperColors.HINT_SUPPORTS_DARK_THEME, in testGetAdjustedWallpaperColorsOnDimming()
499 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
507 assertEquals(WallpaperColors.HINT_SUPPORTS_DARK_THEME, in testGetAdjustedWallpaperColorsOnDimming()
508 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
513 WallpaperColors.HINT_SUPPORTS_DARK_TEXT | WallpaperColors.HINT_SUPPORTS_DARK_THEME in testGetAdjustedWallpaperColorsOnDimming()
520 assertEquals(WallpaperColors.HINT_SUPPORTS_DARK_THEME, in testGetAdjustedWallpaperColorsOnDimming()
521 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/wallpaper/
DWallpaperUtils.kt47 WallpaperColors.HINT_SUPPORTS_DARK_TEXT or WallpaperColors.HINT_SUPPORTS_DARK_THEME in getWallpaperColors()
/frameworks/base/core/java/android/app/
DWallpaperColors.java65 @IntDef(prefix = "HINT_", value = {HINT_SUPPORTS_DARK_TEXT, HINT_SUPPORTS_DARK_THEME},
84 public static final int HINT_SUPPORTS_DARK_THEME = 1 << 1; field in WallpaperColors
275 mColorHints |= HINT_SUPPORTS_DARK_THEME; in WallpaperColors()
600 hints |= HINT_SUPPORTS_DARK_THEME; in calculateDarkHints()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java255 && (inWallpaperColors.getColorHints() & WallpaperColors.HINT_SUPPORTS_DARK_THEME) in applyFallback()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1011 && (colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) == 0); in setPrimaryWallpaperColors()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2872 & ~WallpaperColors.HINT_SUPPORTS_DARK_THEME; in getAdjustedWallpaperColorsOnDimming()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt7745 field public static final int HINT_SUPPORTS_DARK_THEME = 2; // 0x2
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9541 Landroid/app/WallpaperColors;->HINT_SUPPORTS_DARK_THEME:I