Home
last modified time | relevance | path

Searched refs:scaledDensityDpi (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java111 final int scaledDensityDpi = densities[i]; in verifyPreloadDensityInner() local
112 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifyPreloadDensityInner()
113 setResourcesDensity(res, scaledDensityDpi); in verifyPreloadDensityInner()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java459 final int scaledDensityDpi = densities[i]; in verifySetTargetDensityInner() local
460 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifySetTargetDensityInner()
464 densitySetter.setTargetDensity(scaledDrawable, scaledDensityDpi); in verifySetTargetDensityInner()
546 final int scaledDensityDpi = densities[i]; in verifyPreloadDensityInner() local
547 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifyPreloadDensityInner()
548 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in verifyPreloadDensityInner()
564 compareOrSave(scaledDrawable, scaledDensityDpi, sourceResId, goldenResIds[i]); in verifyPreloadDensityInner()
621 final int scaledDensityDpi = DENSITY_VALUES[i]; in verifyOutlinePreloadDensityInner() local
622 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifyOutlinePreloadDensityInner()
623 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in verifyOutlinePreloadDensityInner()