Searched refs:findFg (Results 1 – 1 of 1) sorted by relevance
300 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { in findContrastColor() argument301 int fg = findFg ? color : other; in findContrastColor()302 int bg = findFg ? other : color; in findContrastColor()308 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab); in findContrastColor()314 if (findFg) { in findContrastColor()370 public static int findContrastColorAgainstDark(int color, int other, boolean findFg, in findContrastColorAgainstDark() argument372 int fg = findFg ? color : other; in findContrastColorAgainstDark()373 int bg = findFg ? other : color; in findContrastColorAgainstDark()379 ColorUtilsFromCompat.colorToHSL(findFg ? fg : bg, hsl); in findContrastColorAgainstDark()385 if (findFg) { in findContrastColorAgainstDark()[all …]