Home
last modified time | relevance | path

Searched refs:origHeight (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java105 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local
121 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
136 assertEquals(origHeight, scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DGradientDrawableTest.java571 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local
583 assertEquals(Math.round(origHeight * approxHalf), halfDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
592 assertEquals(origHeight * 2, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
601 assertEquals(origHeight, origDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
618 assertEquals(Math.round(approxDouble * Math.round(origHeight * approxHalf)), in verifyPreloadDensityInner()
624 assertEquals(origHeight, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
DNinePatchDrawableTest.java454 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifySetTargetDensityInner() local
468 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in verifySetTargetDensityInner()
485 assertEquals(origHeight, scaledDrawable.getIntrinsicHeight()); in verifySetTargetDensityInner()
539 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local
554 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
574 assertEquals(origHeight, scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()