Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java299 private static float luma(int bgcolor) { in luma() argument
300 return 0.2126f * (float) (bgcolor & 0xFF0000) / 0xFF0000 in luma()
301 + 0.7152f * (float) (bgcolor & 0xFF00) / 0xFF00 in luma()
302 + 0.0722f * (float) (bgcolor & 0xFF) / 0xFF; in luma()