Searched refs:origDrawable (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | StateListDrawableTest.java | 224 final StateListDrawable origDrawable = in runPreloadDensityTestForDrawableInner() local 226 origDrawable.selectDrawable(0); in runPreloadDensityTestForDrawableInner() 227 assertEquals(origWidth0, origDrawable.getIntrinsicWidth()); in runPreloadDensityTestForDrawableInner() 228 origDrawable.selectDrawable(1); in runPreloadDensityTestForDrawableInner() 229 assertEquals(origWidth1, origDrawable.getIntrinsicWidth()); in runPreloadDensityTestForDrawableInner()
|
D | RippleDrawableTest.java | 92 final RippleDrawable origDrawable = in testPreloadDensityInner() local 94 assertEquals(initialRadius, origDrawable.getRadius()); in testPreloadDensityInner()
|
D | AnimatedStateListDrawableTest.java | 205 final StateListDrawable origDrawable = in runPreloadDensityTestForDrawableInner() local 208 origDrawable.selectDrawable(i); in runPreloadDensityTestForDrawableInner() 209 assertEquals(origWidth[i], origDrawable.getIntrinsicWidth()); in runPreloadDensityTestForDrawableInner()
|
D | LayerDrawableTest.java | 1773 final LayerDrawable origDrawable = in testPreloadDensityInner() local 1775 assertEquals(initialLeftPadding, origDrawable.getLeftPadding()); in testPreloadDensityInner() 1776 assertEquals(initialRightPadding, origDrawable.getRightPadding()); in testPreloadDensityInner() 1777 assertEquals(initialContentInsetL, origDrawable.getLayerInsetRight(0)); in testPreloadDensityInner() 1778 assertEquals(initialContentInsetR, origDrawable.getLayerInsetLeft(0)); in testPreloadDensityInner() 1779 assertEquals(initialContentWidth, origDrawable.getLayerWidth(0)); in testPreloadDensityInner() 1780 assertEquals(initialIntrinsicWidth, origDrawable.getIntrinsicWidth()); in testPreloadDensityInner() 1781 assertEquals(initialBottomPadding, origDrawable.getBottomPadding()); in testPreloadDensityInner() 1782 assertEquals(initialTopPadding, origDrawable.getTopPadding()); in testPreloadDensityInner() 1783 assertEquals(initialLayerInsetLeft, origDrawable.getLayerInsetLeft(0)); in testPreloadDensityInner() [all …]
|
D | GradientDrawableTest.java | 544 final GradientDrawable origDrawable = in testPreloadDensityInner() local 546 assertEquals(origWidth, origDrawable.getIntrinsicWidth()); in testPreloadDensityInner() 547 assertEquals(origHeight, origDrawable.getIntrinsicHeight()); in testPreloadDensityInner() 548 assertTrue(origDrawable.getPadding(tempPadding)); in testPreloadDensityInner()
|
D | InsetDrawableTest.java | 399 final InsetDrawable origDrawable = in testPreloadDensityInner() local 401 assertEquals(origInsetHoriz, origDrawable.getIntrinsicWidth() in testPreloadDensityInner() 402 - origDrawable.getDrawable().getIntrinsicWidth()); in testPreloadDensityInner()
|
D | VectorDrawableTest.java | 468 final VectorDrawable origDrawable = in testPreloadDensityInner() local 470 assertEquals(origWidth, origDrawable.getIntrinsicWidth()); in testPreloadDensityInner()
|