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.java108 final RippleDrawable doubleDrawable = in verifyPreloadDensityInner() local
110 assertEquals(initialRadius * 2, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
122 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
123 assertEquals(initialRadius, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
DLayerDrawableTest.java1756 final LayerDrawable doubleDrawable = in verifyPreloadDensityInner() local
1758 assertEquals(initialLeftPadding * 2, doubleDrawable.getLeftPadding()); in verifyPreloadDensityInner()
1759 assertEquals(initialRightPadding * 2, doubleDrawable.getRightPadding()); in verifyPreloadDensityInner()
1760 assertEquals(initialContentInsetL * 2, doubleDrawable.getLayerInsetRight(0)); in verifyPreloadDensityInner()
1761 assertEquals(initialContentInsetR * 2, doubleDrawable.getLayerInsetLeft(0)); in verifyPreloadDensityInner()
1762 assertEquals(initialContentWidth * 2, doubleDrawable.getLayerWidth(0)); in verifyPreloadDensityInner()
1763 assertEquals(initialIntrinsicWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
1764 assertEquals(initialBottomPadding * 2, doubleDrawable.getBottomPadding()); in verifyPreloadDensityInner()
1765 assertEquals(initialTopPadding * 2, doubleDrawable.getTopPadding()); in verifyPreloadDensityInner()
1766 assertEquals(initialLayerInsetLeft * 2, doubleDrawable.getLayerInsetLeft(0)); in verifyPreloadDensityInner()
[all …]
DGradientDrawableTest.java580 final GradientDrawable doubleDrawable = in verifyPreloadDensityInner() local
582 assertEquals(origWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
583 assertEquals(origHeight * 2, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
584 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
613 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
614 assertEquals(origWidth, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
615 assertEquals(origHeight, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
616 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
DStateListDrawableTest.java241 final StateListDrawable doubleDrawable = in verifyPreloadDensityTestForDrawableInner() local
243 doubleDrawable.selectDrawable(0); in verifyPreloadDensityTestForDrawableInner()
244 assertEquals(origWidth0 * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityTestForDrawableInner()
245 doubleDrawable.selectDrawable(1); in verifyPreloadDensityTestForDrawableInner()
246 assertEquals(origWidth1 * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityTestForDrawableInner()
DInsetDrawableTest.java485 final InsetDrawable doubleDrawable = in verifyPreloadDensityInner() local
487 assertEquals(origInsetHoriz * 2, doubleDrawable.getIntrinsicWidth() in verifyPreloadDensityInner()
488 - doubleDrawable.getDrawable().getIntrinsicWidth()); in verifyPreloadDensityInner()
504 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
505 assertEquals(origInsetHoriz, doubleDrawable.getIntrinsicWidth() in verifyPreloadDensityInner()
506 - doubleDrawable.getDrawable().getIntrinsicWidth()); in verifyPreloadDensityInner()
DAnimatedStateListDrawableTest.java216 final StateListDrawable doubleDrawable = in runPreloadDensityTestForDrawableInner() local
219 doubleDrawable.selectDrawable(i); in runPreloadDensityTestForDrawableInner()
220 assertEquals(origWidth[i] * 2, doubleDrawable.getIntrinsicWidth()); in runPreloadDensityTestForDrawableInner()
DVectorDrawableTest.java449 final VectorDrawable doubleDrawable = in verifyPreloadDensityInner() local
451 assertEquals(origWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
463 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
464 assertEquals(origWidth, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()