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.java589 final GradientDrawable doubleDrawable = in verifyPreloadDensityInner() local
591 assertEquals(origWidth * 2, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
592 assertEquals(origHeight * 2, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
593 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
622 doubleDrawable.applyTheme(t); in verifyPreloadDensityInner()
623 assertEquals(origWidth, doubleDrawable.getIntrinsicWidth()); in verifyPreloadDensityInner()
624 assertEquals(origHeight, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
625 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
DStateListDrawableTest.java244 final StateListDrawable doubleDrawable = in verifyPreloadDensityTestForDrawableInner() local
246 doubleDrawable.selectDrawable(0); in verifyPreloadDensityTestForDrawableInner()
247 assertEquals(origWidth0 * 2, doubleDrawable.getIntrinsicWidth(), 1); in verifyPreloadDensityTestForDrawableInner()
248 doubleDrawable.selectDrawable(1); in verifyPreloadDensityTestForDrawableInner()
249 assertEquals(origWidth1 * 2, doubleDrawable.getIntrinsicWidth(), 1); 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.java218 final StateListDrawable doubleDrawable = in runPreloadDensityTestForDrawableInner() local
221 doubleDrawable.selectDrawable(i); in runPreloadDensityTestForDrawableInner()
222 assertEquals(origWidth[i] * 2, doubleDrawable.getIntrinsicWidth(), 1); 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()