/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 90 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/ |
D | RippleDrawableTest.java | 84 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()
|
D | VectorDrawableTest.java | 410 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()
|
D | InsetDrawableTest.java | 443 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()
|
D | AnimatedStateListDrawableTest.java | 179 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()
|
D | GradientDrawableTest.java | 542 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()
|
D | NinePatchDrawableTest.java | 439 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()
|
D | StateListDrawableTest.java | 201 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()
|
D | LayerDrawableTest.java | 1678 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()
|