Searched refs:COLOR_SHIFT_AMOUNT (Results 1 – 2 of 2) sorted by relevance
67 private static final float COLOR_SHIFT_AMOUNT = 60; field in MessagingLayout367 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()
87 private static final float COLOR_SHIFT_AMOUNT = 60; field in ConversationLayout937 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()