Searched refs:colorHints (Results 1 – 6 of 6) sorted by relevance
494 int colorHints = mService.getAdjustedWallpaperColorsOnDimming(wallpaper).getColorHints(); in testGetAdjustedWallpaperColorsOnDimming() local497 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()
290 @Nullable Color tertiaryColor, @ColorsHints int colorHints) { in WallpaperColors() argument313 mColorHints = colorHints; in WallpaperColors()328 @ColorsHints int colorHints) { in WallpaperColors() argument371 mColorHints = colorHints; in WallpaperColors()
392 int colorHints = getAttributeInt(parser, "colorHints", 0); in parseWallpaperAttributes() local393 wallpaper.primaryColors = new WallpaperColors(allColors, colorHints); in parseWallpaperAttributes()408 int colorHints = getAttributeInt(parser, "colorHints", 0); in parseWallpaperAttributes() local409 wallpaper.primaryColors = new WallpaperColors(primary, secondary, tertiary, colorHints); in parseWallpaperAttributes()
265 (colors?.colorHints?.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) != in onColorsChanged()
1009 int colorHints = colors.getColorHints(); in setPrimaryWallpaperColors() local1010 mShouldDimByDefault = ((colorHints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) == 0 in setPrimaryWallpaperColors()1011 && (colorHints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) == 0); in setPrimaryWallpaperColors()
646 (colors.colorHints.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) == 0 in <lambda>()