Searched refs:origHeight (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 93 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/ |
D | NinePatchDrawableTest.java | 466 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()
|
D | GradientDrawableTest.java | 884 final int origHeight = preloadedDrawable.getIntrinsicHeight(); in verifyPreloadDensityInner() local 896 assertEquals(Math.round(origHeight * approxHalf), halfDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner() 905 assertEquals(origHeight * 2, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner() 914 assertEquals(origHeight, origDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner() 931 assertEquals(Math.round(approxDouble * Math.round(origHeight * approxHalf)), in verifyPreloadDensityInner() 937 assertEquals(origHeight, doubleDrawable.getIntrinsicHeight()); in verifyPreloadDensityInner()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_AImageDecoderTest.cpp | 774 const int32_t origHeight = AImageDecoderHeaderInfo_getHeight(info); in testComputeSampledSize() local 794 { decoder, origHeight, &width, &height }, in testComputeSampledSize() 795 { decoder, origHeight + 5, &width, &height }, in testComputeSampledSize() 796 { decoder, origHeight * 2, &width, &height }, in testComputeSampledSize() 802 p.sampleSize, origWidth, origHeight); in testComputeSampledSize() 823 origWidth, origHeight, sampleSize, width, height, jInfo.width, jInfo.height); in testComputeSampledSize() 831 ASSERT_LT(height, origHeight); in testComputeSampledSize() 834 ASSERT_LT(height, origHeight / sampleSize + sampleSize); in testComputeSampledSize()
|