Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/views/
DDoubleShadowBubbleTextView.java109 int textAlpha = Color.alpha(textView.getCurrentTextColor()); in skipDoubleShadow() local
112 if (textAlpha == 0 || (keyShadowAlpha == 0 && ambientShadowAlpha == 0)) { in skipDoubleShadow()
117 getTextShadowColor(ambientShadowColor, textAlpha)); in skipDoubleShadow()
124 getTextShadowColor(keyShadowColor, textAlpha)); in skipDoubleShadow()
133 private static int getTextShadowColor(int shadowColor, int textAlpha) { in getTextShadowColor() argument
135 Math.round(Color.alpha(shadowColor) * textAlpha / 255f)); in getTextShadowColor()
DArrowTipView.java444 private void setTextAlpha(int textAlpha) { in setTextAlpha() argument
445 if (mTextAlpha != textAlpha) { in setTextAlpha()
446 mTextAlpha = textAlpha; in setTextAlpha()