Searched refs:mVirtualDisplay (Results 1 – 6 of 6) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | VirtualDisplayHelper.java | 60 private VirtualDisplay mVirtualDisplay; field in VirtualDisplayHelper 81 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* default */, in createAndWaitForDisplay() 85 return mVirtualDisplay.getDisplay().getDisplayId(); in createAndWaitForDisplay() 90 mVirtualDisplay.setSurface(null); in turnDisplayOff() 91 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in turnDisplayOff() 98 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn() 99 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in turnDisplayOn() 107 mVirtualDisplay.release(); in releaseDisplay() 109 waitForDisplayCondition(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in releaseDisplay() 140 mVirtualDisplay = displayManager.createVirtualDisplay( in createVirtualDisplay()
|
D | WindowFocusTests.java | 498 private VirtualDisplay mVirtualDisplay; field in WindowFocusTests.VirtualDisplaySession 508 mVirtualDisplay = context.getSystemService(DisplayManager.class).createVirtualDisplay( in createDisplay() 511 return mVirtualDisplay.getDisplay(); in createDisplay() 516 if (mVirtualDisplay != null) { in close() 517 mVirtualDisplay.release(); in close()
|
D | WindowTest.java | 103 private VirtualDisplay mVirtualDisplay; field in WindowTest 667 assertNotNull(mVirtualDisplay); in testSetLocalFocus() 743 mVirtualDisplay = displayManager.createVirtualDisplay("localFocusTest", in createPresentation() 745 mPresentation = new ProjectedPresentation(mActivity, mVirtualDisplay.getDisplay()); in createPresentation() 753 if (mVirtualDisplay != null) { in destroyPresentation() 754 mVirtualDisplay.release(); in destroyPresentation()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RemoteVirtualDisplayService.java | 116 private VirtualDisplay mVirtualDisplay; field in RemoteVirtualDisplayService.VirtualDisplayPresentation 131 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay() 138 if (mVirtualDisplay != null) { in destroyVirtualDisplay() 139 mVirtualDisplay.release(); in destroyVirtualDisplay() 148 mVirtualDisplay.getDisplay()); in createPresentation()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 1191 return new TestRotatePresentation(mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation() 1201 protected VirtualDisplay mVirtualDisplay; field in EncodeVirtualDisplayWithCompositionTest.VirtualDisplayPresentation 1217 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay() 1229 mVirtualDisplay.release(); in destroyVirtualDisplay() 1245 return new TestPresentation(mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation() 1432 return new TopWindowPresentation(mNumWindows, mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 72 private VirtualDisplay mVirtualDisplay; field in CapturedActivity 251 mVirtualDisplay = mMediaProjection.createVirtualDisplay("CtsCapturedActivity", in runTest() 262 mVirtualDisplay.release(); in runTest() 263 mVirtualDisplay = null; in runTest() 346 if (mVirtualDisplay != null) { in onStop() 347 mVirtualDisplay.release(); in onStop() 348 mVirtualDisplay = null; in onStop()
|