Searched refs:mainColor (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/ |
D | ScrimDrawable.java | 58 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/ |
D | Tonal.java | 173 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/ |
D | TonalCompat.java | 37 result.mainColor = darkColors.getMainColor(); in extractDarkColors() 48 public int mainColor; field in TonalCompat.ExtractionInfo
|
/frameworks/base/core/java/com/android/internal/colorextraction/ |
D | ColorExtractor.java | 252 public void setMainColor(int mainColor) { in setMainColor() argument 253 mMainColor = mainColor; in setMainColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 527 int mainColor = mColors.getMainColor(); in updateScrims() local 528 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor, in updateScrims()
|