Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java52 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallback()
62 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); in extractInto_usesFallbackWhenTooLightOrDark()
68 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallbackWhenTooLightOrDark()
83 assertThat(normal.getMainColor()).isEqualTo(Color.RED); in extractInto_fromBitmap()
98 assertThat(normal.getMainColor()).isEqualTo(Color.RED); in extractInto_supportsDarkText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java76 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/drawable/
DScrimDrawable.java138 public int getMainColor() { in getMainColor() method in ScrimDrawable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java143 int mainTinted = ColorUtils.blendARGB(mColors.getMainColor(), mTintColor, in updateColorWithTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java133 background.setColor(colors.getMainColor(), false); in showShutdownUi()
DGlobalActionsDialog.java1675 ((ScrimDrawable) mBackgroundDrawable).setColor(colors.getMainColor(), animate);
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java272 public int getMainColor() { in getMainColor() method in ColorExtractor.GradientColors
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java569 int mainColor = mColors.getMainColor(); in updateScrims()
886 int color = mColors.getMainColor(); in getBackgroundColor()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java397 mBackgroundScrim.setColor(scrimColors.getMainColor(), animated);
399 mMultiWindowBackgroundScrim.setColor(scrimColors.getMainColor());