Home
last modified time | relevance | path

Searched defs:minRatio (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DIconPalette.java125 private static int findContrastColor(int fg, int bg, double minRatio) { in findContrastColor()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java300 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { in findContrastColor()
336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast()
371 double minRatio) { in findContrastColorAgainstDark()
435 public static int ensureContrast(int color, int bg, boolean isBgDarker, double minRatio) { in ensureContrast()