Searched refs:mVirtualDisplay (Results 1 – 7 of 7) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | VirtualDisplayHelper.java | 56 private VirtualDisplay mVirtualDisplay; field in VirtualDisplayHelper 77 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), true /* wantOn */); in createAndWaitForDisplay() 80 return mVirtualDisplay.getDisplay().getDisplayId(); in createAndWaitForDisplay() 84 mVirtualDisplay.setSurface(null); in turnDisplayOff() 85 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), false /* wantOn */); in turnDisplayOff() 89 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn() 90 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), true /* wantOn */); in turnDisplayOn() 95 mVirtualDisplay.release(); in releaseDisplay() 97 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), false /* wantOn */); in releaseDisplay() 125 mVirtualDisplay = displayManager.createVirtualDisplay( in createVirtualDisplay()
|
D | WindowFocusTests.java | 526 private final VirtualDisplay mVirtualDisplay; field in WindowFocusTests.InvisibleVirtualDisplaySession 533 mVirtualDisplay = context.getSystemService(DisplayManager.class) in InvisibleVirtualDisplaySession() 537 mDisplay = mVirtualDisplay.getDisplay(); in InvisibleVirtualDisplaySession() 550 if (mVirtualDisplay != null) { in close() 551 mVirtualDisplay.release(); in close() 565 private final WindowManagerState.DisplayContent mVirtualDisplay; field in WindowFocusTests.SimulatedDisplaySession 569 mVirtualDisplay = mVirtualDisplaySession.setSimulateDisplay(true).createDisplay(); in SimulatedDisplaySession() 573 return mVirtualDisplay.mId; in getDisplayId()
|
D | WindowTest.java | 110 private VirtualDisplay mVirtualDisplay; field in WindowTest 742 assertNotNull(mVirtualDisplay); in testSetLocalFocus() 828 mVirtualDisplay = displayManager.createVirtualDisplay("localFocusTest", in createPresentation() 830 mPresentation = new ProjectedPresentation(mActivity, mVirtualDisplay.getDisplay()); in createPresentation() 838 if (mVirtualDisplay != null) { in destroyPresentation() 839 mVirtualDisplay.release(); in destroyPresentation()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 49 private VirtualDisplay mVirtualDisplay; field in DisplayUtils.VirtualDisplaySession 62 mVirtualDisplay = context.getSystemService(DisplayManager.class).createVirtualDisplay( in createDisplay() 64 return mVirtualDisplay.getDisplay(); in createDisplay() 69 if (mVirtualDisplay != null) { in close() 70 mVirtualDisplay.release(); in close()
|
/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 | EncodeVirtualDisplayWithCompositionTestImpl.java | 1126 return new TestRotatePresentation(mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation() 1136 protected VirtualDisplay mVirtualDisplay; field in EncodeVirtualDisplayWithCompositionTestImpl.VirtualDisplayPresentation 1152 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay() 1164 mVirtualDisplay.release(); in destroyVirtualDisplay() 1180 return new TestPresentation(mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation() 1366 return new TopWindowPresentation(mNumWindows, mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 86 private VirtualDisplay mVirtualDisplay; field in CapturedActivity 287 mVirtualDisplay = mMediaProjection.createVirtualDisplay("CtsCapturedActivity", in runTest() 300 mVirtualDisplay.release(); in runTest() 301 mVirtualDisplay = null; in runTest() 388 if (mVirtualDisplay != null) { in onStop() 389 mVirtualDisplay.release(); in onStop() 390 mVirtualDisplay = null; in onStop()
|