Searched refs:getMainColor (Results 1 – 9 of 9) 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()
233 public int getMainColor() { in getMainColor() method in ScrimDrawable
214 int mainTinted = ColorUtils.blendARGB(mColors.getMainColor(), mTintColor, in updateColorWithTint()
272 public int getMainColor() { in getMainColor() method in ColorExtractor.GradientColors
1192 ColorUtils.calculateContrast(mColors.getMainColor(), Color.WHITE) > 4.5); in updateThemeColors()
21484 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getMainColor()I
21531 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getMainColor()I