/external/skia/gm/ |
H A D | bug6643.cpp | 21 SkPictureRecorder recorder; local 22 recorder.beginRecording(200, 200)->drawPaint(p); 24 p.setShader(SkShader::MakePictureShader(recorder.finishRecordingAsPicture(),
|
H A D | pathopsskpclip.cpp | 35 SkPictureRecorder recorder; variable 36 SkCanvas* rec = recorder.beginRecording(1200, 900, nullptr, 0); 49 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture());
|
H A D | distantclip.cpp | 33 SkPictureRecorder recorder; local 37 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0); 46 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture()); 49 pict->playback(recorder.beginRecording(pict->cullRect().width(), 52 sk_sp<SkPicture> pict2(recorder.finishRecordingAsPicture());
|
H A D | pictureshadercache.cpp | 41 SkPictureRecorder recorder; variable 42 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); 44 fPicture = recorder.finishRecordingAsPicture();
|
H A D | pictureimagefilter.cpp | 28 SkPictureRecorder recorder; local 29 SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0); 37 return recorder.finishRecordingAsPicture(); 42 SkPictureRecorder recorder; local 43 SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0); 54 return recorder.finishRecordingAsPicture();
|
H A D | image_shader.cpp | 95 SkPictureRecorder recorder; variable 96 draw_something(recorder.beginRecording(bounds), bounds); 97 fPicture = recorder.finishRecordingAsPicture();
|
H A D | pictureshadertile.cpp | 95 SkPictureRecorder recorder; variable 96 SkCanvas* pictureCanvas = recorder.beginRecording(kPictureSize, kPictureSize); 98 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); 101 pictureCanvas = recorder.beginRecording(SkRect::MakeXYWH(offset.x(), offset.y(), 105 sk_sp<SkPicture> offsetPicture(recorder.finishRecordingAsPicture());
|
H A D | verylargebitmap.cpp | 32 SkPictureRecorder recorder; local 33 draw(recorder.beginRecording(SkRect::MakeIWH(width, height)), width, height, colors); 34 return SkImage::MakeFromPicture(recorder.finishRecordingAsPicture(),
|
H A D | pictureshader.cpp | 36 SkPictureRecorder recorder; variable 37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); 39 fPicture = recorder.finishRecordingAsPicture(); 185 SkPictureRecorder recorder; local 186 SkCanvas* c = recorder.beginRecording(tile); 197 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
|
H A D | recordopts.cpp | 103 SkPictureRecorder recorder; local 104 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kTestRectSize + 2), 109 shape = recorder.finishRecordingAsPicture(); 158 SkPictureRecorder recorder; local 159 drawTestSequence(recorder.beginRecording(SkIntToScalar(kTestRectSize), 162 recorder.finishRecordingAsPicture()->playback(canvas); 199 SkPictureRecorder recorder; local 200 drawTestSequence(recorder.beginRecording(SkIntToScalar(kTestRectSize), 203 recorder.finishRecordingAsPicture()->playback(canvas);
|
/external/skia/tools/ |
H A D | gpuveto.cpp | 54 SkPictureRecorder recorder; local 55 picture->playback(recorder.beginRecording(picture->cullRect().width(), 58 sk_sp<SkPicture> recorded(recorder.finishRecordingAsPicture());
|
H A D | dump_record.cpp | 60 SkPictureRecorder recorder; local 61 SkDeferredCanvas deferred(recorder.beginRecording(src->cullRect()), 64 src = recorder.finishRecordingAsPicture();
|
H A D | skpmaker.cpp | 34 SkPictureRecorder recorder; local 35 SkCanvas* canvas = recorder.beginRecording(width, height, nullptr, 0); 45 recorder.finishRecordingAsPicture()->serialize(&stream);
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
H A D | MacrobenchmarkAllocationWorker.java | 34 private final AllocationRecorder recorder; field in class:MacrobenchmarkAllocationWorker 37 @BenchmarkMethod Method method, AllocationRecorder recorder) { 39 this.recorder = recorder; 52 recorder.startRecording(); 54 return recorder.stopRecording(1); 36 MacrobenchmarkAllocationWorker(@enchmark Object benchmark, @BenchmarkMethod Method method, AllocationRecorder recorder) argument
|
H A D | MicrobenchmarkAllocationWorker.java | 55 private final AllocationRecorder recorder; field in class:MicrobenchmarkAllocationWorker 58 @BenchmarkMethod Method method, AllocationRecorder recorder, Random random) { 61 this.recorder = recorder; 140 recorder.startRecording(); 142 return recorder.stopRecording(reps); 57 MicrobenchmarkAllocationWorker(@enchmark Object benchmark, @BenchmarkMethod Method method, AllocationRecorder recorder, Random random) argument
|
/external/skia/src/core/ |
H A D | SkRecordedDrawable.cpp | 88 SkPictureRecorder recorder; local 89 playback.draw(recorder.beginRecording(bounds), nullptr, &buffer); 90 return recorder.finishRecordingAsDrawable();
|
H A D | SkDrawable.cpp | 76 SkPictureRecorder recorder; local 79 SkCanvas* canvas = recorder.beginRecording(bounds, nullptr, 0); 84 return recorder.finishRecordingAsPicture().release();
|
/external/skia/bench/ |
H A D | RecordingBench.cpp | 61 SkPictureRecorder recorder; local 63 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr)); 64 (void)recorder.finishRecordingAsPicture();
|
H A D | PictureNestingBench.cpp | 51 SkPictureRecorder recorder; local 55 c = recorder.beginRecording(1, 1); 77 canvas->drawPicture(recorder.finishRecordingAsPicture()); 121 SkPictureRecorder recorder; variable 124 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), 127 (void)recorder.finishRecordingAsPicture(); 145 SkPictureRecorder recorder; variable 146 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), 150 fPicture = recorder.finishRecordingAsPicture();
|
/external/autotest/client/cros/bluetooth/ |
H A D | output_recorder.py | 54 """Construction of output recorder. 198 recorder = OutputRecorder(cmd) variable in class:OutputRecorder 201 recorder.start() 203 time.sleep(recorder.stop_delay_secs) 204 recorder.stop() 206 for line in recorder.get_contents():
|
/external/skia/debugger/ |
H A D | SkDebugger.cpp | 35 SkPictureRecorder recorder; local 36 SkCanvas* canvas = recorder.beginRecording(this->pictureCull().width(), 52 return recorder.finishRecordingAsPicture();
|
/external/skia/samplecode/ |
H A D | GMSampleView.cpp | 57 SkPictureRecorder recorder; local 62 canvas = recorder.beginRecording(SkRect::MakeIWH(size.width(), size.height())); 71 sk_sp<SkPicture> pic = recorder.finishRecordingAsPicture();
|
H A D | SampleArc.cpp | 96 SkPictureRecorder recorder; local 97 this->drawRoot(recorder.beginRecording(SkRect::MakeWH(800, 500))); 98 fRootDrawable = recorder.finishRecordingAsDrawable();
|
/external/skia/tests/ |
H A D | ImageIsOpaqueTest.cpp | 112 SkPictureRecorder recorder; local 113 SkCanvas* canvas = recorder.beginRecording({ 0, 0, 10, 10 }); 115 return recorder.finishRecordingAsPicture();
|
H A D | PictureBBHTest.cpp | 44 SkPictureRecorder recorder; local 45 SkCanvas* recordCanvas = recorder.beginRecording(SkIntToScalar(fPictureWidth), 49 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
|