Home
last modified time | relevance | path

Searched refs:colorPalette (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DAnalogClockController.java168 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument
169 if (colorPalette == null || colorPalette.length == 0) { in setColorPalette()
172 final int length = colorPalette.length; in setColorPalette()
173 mLockClock.setTextColor(colorPalette[Math.max(0, length - 2)]); in setColorPalette()
174 mAnalogClock.setClockColors(colorPalette[Math.max(0, length - 5)], in setColorPalette()
175 colorPalette[Math.max(0, length - 2)]); in setColorPalette()
DBubbleClockController.java168 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) { in setColorPalette() argument
169 if (colorPalette == null || colorPalette.length == 0) { in setColorPalette()
172 final int length = colorPalette.length; in setColorPalette()
173 final int color = colorPalette[Math.max(0, length - 3)]; in setColorPalette()
DDefaultClockController.java162 public void setColorPalette(boolean supportsDarkText, int[] colorPalette) {} in setColorPalette() argument
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java156 int[] colorPalette = getColorPalette(h, s, l); in runTonalExtraction() local
193 outColorsNormal.setColorPalette(colorPalette); in runTonalExtraction()
207 outColorsDark.setColorPalette(colorPalette); in runTonalExtraction()
221 outColorsExtraDark.setColorPalette(colorPalette); in runTonalExtraction()
285 int[] colorPalette = new int[h.length]; in getColorPalette() local
286 for (int i = 0; i < colorPalette.length; i++) { in getColorPalette()
287 colorPalette[i] = getColorInt(i, h, s, l); in getColorPalette()
289 return colorPalette; in getColorPalette()
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java260 public void setColorPalette(int[] colorPalette) { in setColorPalette() argument
261 mColorPalette = colorPalette; in setColorPalette()