Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
DScrimDrawable.java58 public void setColor(int mainColor, boolean animated) { in setColor() argument
59 if (mainColor == mMainColorTo) { in setColor()
67 mMainColorTo = mainColor; in setColor()
76 mMainColor = ColorUtils.blendARGB(mainFrom, mainColor, ratio); in setColor()
91 mMainColor = mainColor; in setColor()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java173 int mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() local
177 ColorUtils.colorToHSL(mainColor, mTmpHSL); in runTonalExtraction()
191 outColorsNormal.setMainColor(mainColor); in runTonalExtraction()
192 outColorsNormal.setSecondaryColor(mainColor); in runTonalExtraction()
204 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction()
205 outColorsDark.setMainColor(mainColor); in runTonalExtraction()
206 outColorsDark.setSecondaryColor(mainColor); in runTonalExtraction()
218 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction()
219 outColorsExtraDark.setMainColor(mainColor); in runTonalExtraction()
220 outColorsExtraDark.setSecondaryColor(mainColor); in runTonalExtraction()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java37 result.mainColor = darkColors.getMainColor(); in extractDarkColors()
48 public int mainColor; field in TonalCompat.ExtractionInfo
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java252 public void setMainColor(int mainColor) { in setMainColor() argument
253 mMainColor = mainColor; in setMainColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java527 int mainColor = mColors.getMainColor(); in updateScrims() local
528 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor, in updateScrims()