Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java51 private static final float COLOR_SHIFT_AMOUNT = 60; field in PeopleHelper
139 shift += Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - luminance, 0); in findColor()
140 shift -= Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - (1.0f - luminance), 0); in findColor()
142 (int) (shift * COLOR_SHIFT_AMOUNT)); in findColor()
DMessagingLayout.java63 private static final float COLOR_SHIFT_AMOUNT = 60; field in MessagingLayout
406 shift += Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - luminance, 0); in findColor()
407 shift -= Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - (1.0f - luminance), 0); in findColor()
409 (int) (shift * COLOR_SHIFT_AMOUNT)); in findColor()