Searched refs:recorder (Results 1 - 25 of 134) sorted by relevance

123456

/external/chromium_org/third_party/skia/tests/
H A DRecordPatternTest.cpp20 SkRecorder recorder(&record, 1920, 1200);
23 recorder.save();
26 recorder.clipRect(SkRect::MakeWH(300, 200));
29 recorder.restore();
40 SkRecorder recorder(&record, 1920, 1200);
44 recorder.save();
45 recorder.clipRect(SkRect::MakeWH(300, 200));
46 recorder.restore();
63 SkRecorder recorder(&record, 1920, 1200);
65 recorder
[all...]
H A DRecorderTest.cpp43 SkRecorder recorder(&record, 1920, 1080);
45 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint());
56 SkRecorder recorder(&record, 1920, 1080);
58 recorder.beginCommentGroup("test");
59 recorder.addComment("foo", "bar");
60 recorder.addComment("baz", "quux");
61 recorder.endCommentGroup();
75 SkRecorder recorder(&record, 100, 100);
78 recorder.drawData(data, strlen(data));
98 SkRecorder recorder(
[all...]
H A DRecordOptsTest.cpp21 SkRecorder recorder(&record, W, H);
24 recorder.save();
25 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint());
26 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint());
27 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint());
28 recorder.restore();
43 SkRecorder recorder(&record, W, H);
45 recorder.save();
46 recorder.clipRect(SkRect::MakeWH(200, 200));
47 recorder
[all...]
H A DRecordDrawTest.cpp34 SkRecorder recorder(&record, W, H);
35 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint());
36 recorder.clipRect(SkRect::MakeWH(100, 200));
52 SkRecorder recorder(&record, W, H);
53 recorder.save(); // We won't balance this, but SkRecordDraw will for us.
133 SkRecorder recorder(&record, W, H);
134 recorder.save();
135 recorder.clipRect(SkRect::MakeWH(400, 500));
136 recorder.scale(2, 2);
137 recorder
[all...]
H A DRecordReplaceDrawTest.cpp35 SkRecorder recorder(&record, kWidth, kHeight);
36 recorder.drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint());
37 recorder.clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)));
55 SkRecorder recorder(&record, kWidth, kHeight);
56 recorder.save(); // We won't balance this, but GrRecordReplaceDraw will for us.
86 SkRecorder recorder(&record, kWidth, kHeight);
88 recorder.saveLayer(NULL, paint);
89 recorder.clear(SK_ColorRED);
90 recorder.restore();
91 recorder
[all...]
/external/skia/tests/
H A DRecordPatternTest.cpp20 SkRecorder recorder(&record, 1920, 1200);
23 recorder.save();
26 recorder.clipRect(SkRect::MakeWH(300, 200));
29 recorder.restore();
40 SkRecorder recorder(&record, 1920, 1200);
44 recorder.save();
45 recorder.clipRect(SkRect::MakeWH(300, 200));
46 recorder.restore();
63 SkRecorder recorder(&record, 1920, 1200);
65 recorder
[all...]
H A DRecordOptsTest.cpp21 SkRecorder recorder(&record, W, H);
23 recorder.drawRect(SkRect::MakeWH(1000, 10000), SkPaint());
25 recorder.pushCull(SkRect::MakeWH(100, 100));
26 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint());
27 recorder.drawRect(SkRect::MakeWH(30, 30), SkPaint());
28 recorder.pushCull(SkRect::MakeWH(5, 5));
29 recorder.drawRect(SkRect::MakeWH(1, 1), SkPaint());
30 recorder.popCull();
31 recorder.popCull();
41 SkRecorder recorder(
[all...]
H A DRecordDrawTest.cpp32 SkRecorder recorder(clipped, W, H);
33 recorder.clipRect(clip);
34 SkRecordDraw(record, &recorder);
39 SkRecorder recorder(&record, W, H);
41 draw_pos_text_h(&recorder, "This will draw.", 20);
42 draw_pos_text_h(&recorder, "This won't.", 5000);
56 SkRecorder recorder(&record, W, H);
58 recorder.pushCull(SkRect::MakeWH(100, 100));
59 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint());
60 recorder
[all...]
H A DRecorderTest.cpp43 SkRecorder recorder(&record, 1920, 1080);
45 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint());
65 SkRecorder recorder(&record, 1920, 1080);
66 recorder.saveLayer(&bounds, &paint);
H A DPictureTest.cpp317 SkPictureRecorder recorder; local
318 SkCanvas* canvas = recorder.beginRecording(1000, 1000);
329 return recorder.endRecording();
672 SkPictureRecorder recorder; local
674 recorder.beginRecording(0, 0);
676 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
678 recorder.beginRecording(0, 0);
683 SkPictureRecorder recorder; local
684 recorder.beginRecording(0, 0);
685 SkAutoTUnref<SkPicture> picture(recorder
714 SkPictureRecorder recorder; local
812 SkPictureRecorder recorder; local
978 Copy(SkPictureRecorder* recorder) argument
1032 SkPictureRecorder recorder; local
1055 SkPictureRecorder recorder; local
1085 SkPictureRecorder recorder; local
1112 SkPictureRecorder recorder; local
1167 SkPictureRecorder recorder; local
1205 SkPictureRecorder recorder; local
1220 SkPictureRecorder recorder; local
1286 SkPictureRecorder recorder; local
1302 SkPictureRecorder recorder; local
1317 SkPictureRecorder recorder; local
1327 SkPictureRecorder recorder; local
1337 SkPictureRecorder recorder; local
1362 SkPictureRecorder recorder; local
1478 SkPictureRecorder recorder; local
1501 SkPictureRecorder recorder; local
1546 SkPictureRecorder recorder; local
1634 SkPictureRecorder recorder; local
[all...]
/external/chromium_org/net/quic/
H A Dquic_sustained_bandwidth_recorder_test.cc16 QuicSustainedBandwidthRecorder recorder; local
17 EXPECT_FALSE(recorder.HasEstimate());
30 recorder.RecordEstimate(in_recovery, in_slow_start, bandwidth, estimate_time,
32 EXPECT_FALSE(recorder.HasEstimate());
37 recorder.RecordEstimate(in_recovery, in_slow_start, bandwidth, estimate_time,
39 EXPECT_FALSE(recorder.HasEstimate());
44 recorder.RecordEstimate(in_recovery, in_slow_start, bandwidth, estimate_time,
46 EXPECT_TRUE(recorder.HasEstimate());
47 EXPECT_EQ(recorder.BandwidthEstimate(), bandwidth);
48 EXPECT_EQ(recorder
96 QuicSustainedBandwidthRecorder recorder; local
[all...]
/external/chromium_org/components/translate/core/common/
H A Dtranslate_metrics_unittest.cc161 MetricsRecorder recorder(
164 recorder.CheckLanguage(translate::UMA_CONTENT_LANGUAGE, 0, 0, 0);
166 recorder.CheckLanguage(translate::UMA_CONTENT_LANGUAGE, 1, 0, 0);
168 recorder.CheckLanguage(translate::UMA_CONTENT_LANGUAGE, 1, 0, 1);
170 recorder.CheckLanguage(translate::UMA_CONTENT_LANGUAGE, 1, 1, 1);
174 MetricsRecorder recorder(translate::GetMetricsName(translate::UMA_HTML_LANG));
176 recorder.CheckLanguage(translate::UMA_HTML_LANG, 0, 0, 0);
178 recorder.CheckLanguage(translate::UMA_HTML_LANG, 1, 0, 0);
180 recorder.CheckLanguage(translate::UMA_HTML_LANG, 1, 0, 1);
182 recorder
[all...]
/external/chromium_org/components/translate/core/browser/
H A Dtranslate_browser_metrics_unittest.cc126 MetricsRecorder recorder(translate::TranslateBrowserMetrics::GetMetricsName(
129 recorder.CheckInitiationStatus(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
132 recorder.CheckInitiationStatus(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
135 recorder.CheckInitiationStatus(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
138 recorder.CheckInitiationStatus(1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0);
142 recorder.CheckInitiationStatus(1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0);
146 recorder.CheckInitiationStatus(1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0);
150 recorder.CheckInitiationStatus(1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0);
153 recorder.CheckInitiationStatus(1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0);
156 recorder
[all...]
/external/chromium_org/third_party/skia/gm/
H A Ddistantclip.cpp33 SkPictureRecorder recorder; local
37 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, NULL, 0);
46 SkAutoTUnref<SkPicture> pict(recorder.endRecording());
49 pict->playback(recorder.beginRecording(pict->cullRect().width(),
52 SkAutoTUnref<SkPicture> pict2(recorder.endRecording());
/external/skia/gm/
H A Ddistantclip.cpp33 SkPictureRecorder recorder; local
37 SkCanvas* rec = recorder.beginRecording(100, offset + extents, NULL, 0);
51 SkAutoTUnref<SkPicture> pict(recorder.endRecording());
54 pict->draw(recorder.beginRecording(100, offset + extents, NULL, 0));
55 SkAutoTUnref<SkPicture> pict2(recorder.endRecording());
/external/skia/dm/
H A DDMRecordTask.cpp33 SkRecorder recorder(&record, fReference.width(), fReference.height());
36 recorder.concat(fGM->getInitialTransform());
37 fGM->draw(&recorder);
39 fPicture->draw(&recorder);
/external/chromium_org/third_party/skia/bench/
H A DPictureNestingBench.cpp52 SkPictureRecorder recorder; local
56 c = recorder.beginRecording(1, 1);
78 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
108 SkPictureRecorder recorder; local
111 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()),
114 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
128 SkPictureRecorder recorder; local
129 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()),
133 fPicture.reset(recorder.endRecording());
H A DPictureRecordBench.cpp55 SkPictureRecorder recorder; variable
62 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
63 canvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);
124 SkPictureRecorder recorder; variable
128 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
129 canvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);
162 SkPictureRecorder recorder; variable
163 SkCanvas* canvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePictFile.cpp125 SkPictureRecorder recorder; local
126 SkCanvas* can = recorder.beginRecording(SkIntToScalar(bm.width()),
130 pic.reset(recorder.endRecording());
146 SkPictureRecorder recorder; local
147 pic->playback(recorder.beginRecording(pic->cullRect().width(),
150 SkAutoTUnref<SkPicture> p2(recorder.endRecording());
184 SkPictureRecorder recorder; local
185 pic->playback(recorder.beginRecording(pic->cullRect().width(),
188 return recorder.endRecording();
H A DSamplePicture.cpp65 SkPictureRecorder recorder; local
67 recorder.beginRecording(100, 100, NULL, 0);
68 fSubPicture = recorder.endRecording();
70 SkCanvas* canvas = recorder.beginRecording(100, 100, NULL, 0);
85 fPicture = recorder.endRecording();
135 SkPictureRecorder recorder; local
136 this->drawSomething(recorder.beginRecording(100, 100, NULL, 0));
137 SkAutoTUnref<SkPicture> pict(recorder.endRecording());
/external/skia/samplecode/
H A DSamplePictFile.cpp129 SkPictureRecorder recorder; local
130 SkCanvas* can = recorder.beginRecording(bm.width(), bm.height(), NULL, 0);
132 pic.reset(recorder.endRecording());
147 SkPictureRecorder recorder; local
148 pic->draw(recorder.beginRecording(pic->width(), pic->height(), NULL, 0));
149 SkAutoTUnref<SkPicture> p2(recorder.endRecording());
186 SkPictureRecorder recorder; local
187 pic->draw(recorder.beginRecording(pic->width(), pic->height(), factory.get(), 0));
188 return recorder.endRecording();
/external/chromium_org/ui/aura/
H A Dwindow_event_dispatcher_unittest.cc631 EventFilterRecorder recorder; local
634 window->AddPreTargetHandler(&recorder);
642 EXPECT_TRUE(EventTypesToString(recorder.events()).find("MOUSE_PRESSED") !=
643 std::string::npos) << EventTypesToString(recorder.events());
647 EventFilterRecorder recorder; local
648 root_window()->AddPreTargetHandler(&recorder);
658 recorder.Reset();
666 EXPECT_TRUE(recorder.events().empty());
674 EventTypesToString(recorder.events()));
675 recorder
740 EventFilterRecorder recorder; local
842 EventFilterRecorder recorder; local
875 EventFilterRecorder recorder; local
909 EventFilterRecorder recorder; local
943 EventFilterRecorder recorder; local
987 EventFilterRecorder recorder; local
1034 EventFilterRecorder recorder; local
1071 EventFilterRecorder recorder; local
1318 EventFilterRecorder recorder; local
1677 EventFilterRecorder recorder; local
1702 EventFilterRecorder recorder; local
1982 EventFilterRecorder recorder; local
2322 EventFilterRecorder recorder; local
[all...]
/external/chromium_org/chrome/browser/diagnostics/
H A Dsqlite_diagnostics.cc98 scoped_refptr<ErrorRecorder> recorder(new ErrorRecorder);
105 recorder->AsWeakPtr(),
112 if (recorder->has_error()) {
114 recorder->FormatError());
119 if (recorder->has_error()) {
121 recorder->FormatError());
142 if (recorder->has_error()) {
144 recorder->FormatError());
/external/chromium_org/ui/events/test/
H A Dtest_event_handler.h35 void set_recorder(HandlerSequenceRecorder* recorder) { argument
36 recorder_ = recorder;
/external/skia/bench/
H A DPictureRecordBench.cpp55 SkPictureRecorder recorder; variable
62 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
63 canvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);
124 SkPictureRecorder recorder; variable
128 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
129 canvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);
162 SkPictureRecorder recorder; variable
163 SkCanvas* canvas = recorder.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT, NULL, 0);

Completed in 572 milliseconds

123456