Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java78 setResourcesDensity(res, densityDpi); in testPreloadDensity()
88 setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
101 setResourcesDensity(res, scaledDensityDpi); in verifyPreloadDensityInner()
119 setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
142 private static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity() method in BitmapDrawableTest
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java85 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
102 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
108 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
114 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DVectorDrawableTest.java409 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
412 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
420 DrawableTestUtils.setResourcesDensity(mResources, 213); in testPreloadDensity_tvdpi()
423 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity_tvdpi()
446 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
454 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
460 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DInsetDrawableTest.java442 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
445 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
454 DrawableTestUtils.setResourcesDensity(res, 213); in testPreloadDensity_tvdpi()
457 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity_tvdpi()
480 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
489 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
496 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DNinePatchDrawableTest.java451 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifySetTargetDensityOuter()
461 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifySetTargetDensityInner()
492 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifySetTargetDensityInner()
538 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
560 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in verifyPreloadDensityInner()
581 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in verifyPreloadDensityInner()
594 DrawableTestUtils.setResourcesDensity(res, densityDpi); in preloadedDrawable()
608 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testOutlinePreloadDensity()
635 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in verifyOutlinePreloadDensityInner()
DAnimatedStateListDrawableTest.java180 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawable()
209 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in runPreloadDensityTestForDrawableInner()
218 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in runPreloadDensityTestForDrawableInner()
227 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawableInner()
DGradientDrawableTest.java667 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
670 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity()
678 DrawableTestUtils.setResourcesDensity(mResources, 213); in testPreloadDensity_tvdpi()
681 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity_tvdpi()
790 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
801 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
810 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DStateListDrawableTest.java203 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityTestForDrawable()
235 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityTestForDrawableInner()
245 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityTestForDrawableInner()
254 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityTestForDrawableInner()
DLayerDrawableTest.java1689 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
1692 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
1701 DrawableTestUtils.setResourcesDensity(res, 213); in testPreloadDensity_tvdpi()
1704 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity_tvdpi()
1735 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner()
1766 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner()
1785 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
DDrawableTestUtils.java124 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity() method in DrawableTestUtils