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

  /frameworks/base/core/java/com/android/internal/graphics/
ColorUtils.java 91 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) {
127 // raising an exception in calculateContrast.
129 return calculateContrast(fg, testBackground);
152 return calculateContrast(testForeground, bg);
156 double testRatio = contrastCalculator.calculateContrast(foreground, background, 255);
186 final double testRatio = calculator.calculateContrast(foreground, background,
662 double calculateContrast(int foreground, int background, int alpha);
  /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);
  /frameworks/base/core/java/com/android/internal/util/
NotificationColorUtil.java 303 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) {
319 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) {
339 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) {
351 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) {
374 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) {
390 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) {
437 ColorUtilsFromCompat.calculateContrast(colorOld, bg),
438 ColorUtilsFromCompat.calculateContrast(colorNew, bg));
595 public static double calculateContrast(int foregroundColor, int backgroundColor) {
596 return ColorUtilsFromCompat.calculateContrast(foregroundColor, backgroundColor)
    [all...]
  /prebuilts/sdk/current/support/core-utils/
android-support-core-utils.jar 

Completed in 119 milliseconds