Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java109 final RippleDrawable doubleDrawable = in verifyPreloadDensityInner() local
111 assertEquals(initialRadius * 2, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
123 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
124 assertEquals(initialRadius, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
DLayerDrawableTest.java1767 final LayerDrawable doubleDrawable = in verifyPreloadDensityInner() local
1769 assertEquals(initialLeftPadding * 2, doubleDrawable.getLeftPadding()); in verifyPreloadDensityInner()
1770 assertEquals(initialRightPadding * 2, doubleDrawable.getRightPadding()); in verifyPreloadDensityInner()
1771 assertEquals(initialContentInsetL * 2, doubleDrawable.getLayerInsetRight(0)); in verifyPreloadDensityInner()
1772 assertEquals(initialContentInsetR * 2, doubleDrawable.getLayerInsetLeft(0)); in verifyPreloadDensityInner()
1773 assertEquals(initialContentWidth * 2, doubleDrawable.getLayerWidth(0)); in verifyPreloadDensityInner()
1774 assertEquals(initialIntrinsicWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
1775 assertEquals(initialBottomPadding * 2, doubleDrawable.getBottomPadding()); in verifyPreloadDensityInner()
1776 assertEquals(initialTopPadding * 2, doubleDrawable.getTopPadding()); in verifyPreloadDensityInner()
1777 assertEquals(initialLayerInsetLeft * 2, doubleDrawable.getLayerInsetLeft(0)); in verifyPreloadDensityInner()
[all …]
DInsetDrawableTest.java490 final InsetDrawable doubleDrawable = in verifyPreloadDensityInner() local
492 assertEquals(origInsetHoriz * 2, doubleDrawable.getIntrinsicWidth() in verifyPreloadDensityInner()
493 - doubleDrawable.getDrawable().getIntrinsicWidth()); in verifyPreloadDensityInner()
509 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
510 assertEquals(origInsetHoriz, doubleDrawable.getIntrinsicWidth() in verifyPreloadDensityInner()
511 - doubleDrawable.getDrawable().getIntrinsicWidth()); in verifyPreloadDensityInner()
DGradientDrawableTest.java802 final GradientDrawable doubleDrawable = in verifyPreloadDensityInner() local
804 assertEquals(origWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
805 assertEquals(origHeight * 2, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
806 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
835 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
836 assertEquals(origWidth, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
837 assertEquals(origHeight, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
838 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
DStateListDrawableTest.java246 final StateListDrawable doubleDrawable = in verifyPreloadDensityTestForDrawableInner() local
248 doubleDrawable.selectDrawable(0); in verifyPreloadDensityTestForDrawableInner()
249 assertEquals(origWidth0 * 2, doubleDrawable.getIntrinsicWidth(), 1); in verifyPreloadDensityTestForDrawableInner()
250 doubleDrawable.selectDrawable(1); in verifyPreloadDensityTestForDrawableInner()
251 assertEquals(origWidth1 * 2, doubleDrawable.getIntrinsicWidth(), 1); in verifyPreloadDensityTestForDrawableInner()
DAnimatedStateListDrawableTest.java219 final StateListDrawable doubleDrawable = in runPreloadDensityTestForDrawableInner() local
222 doubleDrawable.selectDrawable(i); in runPreloadDensityTestForDrawableInner()
223 assertEquals(origWidth[i] * 2, doubleDrawable.getIntrinsicWidth(), 1); in runPreloadDensityTestForDrawableInner()
DVectorDrawableTest.java455 final VectorDrawable doubleDrawable = in verifyPreloadDensityInner() local
457 assertEquals(origWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
469 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
470 assertEquals(origWidth, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()