Searched refs:wallpaperColors (Results 1 – 4 of 4) sorted by relevance
95 private void update(WallpaperColorsCompat wallpaperColors) { in update() argument96 Pair<Integer, Integer> colors = mExtractionType.extractInto(wallpaperColors); in update()104 mSupportsDarkText = wallpaperColors != null in update()105 ? (wallpaperColors.getColorHints() in update()107 mIsDark = wallpaperColors != null in update()108 ? (wallpaperColors.getColorHints() in update()
782 private static List<Integer> getMainColors(WallpaperColorsCompat wallpaperColors) { in getMainColors() argument784 if (wallpaperColors.getPrimaryColor() != 0) { in getMainColors()785 colors.add(wallpaperColors.getPrimaryColor()); in getMainColors()787 if (wallpaperColors.getSecondaryColor() != 0) { in getMainColors()788 colors.add(wallpaperColors.getSecondaryColor()); in getMainColors()790 if (wallpaperColors.getTertiaryColor() != 0) { in getMainColors()791 colors.add(wallpaperColors.getTertiaryColor()); in getMainColors()
98 private void update(WallpaperColors wallpaperColors) { in update() argument99 mExtractionInfo = mTonalCompat.extractDarkColors(wallpaperColors); in update()
274 WallpaperColors wallpaperColors = in onCreate() local276 updateTheme(supportsDarkText(wallpaperColors)); in onCreate()617 WallpaperColors wallpaperColors = in onStart() local619 mBackgroundDrawable.setColor(getPrimaryColor(wallpaperColors)); in onStart()620 updateTheme(supportsDarkText(wallpaperColors)); in onStart()