Home
last modified time | relevance | path

Searched refs:mVirtualDisplay (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java64 private VirtualDisplay mVirtualDisplay; field in MediaProjectionDemo
122 mVirtualDisplay = createVirtualDisplay(); in onActivityResult()
143 mVirtualDisplay = createVirtualDisplay(); in shareScreen()
152 if (mVirtualDisplay != null) { in stopScreenSharing()
153 mVirtualDisplay.release(); in stopScreenSharing()
154 mVirtualDisplay = null; in stopScreenSharing()
166 if (mVirtualDisplay == null) { in resizeVirtualDisplay()
169 mVirtualDisplay.resize(mDisplayWidth, mDisplayHeight, mScreenDensity); in resizeVirtualDisplay()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java59 private VirtualDisplay mVirtualDisplay; field in ScreenCaptureFragment
111 if (mVirtualDisplay == null) { in onClick()
186 mVirtualDisplay = mMediaProjection.createVirtualDisplay("ScreenCapture", in setUpVirtualDisplay()
194 if (mVirtualDisplay == null) { in stopScreenCapture()
197 mVirtualDisplay.release(); in stopScreenCapture()
198 mVirtualDisplay = null; in stopScreenCapture()