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/
DMessagingLayout.java67 private static final float COLOR_SHIFT_AMOUNT = 60; field in MessagingLayout
367 shift += Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - luminance, 0); in findColor()
368 shift -= Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - (1.0f - luminance), 0); in findColor()
370 (int) (shift * COLOR_SHIFT_AMOUNT)); in findColor()
DConversationLayout.java87 private static final float COLOR_SHIFT_AMOUNT = 60; field in ConversationLayout
937 shift += Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - luminance, 0); in findColor()
938 shift -= Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - (1.0f - luminance), 0); in findColor()
940 (int) (shift * COLOR_SHIFT_AMOUNT)); in findColor()