Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableTest.java178 int originalAlpha = d2.getAlpha(); in testMutate() local
179 int newAlpha = (originalAlpha + 1) % 255; in testMutate()
186 assertEquals(originalAlpha, d2.getAlpha()); in testMutate()
187 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
192 assertEquals(originalAlpha, d2.getAlpha()); in testMutate()
193 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
198 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
DAnimatedImageDrawableTest.java118 final int originalAlpha = aid1.getAlpha(); in testMutate() local
119 assertEquals(255, originalAlpha); in testMutate()
125 assertEquals(originalAlpha, aid2.getAlpha()); in testMutate()
127 res.getDrawable(R.drawable.animated).setAlpha(originalAlpha); in testMutate()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java2951 String originalAlpha = mTelephonyManager.getLine1AlphaTag(); in testSetLine1NumberUpdatesSubscriptionInfo()
2960 if (Objects.equals(originalAlpha, mTelephonyManager.getLine1AlphaTag())) { in testSetLine1NumberUpdatesSubscriptionInfo()
2962 originalAlpha = null; in testSetLine1NumberUpdatesSubscriptionInfo()
2965 mTelephonyManager.setLine1NumberForDisplay(originalAlpha, randomLine1Number); in testSetLine1NumberUpdatesSubscriptionInfo()
2970 mTelephonyManager.setLine1NumberForDisplay(originalAlpha, originalLine1Number); in testSetLine1NumberUpdatesSubscriptionInfo()