Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java64 private VirtualDisplay mVirtualDisplay; field in MediaProjectionDemo
115 mVirtualDisplay = createVirtualDisplay(); in onActivityResult()
136 mVirtualDisplay = createVirtualDisplay(); in shareScreen()
144 if (mVirtualDisplay != null) { in stopScreenSharing()
145 mVirtualDisplay.release(); in stopScreenSharing()
146 mVirtualDisplay = null; in stopScreenSharing()
158 if (mVirtualDisplay == null) { in resizeVirtualDisplay()
161 mVirtualDisplay.resize(mDisplayWidth, mDisplayHeight, mScreenDensity); in resizeVirtualDisplay()