/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 60 if (mRecorder == NULL) { in setInputSurface() 64 return mRecorder->setInputSurface(surface); in setInputSurface() 71 if (mRecorder == NULL) { in querySurfaceMediaSource() 75 return mRecorder->querySurfaceMediaSource(); in querySurfaceMediaSource() 85 if (mRecorder == NULL) { in setCamera() 89 return mRecorder->setCamera(camera, proxy); in setCamera() 96 if (mRecorder == NULL) { in setPreviewSurface() 100 return mRecorder->setPreviewSurface(surface); in setPreviewSurface() 111 if (mRecorder == NULL) { in setVideoSource() 115 return mRecorder->setVideoSource((video_source)vs); in setVideoSource() [all …]
|
D | MediaRecorderClient.h | 104 MediaRecorderBase *mRecorder; variable
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 49 private MediaRecorder mRecorder; field in MediaRecorderStressTest 216 mRecorder = new MediaRecorder(); in recordVideoAndPlayback() 229 mRecorder.setOnErrorListener(mRecorderErrorCallback); in recordVideoAndPlayback() 230 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideoAndPlayback() 231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoAndPlayback() 232 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in recordVideoAndPlayback() 233 mRecorder.setOutputFile(fileName); in recordVideoAndPlayback() 234 mRecorder.setVideoFrameRate(frameRate); in recordVideoAndPlayback() 235 mRecorder.setVideoSize(videoWidth, videoHeight); in recordVideoAndPlayback() 236 mRecorder.setVideoEncoder(videoEncoder); in recordVideoAndPlayback() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | Picture.cpp | 31 } else if (NULL != src->mRecorder.get()) { in Picture() 48 mRecorder.reset(new SkPictureRecorder); in beginRecording() 51 SkCanvas* canvas = mRecorder->beginRecording(SkIntToScalar(width), SkIntToScalar(height)); in beginRecording() 56 if (NULL != mRecorder.get()) { in endRecording() 57 mPicture = mRecorder->finishRecordingAsPicture(); in endRecording() 58 mRecorder.reset(NULL); in endRecording() 86 if (NULL != mRecorder.get()) { in serialize() 99 if (NULL != mRecorder.get()) { in draw() 110 SkASSERT(NULL != mRecorder.get()); in makePartialCopy() 115 mRecorder->partialReplay(canvas); in makePartialCopy()
|
D | Picture.h | 60 std::unique_ptr<SkPictureRecorder> mRecorder; variable
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 227 MediaRecorder mRecorder = new MediaRecorder(); in stressVideoRecord() local 231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressVideoRecord() 233 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in stressVideoRecord() 234 mRecorder.setOutputFormat(outFormat); in stressVideoRecord() 236 mRecorder.setOutputFile(outFile); in stressVideoRecord() 237 mRecorder.setVideoFrameRate(frameRate); in stressVideoRecord() 238 mRecorder.setVideoSize(width, height); in stressVideoRecord() 240 mRecorder.setVideoEncoder(videoFormat); in stressVideoRecord() 242 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in stressVideoRecord() 245 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in stressVideoRecord() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 60 private MediaRecorder mRecorder; field in MediaRecorderTest 77 mRecorder = new MediaRecorder(); in setUp() 87 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideo() 89 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideo() 90 mRecorder.setOutputFormat(outFormat); in recordVideo() 92 mRecorder.setOutputFile(outFile); in recordVideo() 93 mRecorder.setVideoFrameRate(frameRate); in recordVideo() 94 mRecorder.setVideoSize(width, height); in recordVideo() 96 mRecorder.setVideoEncoder(videoFormat); in recordVideo() 98 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in recordVideo() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaRecordingCanvas.cpp | 54 mDisplayList->attachRecorder(&mRecorder, SkIRect::MakeWH(width, height)); in initDisplayList() 55 SkiaCanvas::reset(&mRecorder); in initDisplayList() 61 mRecorder.restoreToCount(1); in finishRecording() 125 renderNode->mutateStagingProperties().setClipMayBeComplex(mRecorder.isClipMayBeComplex()); in drawRenderNode() 161 mRecorder.drawWebView(functorDrawable); in drawWebViewFunctor() 166 mRecorder.drawVectorDrawable(tree); in drawVectorDrawable() 228 mRecorder.drawImage(image, left + x, top + y, &p, bitmap.palette()); in drawBitmap() 240 SkAutoCanvasRestore acr(&mRecorder, true); in drawBitmap() 246 mRecorder.drawImage(image, x, y, &p, bitmap.palette()); in drawBitmap() 263 mRecorder.drawImageRect(image, srcRect, dstRect.makeOffset(x, y), &p, in drawBitmap() [all …]
|
D | SkiaPipeline.cpp | 351 mRecorder.reset(new SkPictureRecorder()); in tryCapture() 352 pictureCanvas = mRecorder->beginRecording(surface->width(), surface->height()); in tryCapture() 408 sk_sp<SkPicture> picture = mRecorder->finishRecordingAsPicture(); in endCapture() 424 mRecorder.reset(); in endCapture()
|
D | SkiaRecordingCanvas.h | 80 RecordingCanvas mRecorder;
|
D | SkiaPipeline.h | 148 std::unique_ptr<SkPictureRecorder> mRecorder; variable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 816 private MediaRecorder mRecorder = null; field in CameraStreamer.CameraRunnable 1451 if (mRecorder != null) { in createRecorder() 1452 mRecorder.release(); in createRecorder() 1454 mRecorder = new MediaRecorder(); in createRecorder() 1455 mRecorder.setCamera(mCamera); in createRecorder() 1456 mRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in createRecorder() 1457 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in createRecorder() 1458 mRecorder.setProfile(profile); in createRecorder() 1459 mRecorder.setOutputFile(outputPath); in createRecorder() 1461 mRecorder.prepare(); in createRecorder() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 233 protected NetworkStatsRecorder mRecorder; field in NetworkStatsObservers.RequestInfo 277 if (mRecorder == null) { in updateStats() 310 mRecorder = new NetworkStatsRecorder(); in resetRecorder() 311 mCollection = mRecorder.getSinceBoot(); in resetRecorder() 355 mRecorder.recordSnapshotLocked(statsContext.mXtSnapshot, statsContext.mActiveIfaces, in recordSample() 397 mRecorder.recordSnapshotLocked(statsContext.mUidSnapshot, statsContext.mActiveUidIfaces, in recordSample()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CodecTest.java | 497 MediaRecorder mRecorder = new MediaRecorder(); in mediaRecorderRecord() local 498 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in mediaRecorderRecord() 499 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in mediaRecorderRecord() 500 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in mediaRecorderRecord() 501 mRecorder.setOutputFile(filePath); in mediaRecorderRecord() 502 mRecorder.prepare(); in mediaRecorderRecord() 503 mRecorder.start(); in mediaRecorderRecord() 505 mRecorder.stop(); in mediaRecorderRecord() 507 mRecorder.release(); in mediaRecorderRecord()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 79 private ScreenMediaRecorder mRecorder; field in RecordingService 138 mRecorder = new ScreenMediaRecorder( in onStartCommand() 217 return mRecorder; in getRecorder()
|