Searched refs:getMainColor (Results 1 – 10 of 10) sorted by relevance
52 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()
76 drawable.getMainColor(), colors.getMainColor()); in testCreation_initialColor()
37 result.mainColor = darkColors.getMainColor(); in extractDarkColors()
138 public int getMainColor() { in getMainColor() method in ScrimDrawable
141 int mainTinted = ColorUtils.blendARGB(mColors.getMainColor(), mTintColor, in updateColorWithTint()
131 background.setColor(colors.getMainColor(), false); in showShutdownUi()
1681 ((ScrimDrawable) mBackgroundDrawable).setColor(colors.getMainColor(), animate);
275 public int getMainColor() { in getMainColor() method in ColorExtractor.GradientColors
527 int mainColor = mColors.getMainColor(); in updateScrims()844 int color = mColors.getMainColor(); in getBackgroundColor()
397 mBackgroundScrim.setColor(scrimColors.getMainColor(), animated);399 mMultiWindowBackgroundScrim.setColor(scrimColors.getMainColor());