HomeSort by relevance Sort by last modified time
    Searched refs:calculateContrast (Results 1 - 6 of 6) sorted by null

  /frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
SwatchTests.java 27 import static android.support.v4.graphics.ColorUtils.calculateContrast;
72 assertTrue(calculateContrast(bodyTextColor, swatch.getRgb()) >= MIN_CONTRAST_BODY_TEXT);
75 assertTrue(calculateContrast(titleTextColor, swatch.getRgb()) >= MIN_CONTRAST_TITLE_TEXT);
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouterThemeHelper.java 89 if (ColorUtils.calculateContrast(COLOR_WHITE_ON_DARK_BACKGROUND, primaryColor)
101 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) {
  /frameworks/base/core/java/com/android/internal/util/
NotificationColorUtil.java 245 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) {
261 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) {
296 ColorUtilsFromCompat.calculateContrast(colorOld, bg),
297 ColorUtilsFromCompat.calculateContrast(colorNew, bg));
420 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) {
  /frameworks/support/core-utils/java/android/support/v4/graphics/
ColorUtils.java 90 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) {
126 double testRatio = calculateContrast(testForeground, background);
142 testRatio = calculateContrast(testForeground, background);
  /prebuilts/sdk/current/support/v13/
android-support-v13.jar 
  /prebuilts/sdk/current/support/v4/
android-support-v4.jar 

Completed in 51 milliseconds