Home
last modified time | relevance | path

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

/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java245 int originalAlpha = d2.getAlpha(); in testMutate() local
246 int newAlpha = (originalAlpha + 1) % 255; in testMutate()
253 assertEquals(originalAlpha, d2.getAlpha()); in testMutate()
254 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
259 assertEquals(originalAlpha, d2.getAlpha()); in testMutate()
260 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
265 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemeUtils.java109 final int originalAlpha = Color.alpha(color); in getThemeAttrColor() local
110 return ColorUtils.setAlphaComponent(color, Math.round(originalAlpha * alpha)); in getThemeAttrColor()
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
DVectorDrawableTest.java313 int originalAlpha = d2.getAlpha(); in testMutate() local
331 d2.setAlpha(originalAlpha); in testMutate()