Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DWallpaperColorInfo.java23 import com.android.launcher3.uioverrides.dynamicui.WallpaperColorsCompat;
88 public void onColorsChanged(WallpaperColorsCompat colors, int which) { in onColorsChanged()
95 private void update(WallpaperColorsCompat wallpaperColors) { in update()
106 & WallpaperColorsCompat.HINT_SUPPORTS_DARK_TEXT) > 0 : false; in update()
109 & WallpaperColorsCompat.HINT_SUPPORTS_DARK_THEME) > 0 : false; in update()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java68 private WallpaperColorsCompat mColorsCompat;
76 Pair<Integer, WallpaperColorsCompat> storedValue = parseValue(colors); in WallpaperManagerCompatVL()
116 public WallpaperColorsCompat getWallpaperColors(int which) { in getWallpaperColors()
147 private static Pair<Integer, WallpaperColorsCompat> parseValue(String value) { in parseValue()
159 return Pair.create(wallpaperId, new WallpaperColorsCompat(primary, secondary, tertiary, in parseValue()
DWallpaperManagerCompatVOMR1.java50 public WallpaperColorsCompat getWallpaperColors(int which) { in getWallpaperColors()
65 private WallpaperColorsCompat convertColorsObject(WallpaperColors colors) { in convertColorsObject()
83 return new WallpaperColorsCompat(primaryVal, secondaryVal, tertiaryVal, colorHints); in convertColorsObject()
DColorExtractionAlgorithm.java54 public Pair<Integer, Integer> extractInto(WallpaperColorsCompat inWallpaperColors) { in extractInto()
62 WallpaperColorsCompat.HINT_SUPPORTS_DARK_TEXT) != 0; in extractInto()
153 public static Pair<Integer, Integer> applyFallback(WallpaperColorsCompat inWallpaperColors) { in applyFallback()
156 & WallpaperColorsCompat.HINT_SUPPORTS_DARK_TEXT)!= 0; in applyFallback()
782 private static List<Integer> getMainColors(WallpaperColorsCompat wallpaperColors) { in getMainColors()
DWallpaperColorsCompat.java21 public class WallpaperColorsCompat { class
31 public WallpaperColorsCompat(int primaryColor, int secondaryColor, int tertiaryColor, in WallpaperColorsCompat() method in WallpaperColorsCompat
DWallpaperManagerCompat.java51 public abstract @Nullable WallpaperColorsCompat getWallpaperColors(int which); in getWallpaperColors()
60 void onColorsChanged(WallpaperColorsCompat colors, int which); in onColorsChanged()