Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleBackground.java183 final int paintAlpha = p.getAlpha(); in drawSoftware() local
184 final int alpha = (int) (paintAlpha * mOuterOpacity + 0.5f); in drawSoftware()
189 p.setAlpha(paintAlpha); in drawSoftware()
DRipple.java245 final int paintAlpha = p.getAlpha(); in drawSoftware() local
246 final int alpha = (int) (paintAlpha * mOpacity + 0.5f); in drawSoftware()
255 p.setAlpha(paintAlpha); in drawSoftware()
DShapeDrawable.java209 private static int modulateAlpha(int paintAlpha, int alpha) { in modulateAlpha() argument
211 return paintAlpha * scale >>> 8; in modulateAlpha()