Home
last modified time | relevance | path

Searched refs:DENSITY (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayConfigTest.java46 private static final int DENSITY = DisplayMetrics.DENSITY_MEDIUM; field in VirtualDisplayConfigTest
56 new VirtualDisplayConfig.Builder(NAME, WIDTH, HEIGHT, DENSITY) in parcelAndUnparcel_matches()
70 assertThat(originalConfig.getDensityDpi()).isEqualTo(DENSITY); in parcelAndUnparcel_matches()
88 assertThat(recreatedConfig.getDensityDpi()).isEqualTo(DENSITY); in parcelAndUnparcel_matches()
102 new VirtualDisplayConfig.Builder(NAME, WIDTH, HEIGHT, DENSITY).build(); in virtualDisplayConfig_onlyRequiredFields()
116 new VirtualDisplayConfig.Builder(null, WIDTH, HEIGHT, DENSITY); in virtualDisplayConfig_noName_throwsException()
123 new VirtualDisplayConfig.Builder(NAME, 0, HEIGHT, DENSITY); in virtualDisplayConfig_invalidWidth_throwsException()
130 new VirtualDisplayConfig.Builder(NAME, WIDTH, 0, DENSITY); in virtualDisplayConfig_invalidHeight_throwsException()
144 new VirtualDisplayConfig.Builder(NAME, WIDTH, HEIGHT, DENSITY) in virtualDisplayConfig_nullDisplayCategories_throwsException()
152 new VirtualDisplayConfig.Builder(NAME, WIDTH, HEIGHT, DENSITY) in virtualDisplayConfig_nullDisplayCategory_throwsException()
[all …]
DVirtualDisplayTest.java103 private static final int DENSITY = DisplayMetrics.DENSITY_MEDIUM; field in VirtualDisplayTest
190 WIDTH, HEIGHT, DENSITY, mSurface, 0); in testPrivateVirtualDisplay()
215 WIDTH, HEIGHT, DENSITY, mSurface, in testPrivatePresentationVirtualDisplay()
241 WIDTH, HEIGHT, DENSITY, null, 0); in testPrivateVirtualDisplayWithDynamicSurface()
274 WIDTH, HEIGHT, DENSITY, mSurface, in testUntrustedSysDecorVirtualDisplay()
305 WIDTH, HEIGHT, DENSITY, mSurface, VIRTUAL_DISPLAY_FLAG_TRUSTED); in testTrustedVirtualDisplay()
320 VirtualDisplayConfig config = new VirtualDisplayConfig.Builder(NAME, WIDTH, HEIGHT, DENSITY) in testVirtualDisplayWithRequestedRefreshRate()
344 WIDTH, HEIGHT, DENSITY, mSurface, in testVirtualDisplayRotatesWithContent()
379 WIDTH, HEIGHT, DENSITY, mSurface, in testVirtualDisplayDoesNotRotateWithContent()
410 WIDTH, HEIGHT, DENSITY, mSurface, /*flags*/ 0); in testHdrApiMethods()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DVirtualDisplayHelper.java51 private static final int DENSITY = 160; field in VirtualDisplayHelper
121 logAlways("createVirtualDisplay: " + WIDTH + "x" + HEIGHT + ", dpi: " + DENSITY in createVirtualDisplay()
127 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, mReader.getSurface(), flags); in createVirtualDisplay()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java74 DENSITY, enumConstant
158 case DENSITY: in setProperty()
239 config.setProperty(Properties.DENSITY, 160); in makeClassicConfig()
381 config.setProperty(Properties.DENSITY, 240); in testAllEmptyConfigs()
637 config.setProperty(Properties.DENSITY, 240); in testAllClassicConfigs()
741 config.setProperty(Properties.DENSITY, 2); in testDensity()
748 config.setProperty(Properties.DENSITY, 32); in testDensity()
755 config.setProperty(Properties.DENSITY, 48); in testDensity()
762 config.setProperty(Properties.DENSITY, 150); in testDensity()
769 config.setProperty(Properties.DENSITY, 181); in testDensity()
[all …]
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt55 const val DENSITY = 160 constant
155 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, reader.surface, in createDisplay()
DTouchModeTest.kt367 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, reader!!.surface, flags) in <lambda>()
379 const val DENSITY = 160 in <lambda>() constant
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java675 private static final int DENSITY = 160; field in WindowFocusTests.InvisibleVirtualDisplaySession
686 WIDTH, HEIGHT, DENSITY, mReader.getSurface(), in InvisibleVirtualDisplaySession()
726 private static final int DENSITY = 160; field in WindowFocusTests.VirtualDisplayWithOwnFocusSession
744 DENSITY, mReader.getSurface(), in VirtualDisplayWithOwnFocusSession()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java58 private static final int DENSITY = DisplayMetrics.DENSITY_MEDIUM; field in ProjectionOffscreenActivity
135 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY,
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayTest.java97 private static final int DENSITY = DisplayMetrics.DENSITY_HIGH; field in EncodeVirtualDisplayTest
271 mWidth, mHeight, DENSITY, inputSurface, 0); in encodeVirtualDisplayTest()