/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayConfigTest.java | 46 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 …]
|
D | VirtualDisplayTest.java | 103 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/ |
D | VirtualDisplayHelper.java | 51 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/ |
D | ConfigTest.java | 74 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/ |
D | VirtualDisplayActivityScenarioRule.kt | 55 const val DENSITY = 160 constant 155 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, reader.surface, in createDisplay()
|
D | TouchModeTest.kt | 367 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/ |
D | WindowFocusTests.java | 675 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/ |
D | ProjectionOffscreenActivity.java | 58 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/ |
D | EncodeVirtualDisplayTest.java | 97 private static final int DENSITY = DisplayMetrics.DENSITY_HIGH; field in EncodeVirtualDisplayTest 271 mWidth, mHeight, DENSITY, inputSurface, 0); in encodeVirtualDisplayTest()
|