Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java63 private MediaProjection mMediaProjection; field in MediaProjectionDemo
103 if (mMediaProjection != null) { in onDestroy()
104 mMediaProjection.stop(); in onDestroy()
105 mMediaProjection = null; in onDestroy()
120 mMediaProjection = mProjectionManager.getMediaProjection(resultCode, data); in onActivityResult()
121 mMediaProjection.registerCallback(new MediaProjectionCallback(), null); in onActivityResult()
138 if (mMediaProjection == null) { in shareScreen()
159 return mMediaProjection.createVirtualDisplay("ScreenSharingDemo", in createVirtualDisplay()
197 mMediaProjection = null; in onStop()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java58 private MediaProjection mMediaProjection; field in ScreenCaptureFragment
153 mMediaProjection = mMediaProjectionManager.getMediaProjection(mResultCode, mResultData); in setUpMediaProjection()
157 if (mMediaProjection != null) { in tearDownMediaProjection()
158 mMediaProjection.stop(); in tearDownMediaProjection()
159 mMediaProjection = null; in tearDownMediaProjection()
168 if (mMediaProjection != null) { in startScreenCapture()
186 mVirtualDisplay = mMediaProjection.createVirtualDisplay("ScreenCapture", in setUpVirtualDisplay()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv1364 …f95,platform/cts,fake_KwarIwS3SU2ySdeTlVQQ8w@fakeemail.com,Wait for mMediaProjection to be initial…