Searched refs:mGradientColors (Results 1 – 6 of 6) sorted by relevance
726 if (mGradientState.mGradientColors == null) { in getColors()729 int[] colors = new int[mGradientState.mGradientColors.length]; in getColors()730 for (int i = 0; i < mGradientState.mGradientColors.length; i++) { in getColors()731 if (mGradientState.mGradientColors[i] != null) { in getColors()732 colors[i] = mGradientState.mGradientColors[i].getDefaultColor(); in getColors()1290 if (st.mGradientColors != null) {1291 gradientColors = new int[st.mGradientColors.length];1293 if (st.mGradientColors[i] != null) {1294 gradientColors[i] = st.mGradientColors[i].getDefaultColor();1459 if (state.mGradientColors != null) {[all …]
48 protected final SparseArray<GradientColors[]> mGradientColors; field in ColorExtractor66 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()
140 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump()141 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()
101 @Mock private ColorExtractor.GradientColors mGradientColors; field in NotificationShadeWindowControllerImplTest139 when(mColorExtractor.getNeutralColors()).thenReturn(mGradientColors); in setUp()
285 @Mock private ColorExtractor.GradientColors mGradientColors; field in CentralSurfacesImplTest437 when(mGradientColors.supportsDarkText()).thenReturn(true); in setup()438 when(mColorExtractor.getNeutralColors()).thenReturn(mGradientColors); in setup()
296 ColorExtractor.GradientColors mGradientColors; field in BubblesTest384 when(mColorExtractor.getNeutralColors()).thenReturn(mGradientColors); in setUp()