/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | RippleDrawableTest.java | 80 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local 88 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
|
D | VectorDrawableSizeTest.java | 68 final int densityDpi = mResources.getConfiguration().densityDpi; in testVectorDrawableSize() local
|
D | BitmapDrawableTest.java | 553 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local 613 private void compareOrSave(Drawable dr, int densityDpi, int sourceResId) { in compareOrSave() 634 private int getGoldenImageResId(int sourceResId, int densityDpi) { in getGoldenImageResId() 639 private String getGoldenImageName(int sourceResId, int densityDpi) { in getGoldenImageName() 643 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
|
D | VectorDrawableTest.java | 408 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity() local 419 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local 428 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
|
D | NinePatchDrawableTest.java | 433 final int densityDpi = res.getConfiguration().densityDpi; in verifySetTargetDensityOuter() local 521 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local 580 … private static NinePatchDrawable preloadedDrawable(Resources res, int densityDpi, int sourceResId) in preloadedDrawable() 592 final int densityDpi = res.getConfiguration().densityDpi; in testOutlinePreloadDensity() local 665 private void compareOrSave(Drawable dr, int densityDpi, int sourceResId, int goldenResId) { in compareOrSave() 684 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
|
D | StateListDrawableTest.java | 197 final int densityDpi = res.getConfiguration().densityDpi; in verifyPreloadDensityTestForDrawable() local 205 private void verifyPreloadDensityTestForDrawableInner(Resources res, int densityDpi, in verifyPreloadDensityTestForDrawableInner()
|
D | InsetDrawableTest.java | 441 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local 453 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local 462 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
|
D | GradientDrawableTest.java | 531 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity() local 542 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local 551 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
|
D | AnimatedStateListDrawableTest.java | 175 final int densityDpi = res.getConfiguration().densityDpi; in runPreloadDensityTestForDrawable() local 183 private void runPreloadDensityTestForDrawableInner(Resources res, int densityDpi, in runPreloadDensityTestForDrawableInner()
|
D | DrawableTestUtils.java | 123 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity()
|
D | LayerDrawableTest.java | 1676 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local 1688 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local 1697 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
D | ActivityManagerConfigChangeTests.java | 117 final int densityDpi = getGlobalDensityDpi(); in testChangeFontScale() local 188 private static int scaledPixelsToPixels(float sp, float fontScale, int densityDpi) { in scaledPixelsToPixels()
|
D | ActivityManagerDisplayTestBase.java | 232 private List<ActivityManagerDisplayTests.DisplayState> createVirtualDisplays(int densityDpi, in createVirtualDisplays() 289 public VirtualDisplayBuilder setDensityDpi(int densityDpi) { in setDensityDpi() 325 private static String getCreateVirtualDisplayCommand(int densityDpi, boolean publicDisplay, in getCreateVirtualDisplayCommand()
|
D | ActivityManagerManifestLayoutTests.java | 139 final int densityDpi = mDisplay.getDpi(); in testLayout() local
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
D | VirtualDisplayActivity.java | 158 final int densityDpi = entry.extras.getInt(KEY_DENSITY_DPI, DEFAULT_DENSITY_DPI); in surfaceCreated() local
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 539 private static void updateDpi(Resources r, int densityDpi) { in updateDpi()
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
D | ActivityAndWindowManagersState.java | 792 static int dpToPx(float dp, int densityDpi){ in dpToPx()
|
D | ActivityManagerTestBase.java | 958 int densityDpi; field in ActivityManagerTestBase.ReportedSizes
|