Searched refs:mMediaProjection (Results 1 – 3 of 3) sorted by relevance
63 private MediaProjection mMediaProjection; field in MediaProjectionDemo103 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()
58 private MediaProjection mMediaProjection; field in ScreenCaptureFragment153 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()
1364 …f95,platform/cts,fake_KwarIwS3SU2ySdeTlVQQ8w@fakeemail.com,Wait for mMediaProjection to be initial…