Home
last modified time | relevance | path

Searched refs:HINT_SUPPORTS_DARK_TEXT (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java42 (colors.getColorHints() & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) == 0); in supportsDarkTextOverrideTest()
45 colors = new WallpaperColors(color, null, null, WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in supportsDarkTextOverrideTest()
47 (colors.getColorHints() & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) == 0); in supportsDarkTextOverrideTest()
60 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in whiteSurfaceColorHintsTest()
70 .getColorHints() & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in whiteSurfaceColorHintsTest()
85 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in xSmallWhiteSurfaceColorHintsTest()
103 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in blackSurfaceColorHintsTest()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java492 WallpaperColors.HINT_SUPPORTS_DARK_TEXT | WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
496 assertNotEquals(WallpaperColors.HINT_SUPPORTS_DARK_TEXT, in testGetAdjustedWallpaperColorsOnDimming()
497 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in testGetAdjustedWallpaperColorsOnDimming()
505 assertEquals(WallpaperColors.HINT_SUPPORTS_DARK_TEXT, in testGetAdjustedWallpaperColorsOnDimming()
506 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in testGetAdjustedWallpaperColorsOnDimming()
513 WallpaperColors.HINT_SUPPORTS_DARK_TEXT | WallpaperColors.HINT_SUPPORTS_DARK_THEME in testGetAdjustedWallpaperColorsOnDimming()
518 assertEquals(WallpaperColors.HINT_SUPPORTS_DARK_TEXT, in testGetAdjustedWallpaperColorsOnDimming()
519 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT); 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/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java65 WallpaperColors.HINT_SUPPORTS_DARK_TEXT), in extractInto_usesFallbackWhenTooLightOrDark()
93 WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in extractInto_supportsDarkText()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionSampler.kt265 (colors?.colorHints?.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) != in onColorsChanged()
266 WallpaperColors.HINT_SUPPORTS_DARK_TEXT in onColorsChanged()
/frameworks/base/core/java/android/app/
DWallpaperColors.java65 @IntDef(prefix = "HINT_", value = {HINT_SUPPORTS_DARK_TEXT, HINT_SUPPORTS_DARK_THEME},
77 public static final int HINT_SUPPORTS_DARK_TEXT = 1 << 0; field in WallpaperColors
597 hints |= HINT_SUPPORTS_DARK_TEXT; in calculateDarkHints()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/regionsampling/
DRegionSamplerTest.kt213 WallpaperColors.HINT_SUPPORTS_DARK_TEXT in setWhiteWallpaper()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java115 final boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in runTonalExtraction()
252 && (inWallpaperColors.getColorHints() & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) in applyFallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt646 (colors.colorHints.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) == 0 in <lambda>()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1010 mShouldDimByDefault = ((colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) == 0 in setPrimaryWallpaperColors()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2871 & ~WallpaperColors.HINT_SUPPORTS_DARK_TEXT 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.txt7744 field public static final int HINT_SUPPORTS_DARK_TEXT = 1; // 0x1
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9540 Landroid/app/WallpaperColors;->HINT_SUPPORTS_DARK_TEXT:I