Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java72 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
142 private static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java83 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
107 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DVectorDrawableSizeTest.java69 final int densityDpi = mResources.getConfiguration().densityDpi; in testVectorDrawableSize() local
DNinePatchDrawableTest.java445 final int densityDpi = res.getConfiguration().densityDpi; in verifySetTargetDensityOuter() local
533 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
592 … private static NinePatchDrawable preloadedDrawable(Resources res, int densityDpi, int sourceResId) in preloadedDrawable()
604 final int densityDpi = res.getConfiguration().densityDpi; in testOutlinePreloadDensity() local
677 private void compareOrSave(Drawable dr, int densityDpi, int sourceResId, int goldenResId) { in compareOrSave()
696 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
DVectorDrawableTest.java420 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity() local
431 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local
447 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DInsetDrawableTest.java440 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
452 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local
467 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DAnimatedStateListDrawableTest.java176 final int densityDpi = res.getConfiguration().densityDpi; in runPreloadDensityTestForDrawable() local
184 private void runPreloadDensityTestForDrawableInner(Resources res, int densityDpi, in runPreloadDensityTestForDrawableInner()
DStateListDrawableTest.java199 final int densityDpi = res.getConfiguration().densityDpi; in verifyPreloadDensityTestForDrawable() local
207 private void verifyPreloadDensityTestForDrawableInner(Resources res, int densityDpi, in verifyPreloadDensityTestForDrawableInner()
DGradientDrawableTest.java668 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity() local
679 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local
873 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DDrawableTestUtils.java128 public static void setResourcesDensity(Resources res, int densityDpi) { in setResourcesDensity()
DLayerDrawableTest.java1687 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
1699 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local
1708 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DFreeformWindowingModeTests.java139 final int densityDpi = in testActivityLifeCycleOnResizeFreeformTask() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigChangeTests.java262 final int densityDpi = extras.getInt(EXTRA_FONT_ACTIVITY_DPI); in testChangeFontScale() local
325 private static int scaledPixelsToPixels(float sp, float fontScale, int densityDpi) { in scaledPixelsToPixels()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextTestBase.java101 public void resizeSecondaryDisplay(int width, int height, int densityDpi) { in resizeSecondaryDisplay()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java173 final int densityDpi = entry.extras.getInt(KEY_DENSITY_DPI, DEFAULT_DENSITY_DPI); in surfaceCreated() local
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java238 int densityDpi = (int) (metrics.getDensity() * DisplayMetrics.DENSITY_DEFAULT); in runTest() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DManifestLayoutTests.java190 final int densityDpi = DisplayMetrics.DENSITY_DEVICE_STABLE; in calculateExpectedSize() local
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java950 private static void updateDpi(Resources r, int densityDpi) { in updateDpi()