Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java125 private static int findContrastColor(int fg, int bg, double minRatio) { in findContrastColor() argument
126 if (ColorUtils.calculateContrast(fg, bg) >= minRatio) { in findContrastColor()
142 if (ColorUtils.calculateContrast(fg, bg) > minRatio) { in findContrastColor()