Searched refs:densityDpi (Results 1 – 16 of 16) sorted by relevance
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | DisplayInfoActivity.java | 48 text.setText(getString(R.string.display_info_text, metrics.densityDpi, in onCreate() 53 switch (metrics.densityDpi) { in getScreenDensityBucket() 88 return "" + metrics.densityDpi; in getScreenDensityBucket()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationTest.java | 69 + allowedDensities, allowedDensities.contains(metrics.densityDpi)); in testScreenConfiguration() 72 (float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT, in testScreenConfiguration()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionActivity.java | 67 … mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal());
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassTest.java | 134 return metrics.densityDpi; in getScreenDensity()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 78 int density = mDisplayMetrics.densityDpi; in testMinimumMemory()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 222 switch (metrics.densityDpi) { in getScreenDensityBucket() 239 return "" + metrics.densityDpi; in getScreenDensityBucket()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 492 private static void updateDpi(Resources r, int densityDpi) { in updateDpi() argument 494 c.densityDpi = densityDpi; in updateDpi()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | BitmapDrawableTest.java | 319 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics().densityDpi); in testGetIntrinsicSize() 339 bitmapDrawable.setTargetDensity(disMetrics.densityDpi); in testSetTargetDensity()
|
D | NinePatchDrawableTest.java | 372 opts.inDensity = opts.inTargetDensity = mResources.getDisplayMetrics().densityDpi; in getBitmapUnscaled()
|
D | ScaleDrawableTest.java | 415 res.getDisplayMetrics().densityDpi / DisplayMetrics.DENSITY_DEFAULT); in testInflate()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 200 assertEquals(SECONDARY_DISPLAY_DPI, outMetrics.densityDpi); in testGetMetrics()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | NinePatchTest.java | 52 mOptNoScale.inDensity = mOptNoScale.inTargetDensity = mRes.getDisplayMetrics().densityDpi; in setUp()
|
D | BitmapTest.java | 971 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); in testGetScaledHeight2() 998 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi); in testGetScaledWidth2()
|
D | BitmapFactoryTest.java | 96 mTargetDensity = mRes.getDisplayMetrics().densityDpi; in setUp()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourcesTest.java | 252 int targetDensity = mResources.getDisplayMetrics().densityDpi; in testGetDrawable()
|
D | ConfigTest.java | 133 mConfig.densityDpi = value; in setProperty()
|