Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java93 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local
109 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
124 assertEquals(origHeight, scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java466 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifySetTargetDensityInner() local
480 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in verifySetTargetDensityInner()
497 assertEquals(origHeight, scaledDrawable.getIntrinsicHeight()); in verifySetTargetDensityInner()
551 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local
566 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
586 assertEquals(origHeight, scaledDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
DGradientDrawableTest.java828 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local
840 assertEquals(Math.round(origHeight * approxHalf), halfDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
849 assertEquals(origHeight * 2, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
858 assertEquals(origHeight, origDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
875 assertEquals(Math.round(approxDouble * Math.round(origHeight * approxHalf)), in verifyPreloadDensityInner()
881 assertEquals(origHeight, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp772 const int32_t origHeight = AImageDecoderHeaderInfo_getHeight(info); in testComputeSampledSize() local
792 { decoder, origHeight, &width, &height }, in testComputeSampledSize()
793 { decoder, origHeight + 5, &width, &height }, in testComputeSampledSize()
794 { decoder, origHeight * 2, &width, &height }, in testComputeSampledSize()
800 p.sampleSize, origWidth, origHeight); in testComputeSampledSize()
821 origWidth, origHeight, sampleSize, width, height, jInfo.width, jInfo.height); in testComputeSampledSize()
829 ASSERT_LT(height, origHeight); in testComputeSampledSize()
832 ASSERT_LT(height, origHeight / sampleSize + sampleSize); in testComputeSampledSize()