Home
last modified time | relevance | path

Searched refs:setResourcesDensity (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java90 setResourcesDensity(res, densityDpi); in testPreloadDensity()
100 setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
113 setResourcesDensity(res, scaledDensityDpi); in verifyPreloadDensityInner()
131 setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
154 private static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity() method in BitmapDrawableTest
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java84 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
101 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
107 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
113 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DVectorDrawableTest.java410 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
413 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
421 DrawableTestUtils.setResourcesDensity(mResources, 213); in testPreloadDensity_tvdpi()
424 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity_tvdpi()
440 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
448 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
454 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DInsetDrawableTest.java443 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
446 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
455 DrawableTestUtils.setResourcesDensity(res, 213); in testPreloadDensity_tvdpi()
458 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity_tvdpi()
475 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
484 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
491 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DAnimatedStateListDrawableTest.java179 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawable()
208 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in runPreloadDensityTestForDrawableInner()
217 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in runPreloadDensityTestForDrawableInner()
226 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawableInner()
DGradientDrawableTest.java542 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
545 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
553 DrawableTestUtils.setResourcesDensity(mResources, 213); in testPreloadDensity_tvdpi()
556 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity_tvdpi()
577 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
588 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
597 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DNinePatchDrawableTest.java439 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifySetTargetDensityOuter()
449 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifySetTargetDensityInner()
480 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifySetTargetDensityInner()
526 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
548 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in verifyPreloadDensityInner()
569 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
582 DrawableTestUtils.setResourcesDensity(res, densityDpi); in preloadedDrawable()
596 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testOutlinePreloadDensity()
623 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in verifyOutlinePreloadDensityInner()
DStateListDrawableTest.java201 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityTestForDrawable()
233 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityTestForDrawableInner()
243 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityTestForDrawableInner()
252 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityTestForDrawableInner()
DLayerDrawableTest.java1678 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
1681 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
1690 DrawableTestUtils.setResourcesDensity(res, 213); in testPreloadDensity_tvdpi()
1693 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity_tvdpi()
1724 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
1755 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
1774 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()