Searched refs:preloadDensityDpi (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 99 final int preloadDensityDpi = densities[0]; in verifyPreloadDensityInner() local 100 setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner() 112 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifyPreloadDensityInner() 131 setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 448 final int preloadDensityDpi = densities[0]; in verifySetTargetDensityInner() local 449 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifySetTargetDensityInner() 460 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifySetTargetDensityInner() 480 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifySetTargetDensityInner() 533 final int preloadDensityDpi = densities[0]; in verifyPreloadDensityInner() local 543 compareOrSave(preloadedDrawable, preloadDensityDpi, sourceResId, goldenResIds[0]); in verifyPreloadDensityInner() 547 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in verifyPreloadDensityInner() 569 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner() 603 final int preloadDensityDpi = DENSITY_VALUES[0]; in verifyOutlinePreloadDensityInner() local 604 final NinePatchDrawable preloadedDrawable = preloadedDrawable(res, preloadDensityDpi, in verifyOutlinePreloadDensityInner() [all …]
|