Home
last modified time | relevance | path

Searched refs:colorHints (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java494 int colorHints = mService.getAdjustedWallpaperColorsOnDimming(wallpaper).getColorHints(); in testGetAdjustedWallpaperColorsOnDimming() local
497 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in testGetAdjustedWallpaperColorsOnDimming()
499 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
503 colorHints = mService.getAdjustedWallpaperColorsOnDimming(wallpaper).getColorHints(); in testGetAdjustedWallpaperColorsOnDimming()
506 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in testGetAdjustedWallpaperColorsOnDimming()
508 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
516 colorHints = mService.getAdjustedWallpaperColorsOnDimming(wallpaper).getColorHints(); in testGetAdjustedWallpaperColorsOnDimming()
519 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT); in testGetAdjustedWallpaperColorsOnDimming()
521 colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME); in testGetAdjustedWallpaperColorsOnDimming()
/frameworks/base/core/java/android/app/
DWallpaperColors.java290 @Nullable Color tertiaryColor, @ColorsHints int colorHints) { in WallpaperColors() argument
313 mColorHints = colorHints; in WallpaperColors()
328 @ColorsHints int colorHints) { in WallpaperColors() argument
371 mColorHints = colorHints; in WallpaperColors()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDataParser.java392 int colorHints = getAttributeInt(parser, "colorHints", 0); in parseWallpaperAttributes() local
393 wallpaper.primaryColors = new WallpaperColors(allColors, colorHints); in parseWallpaperAttributes()
408 int colorHints = getAttributeInt(parser, "colorHints", 0); in parseWallpaperAttributes() local
409 wallpaper.primaryColors = new WallpaperColors(primary, secondary, tertiary, colorHints); in parseWallpaperAttributes()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionSampler.kt265 (colors?.colorHints?.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) != in onColorsChanged()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1009 int colorHints = colors.getColorHints(); in setPrimaryWallpaperColors() local
1010 mShouldDimByDefault = ((colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) == 0 in setPrimaryWallpaperColors()
1011 && (colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) == 0); in setPrimaryWallpaperColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt646 (colors.colorHints.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) == 0 in <lambda>()