/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 | 86 DrawableTestUtils.setResourcesDensity(res, densityDpi); in testPreloadDensity() 119 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner() 125 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner() 131 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
|
D | VectorDrawableTest.java | 412 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity() 415 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity() 423 DrawableTestUtils.setResourcesDensity(mResources, 213); in testPreloadDensity_tvdpi() 426 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity_tvdpi() 449 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner() 457 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner() 463 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 | 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 | 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 | 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 | GradientDrawableTest.java | 670 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity() 673 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity() 681 DrawableTestUtils.setResourcesDensity(mResources, 213); in testPreloadDensity_tvdpi() 684 DrawableTestUtils.setResourcesDensity(mResources, densityDpi); in testPreloadDensity_tvdpi() 834 DrawableTestUtils.setResourcesDensity(res, densityDpi / 2); in verifyPreloadDensityInner() 845 DrawableTestUtils.setResourcesDensity(res, densityDpi * 2); in verifyPreloadDensityInner() 854 DrawableTestUtils.setResourcesDensity(res, densityDpi); in verifyPreloadDensityInner()
|
D | DrawableTestUtils.java | 124 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity() method in DrawableTestUtils
|
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()
|