Home | History | Annotate | Download | only in tests

Lines Matching full:picture

69 // Return a picture with the bitmaps drawn at the specified positions.
94 // Allocate result to be large enough to hold subset, and then draw the picture
251 SkPicture picture;
253 picture.beginRecording(0, 0);
255 picture.endRecording();
257 picture.beginRecording(0, 0);
260 // Ensure that serializing an empty picture does not assert. Likewise only runs in debug mode.
262 SkPicture picture;
263 picture.beginRecording(0, 0);
264 picture.endRecording();
266 picture.serialize(&stream);
296 SkPicture picture;
297 SkCanvas* canvas = picture.beginRecording(100, 100);
302 picture.endRecording();
308 SkPicture picture;
309 SkCanvas* canvas = picture.beginRecording(100, 100);
319 picture.endRecording();
331 SkPicture picture;
332 SkCanvas* recordingCanvas = picture.beginRecording(100, 100);
334 picture.endRecording();
337 canvas.drawPicture(picture);
349 SkPicture picture;
350 SkCanvas* canvas = picture.beginRecording(bitmap.width(), bitmap.height());
353 picture.serialize(&wStream, &encode_bitmap_to_data);
410 // had a picture with no paints. This test passes by not crashing.
412 SkPicture picture;
413 picture.beginRecording(1, 1);
414 picture.endRecording();
415 SkPicture* destPicture = picture.clone();
421 SkPicture picture;
422 picture.beginRecording(1, 1);
423 SkPicture* destPicture = picture.clone();
449 SkPicture picture;
450 SkCanvas* canvas = picture.beginRecording(10, 10,
461 SkPicture picture;
462 SkCanvas* canvas = picture.beginRecording(10, 10,
474 SkPicture picture;
475 SkCanvas* canvas = picture.beginRecording(10, 10,
487 SkPicture picture;
488 SkCanvas* canvas = picture.beginRecording(10, 10,
499 SkPicture picture;
500 SkCanvas* canvas = picture.beginRecording(10, 10,
514 SkPicture picture;
515 SkCanvas* canvas = picture.beginRecording(10, 10,
565 SkPicture picture;
566 SkCanvas* canvas = picture.beginRecording(10, 10, 0);
578 picture.draw(&testCanvas);
627 DEF_TEST(Picture, reporter) {