/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 78 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/ |
D | RippleDrawableTest.java | 85 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()
|
D | VectorDrawableTest.java | 409 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()
|
D | InsetDrawableTest.java | 442 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()
|
D | NinePatchDrawableTest.java | 451 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()
|
D | AnimatedStateListDrawableTest.java | 180 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()
|
D | GradientDrawableTest.java | 667 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()
|
D | StateListDrawableTest.java | 203 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()
|
D | LayerDrawableTest.java | 1689 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()
|
D | DrawableTestUtils.java | 124 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity() method in DrawableTestUtils
|