Home
last modified time | relevance | path

Searched refs:getMainColor (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java50 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallback()
60 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); in extractInto_usesFallbackWhenTooLightOrDark()
66 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallbackWhenTooLightOrDark()
132 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); in tonal_blacklistTest()
150 + "default constructor.", normal.getMainColor() == blacklistedColor); in tonal_ignoreBlacklistTest()
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
DGradientDrawable.java73 setColors(colors.getMainColor(), colors.getSecondaryColor(), true); in setColors()
77 setColors(colors.getMainColor(), colors.getSecondaryColor(), animated); in setColors()
206 public int getMainColor() { in getMainColor() method in GradientDrawable
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java82 drawable.getMainColor(), colors.getMainColor()); in testCreation_initialColor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java37 result.mainColor = darkColors.getMainColor(); in extractDarkColors()
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java245 public int getMainColor() { in getMainColor() method in ColorExtractor.GradientColors
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java503 int mainColor = currentScrimColors.getMainColor(); in updateScrims()
816 int color = mLockColors.getMainColor(); in getBackgroundColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java269 int mainTinted = ColorUtils.blendARGB(mColors.getMainColor(), mTintColor, in updateColorWithTint()
/frameworks/base/config/
Dboot-image-profile.txt38398 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getMainColor()I