Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java81 final int densityDpi = res.getConfiguration().densityDpi; in testPreloadDensity() local
89 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DVectorDrawableSizeTest.java69 final int densityDpi = mResources.getConfiguration().densityDpi; in testVectorDrawableSize() local
DVectorDrawableTest.java407 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity() local
418 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local
434 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
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()
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.java665 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity() local
676 final int densityDpi = mResources.getConfiguration().densityDpi; in testPreloadDensity_tvdpi() local
773 private void verifyPreloadDensityInner(Resources res, int densityDpi) in verifyPreloadDensityInner()
DDrawableTestUtils.java124 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/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/framework/base/windowmanager/src/android/server/wm/
DFreeformWindowingModeTests.java122 final int densityDpi = in testActivityLifeCycleOnResizeFreeformTask() local
DConfigChangeTests.java254 final int densityDpi = getActivityDensityDpi(activityName); in testChangeFontScale() local
308 private static int scaledPixelsToPixels(float sp, float fontScale, int densityDpi) { in scaledPixelsToPixels()
DManifestLayoutTests.java153 final int densityDpi = mDisplay.getDpi(); in testLayout() local
DMultiDisplayTestBase.java285 VirtualDisplaySession setDensityDpi(int densityDpi) { in setDensityDpi()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java172 final int densityDpi = entry.extras.getInt(KEY_DENSITY_DPI, DEFAULT_DENSITY_DPI); in surfaceCreated() local
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java551 static int dpToPx(float dp, int densityDpi) { in dpToPx()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java556 private static void updateDpi(Resources r, int densityDpi) { in updateDpi()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java984 static int dpToPx(float dp, int densityDpi) { in dpToPx()