Home
last modified time | relevance | path

Searched refs:origDrawable (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java255 final StateListDrawable origDrawable = in verifyPreloadDensityTestForDrawableInner() local
257 origDrawable.selectDrawable(0); in verifyPreloadDensityTestForDrawableInner()
258 assertEquals(origWidth0, origDrawable.getIntrinsicWidth()); in verifyPreloadDensityTestForDrawableInner()
259 origDrawable.selectDrawable(1); in verifyPreloadDensityTestForDrawableInner()
260 assertEquals(origWidth1, origDrawable.getIntrinsicWidth()); in verifyPreloadDensityTestForDrawableInner()
DRippleDrawableTest.java115 final RippleDrawable origDrawable = in verifyPreloadDensityInner() local
117 assertEquals(initialRadius, origDrawable.getRadius()); in verifyPreloadDensityInner()
DAnimatedStateListDrawableTest.java228 final StateListDrawable origDrawable = in runPreloadDensityTestForDrawableInner() local
231 origDrawable.selectDrawable(i); in runPreloadDensityTestForDrawableInner()
232 assertEquals(origWidth[i], origDrawable.getIntrinsicWidth()); in runPreloadDensityTestForDrawableInner()
DLayerDrawableTest.java1786 final LayerDrawable origDrawable = in verifyPreloadDensityInner() local
1788 assertEquals(initialLeftPadding, origDrawable.getLeftPadding()); in verifyPreloadDensityInner()
1789 assertEquals(initialRightPadding, origDrawable.getRightPadding()); in verifyPreloadDensityInner()
1790 assertEquals(initialContentInsetL, origDrawable.getLayerInsetRight(0)); in verifyPreloadDensityInner()
1791 assertEquals(initialContentInsetR, origDrawable.getLayerInsetLeft(0)); in verifyPreloadDensityInner()
1792 assertEquals(initialContentWidth, origDrawable.getLayerWidth(0)); in verifyPreloadDensityInner()
1793 assertEquals(initialIntrinsicWidth, origDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
1794 assertEquals(initialBottomPadding, origDrawable.getBottomPadding()); in verifyPreloadDensityInner()
1795 assertEquals(initialTopPadding, origDrawable.getTopPadding()); in verifyPreloadDensityInner()
1796 assertEquals(initialLayerInsetLeft, origDrawable.getLayerInsetLeft(0)); in verifyPreloadDensityInner()
[all …]
DInsetDrawableTest.java497 final InsetDrawable origDrawable = in verifyPreloadDensityInner() local
499 assertEquals(origInsetHoriz, origDrawable.getIntrinsicWidth() in verifyPreloadDensityInner()
500 - origDrawable.getDrawable().getIntrinsicWidth()); in verifyPreloadDensityInner()
DGradientDrawableTest.java811 final GradientDrawable origDrawable = in verifyPreloadDensityInner() local
813 assertEquals(origWidth, origDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
814 assertEquals(origHeight, origDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
815 assertTrue(origDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
DVectorDrawableTest.java461 final VectorDrawable origDrawable = in verifyPreloadDensityInner() local
463 assertEquals(origWidth, origDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()