Home
last modified time | relevance | path

Searched refs:mGradientColors (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java48 protected final SparseArray<GradientColors[]> mGradientColors; field in ColorExtractor
66 mGradientColors = new SparseArray<>(); in ColorExtractor()
69 mGradientColors.append(which, colors); in ColorExtractor()
112 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in extractWallpaperColors()
113 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in extractWallpaperColors()
151 return mGradientColors.get(which)[type]; in getColors()
179 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in onColorsChanged()
186 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in onColorsChanged()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java711 return mGradientState.mGradientColors == null ? in getColors()
712 null : mGradientState.mGradientColors.clone(); in getColors()
1266 final int[] gradientColors = st.mGradientColors;
1715 final boolean hasGradientColors = st.mGradientColors != null;
1717 final int prevStart = hasGradientColors ? st.mGradientColors[0] : 0;
1718 final int prevCenter = hasGradientCenter ? st.mGradientColors[1] : 0;
1723 prevEnd = st.mGradientColors[2];
1727 prevEnd = st.mGradientColors[1];
1743 st.mGradientColors = new int[3];
1744 st.mGradientColors[0] = startColor;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java141 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump()
142 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()