Home
last modified time | relevance | path

Searched defs:densityDpi (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java80 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
88 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DVectorDrawableSizeTest.java68 final int densityDpi = mResources.getConfiguration().densityDpi; in testVectorDrawableSize() local
DBitmapDrawableTest.java553 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()
DVectorDrawableTest.java408 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()
DNinePatchDrawableTest.java433 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()
DStateListDrawableTest.java197 final int densityDpi = res.getConfiguration().densityDpi; in verifyPreloadDensityTestForDrawable() local
205 private void verifyPreloadDensityTestForDrawableInner(Resources res, int densityDpi, in verifyPreloadDensityTestForDrawableInner()
DInsetDrawableTest.java441 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()
DGradientDrawableTest.java531 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()
DAnimatedStateListDrawableTest.java175 final int densityDpi = res.getConfiguration().densityDpi; in runPreloadDensityTestForDrawable() local
183 private void runPreloadDensityTestForDrawableInner(Resources res, int densityDpi, in runPreloadDensityTestForDrawableInner()
DDrawableTestUtils.java123 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity()
DLayerDrawableTest.java1676 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/
DActivityManagerConfigChangeTests.java117 final int densityDpi = getGlobalDensityDpi(); in testChangeFontScale() local
188 private static int scaledPixelsToPixels(float sp, float fontScale, int densityDpi) { in scaledPixelsToPixels()
DActivityManagerDisplayTestBase.java232 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()
DActivityManagerManifestLayoutTests.java139 final int densityDpi = mDisplay.getDpi(); in testLayout() local
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
DVirtualDisplayActivity.java158 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/
DSplitAppTest.java539 private static void updateDpi(Resources r, int densityDpi) { in updateDpi()
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/
DActivityAndWindowManagersState.java792 static int dpToPx(float dp, int densityDpi){ in dpToPx()
DActivityManagerTestBase.java958 int densityDpi; field in ActivityManagerTestBase.ReportedSizes