Home
last modified time | relevance | path

Searched refs:virtualDisplay (Results 1 – 7 of 7) 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/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/
DVirtualDisplayActivity.java33 VirtualDisplay virtualDisplay = getSystemService(DisplayManager.class).createVirtualDisplay( in createVirtualDisplayAndShowPresentation() local
35 new Presentation(getBaseContext(), virtualDisplay.getDisplay()).show(); in createVirtualDisplayAndShowPresentation()
/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.java911 final VirtualDisplay virtualDisplay = mDm.createVirtualDisplay( in testImmediateLaunchOnNewDisplay() local
916 int displayId = virtualDisplay.getDisplay().getDisplayId(); in testImmediateLaunchOnNewDisplay()
930 virtualDisplay.release(); in testImmediateLaunchOnNewDisplay()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextTestBase.java79 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in createSecondaryDisplay() local
82 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()