Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java62 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
79 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in testPreloadDensityInner()
85 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in testPreloadDensityInner()
91 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensityInner()
DAnimatedStateListDrawableTest.java161 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawable()
186 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in runPreloadDensityTestForDrawableInner()
195 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in runPreloadDensityTestForDrawableInner()
204 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawableInner()
DNinePatchDrawableTest.java406 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testSetTargetDensityOuter()
416 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in testSetTargetDensityInner()
447 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in testSetTargetDensityInner()
500 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
522 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in testPreloadDensityInner()
543 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in testPreloadDensityInner()
556 DrawableTestUtils.setResourcesDensity(res, densityDpi); in preloadedDrawable()
569 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testOutlinePreloadDensity()
596 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in testOutlinePreloadDensityInner()
DStateListDrawableTest.java177 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawable()
205 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in runPreloadDensityTestForDrawableInner()
214 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in runPreloadDensityTestForDrawableInner()
223 DrawableTestUtils.setResourcesDensity(res, densityDpi); in runPreloadDensityTestForDrawableInner()
DInsetDrawableTest.java367 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
384 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in testPreloadDensityInner()
391 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in testPreloadDensityInner()
398 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensityInner()
DVectorDrawableTest.java425 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
455 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in testPreloadDensityInner()
461 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in testPreloadDensityInner()
467 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensityInner()
DGradientDrawableTest.java504 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
525 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in testPreloadDensityInner()
534 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in testPreloadDensityInner()
543 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensityInner()
DBitmapDrawableTest.java526 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
536 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in testPreloadDensityInner()
552 DrawableTestUtils.setResourcesDensity(res, scaledDensityDpi); in testPreloadDensityInner()
569 DrawableTestUtils.setResourcesDensity(res, preloadDensityDpi); in testPreloadDensityInner()
DDrawableTestUtils.java108 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity() method in DrawableTestUtils
DLayerDrawableTest.java1697 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity()
1728 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in testPreloadDensityInner()
1753 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in testPreloadDensityInner()
1772 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensityInner()