Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java43 public static final int TYPE_DARK = 1; field in ColorExtractor
45 private static final int[] sGradientTypes = new int[]{TYPE_NORMAL, TYPE_DARK, TYPE_EXTRA_DARK};
95 systemColors[TYPE_DARK], in ColorExtractor()
99 lockColors[TYPE_DARK], in ColorExtractor()
111 return getColors(which, TYPE_DARK); in getColors()
123 if (type != TYPE_NORMAL && type != TYPE_DARK && type != TYPE_EXTRA_DARK) { in getColors()
159 extractInto(colors, lockColors[TYPE_NORMAL], lockColors[TYPE_DARK], in onColorsChanged()
166 extractInto(colors, systemColors[TYPE_NORMAL], systemColors[TYPE_DARK], in onColorsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java189 ColorExtractor.TYPE_DARK, true /* ignoreVisibility */); in ScrimController()
191 ColorExtractor.TYPE_DARK, true /* ignoreVisibility */); in ScrimController()
833 ColorExtractor.TYPE_DARK, true /* ignoreVisibility */); in onColorsChanged()
839 ColorExtractor.TYPE_DARK, mState != ScrimState.UNLOCKED); in onColorsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java46 ColorExtractor.TYPE_DARK,
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java91 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java123 return getColors(which, TYPE_DARK); in getColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java326 mUsingDarkText = mColorExtractor.getColors(ColorExtractor.TYPE_DARK, in onCreate()
375 ColorExtractor.TYPE_DARK, WallpaperManager.FLAG_SYSTEM, true); in onStart()
403 ColorExtractor.TYPE_DARK, true /* ignoreVis */); in onColorsChanged()