Searched refs:findFg (Results 1 – 1 of 1) sorted by relevance
388 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { in findContrastColor() argument389 int fg = findFg ? color : other; in findContrastColor()390 int bg = findFg ? other : color; in findContrastColor()396 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab); in findContrastColor()402 if (findFg) { in findContrastColor()458 public static int findContrastColorAgainstDark(int color, int other, boolean findFg, in findContrastColorAgainstDark() argument460 int fg = findFg ? color : other; in findContrastColorAgainstDark()461 int bg = findFg ? other : color; in findContrastColorAgainstDark()467 ColorUtilsFromCompat.colorToHSL(findFg ? fg : bg, hsl); in findContrastColorAgainstDark()473 if (findFg) { in findContrastColorAgainstDark()