Home
last modified time | relevance | path

Searched refs:virtualDisplay (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java161 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay() local
163 assertNotNull("virtual display must not be null", virtualDisplay); in testPrivateVirtualDisplay()
165 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay()
168 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplay()
174 virtualDisplay.release(); in testPrivateVirtualDisplay()
186 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay() local
189 assertNotNull("virtual display must not be null", virtualDisplay); in testPrivatePresentationVirtualDisplay()
191 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay()
194 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivatePresentationVirtualDisplay()
200 virtualDisplay.release(); in testPrivatePresentationVirtualDisplay()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplaySizeTest.java106 VirtualDisplay virtualDisplay = null; in testSizeRangesAfterSettingDisplaySize() local
111 virtualDisplay = displayManager.createVirtualDisplay("CtsDisplay", initialLength, in testSizeRangesAfterSettingDisplaySize()
113 final Display targetDisplay = virtualDisplay.getDisplay(); in testSizeRangesAfterSettingDisplaySize()
152 if (virtualDisplay != null) { in testSizeRangesAfterSettingDisplaySize()
153 virtualDisplay.release(); in testSizeRangesAfterSettingDisplaySize()
DMultiDisplayActivityLaunchTests.java908 final VirtualDisplay virtualDisplay = mDm.createVirtualDisplay( in testImmediateLaunchOnNewDisplay() local
913 int displayId = virtualDisplay.getDisplay().getDisplayId(); in testImmediateLaunchOnNewDisplay()
927 virtualDisplay.release(); in testImmediateLaunchOnNewDisplay()
/cts/tests/tests/content/src/android/content/cts/
DContextTestBase.java72 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in createSecondaryDisplay() local
75 return virtualDisplay.getDisplay(); in createSecondaryDisplay()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java228 VirtualDisplay virtualDisplay = null; in encodeVirtualDisplayTest() local
256 virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in encodeVirtualDisplayTest()
268 new ColorSlideShow(virtualDisplay.getDisplay()).start(); in encodeVirtualDisplayTest()
275 if (virtualDisplay != null) { in encodeVirtualDisplayTest()
276 virtualDisplay.release(); in encodeVirtualDisplayTest()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java210 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in surfaceCreated() local
214 new VirtualDisplayEntry(virtualDisplay, entry.surfaceView, densityDpi, in surfaceCreated()