Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DIconPalette.java134 double fgL = lab[0]; in findContrastColor() local
137 double low = isBgDark ? fgL : 0, high = isBgDark ? 100 : fgL; in findContrastColor()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DUtilities.java80 float fgL = 0.2126f * fgR + 0.7152f * fgG + 0.0722f * fgB; in computeContrastBetweenColors() local
82 return Math.abs((fgL + 0.05f) / (bgL + 0.05f)); in computeContrastBetweenColors()