HomeSort by relevance Sort by last modified time
    Searched refs:Picture (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /frameworks/base/core/jni/android/graphics/
Picture.h 36 class Picture {
38 explicit Picture(const Picture* src = NULL);
48 static Picture* CreateFromStream(SkStream* stream);
60 // Make a copy of a picture that is in the midst of being recorded. The
61 // resulting picture will have balanced saves and restores.
Picture.cpp 18 #include "Picture.h"
24 Picture::Picture(const Picture* src) {
39 Canvas* Picture::beginRecording(int width, int height) {
47 // Canvas.java and our picture can both be owners
52 void Picture::endRecording() {
59 int Picture::width() const {
68 int Picture::height() const {
77 Picture* Picture::CreateFromStream(SkStream* stream)
    [all...]
  /frameworks/base/core/jni/
android_graphics_Picture.cpp 21 #include "Picture.h"
31 const Picture* src = reinterpret_cast<Picture*>(srcHandle);
32 return reinterpret_cast<jlong>(new Picture(src));
37 Picture* picture = NULL; local
40 picture = Picture::CreateFromStream(strm);
43 return reinterpret_cast<jlong>(picture);
47 Picture* picture = reinterpret_cast<Picture*>(pictureHandle) local
55 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); local
63 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLSourceElement.idl 32 [Reflect, RuntimeEnabled=Picture] attribute DOMString srcset;
33 [Reflect, RuntimeEnabled=Picture] attribute DOMString sizes;
34 [Reflect, RuntimeEnabled=Picture] attribute DOMString media;
HTMLPictureElement.cpp 34 UseCounter::count(document(), UseCounter::Picture);
  /external/chromium_org/cc/debug/
traced_picture.h 12 #include "cc/resources/picture.h"
18 explicit TracedPicture(scoped_refptr<const Picture>);
21 AsTraceablePicture(const Picture* picture);
24 AsTraceablePictureAlias(const Picture* original);
34 scoped_refptr<const Picture> picture_;
rasterize_and_record_benchmark.cc 28 const char* kModeSuffixes[Picture::RECORDING_MODE_COUNT] = {
65 for (int i = 0; i < Picture::RECORDING_MODE_COUNT; i++) {
114 for (int mode_index = 0; mode_index < Picture::RECORDING_MODE_COUNT;
116 Picture::RecordingMode mode =
117 static_cast<Picture::RecordingMode>(mode_index);
132 scoped_refptr<Picture> picture = Picture::Create( local
142 if (mode == Picture::RECORD_NORMALLY) {
traced_picture.cc 13 TracedPicture::TracedPicture(scoped_refptr<const Picture> picture)
14 : picture_(picture), is_alias_(false) {}
20 TracedPicture::AsTraceablePicture(const Picture* picture) {
22 new TracedPicture(picture));
26 TracedPicture::AsTraceablePictureAlias(const Picture* original) {
  /external/chromium_org/cc/test/
skia_common.h 20 class Picture;
24 scoped_refptr<Picture> picture);
  /external/chromium_org/cc/resources/
picture.h 41 class CC_EXPORT Picture
42 : public base::RefCountedThreadSafe<Picture> {
56 static scoped_refptr<Picture> Create(
62 static scoped_refptr<Picture> CreateFromValue(const base::Value* value);
63 static scoped_refptr<Picture> CreateFromSkpValue(const base::Value* value);
84 // Draw the picture directly into the given canvas, without applying any
91 // raster this layer rect from this picture. Internally, pixel refs are
96 PixelRefIterator(const gfx::Rect& layer_rect, const Picture* picture);
116 const Picture* picture_
    [all...]
picture_unittest.cc 5 #include "cc/resources/picture.h"
42 // Invalid picture (not a dict).
44 scoped_refptr<Picture> invalid_picture =
45 Picture::CreateFromValue(tmp.get());
48 Picture::RecordingMode kRecordingModes[] = {Picture::RECORD_NORMALLY,
49 Picture::RECORD_WITH_SKRECORD};
51 // Single full-size rect picture.
55 scoped_refptr<Picture> one_rect_picture =
56 Picture::Create(layer_rect
143 scoped_refptr<Picture> picture = Picture::Create(layer_rect, local
243 scoped_refptr<Picture> picture = Picture::Create(layer_rect, local
366 scoped_refptr<Picture> picture = Picture::Create(layer_rect, local
452 scoped_refptr<Picture> picture = Picture::Create(layer_rect, local
    [all...]
picture.cc 5 #include "cc/resources/picture.h"
87 scoped_refptr<Picture> Picture::Create(
93 scoped_refptr<Picture> picture = make_scoped_refptr(new Picture(layer_rect)); local
95 picture->Record(client, tile_grid_info, recording_mode);
97 picture->GatherPixelRefs(tile_grid_info);
99 return picture;
102 Picture::Picture(const gfx::Rect& layer_rect
    [all...]
picture_pile.h 20 // Re-record parts of the picture that are invalid.
34 Picture::RecordingMode recording_mode,
picture_pile_base.h 17 #include "cc/resources/picture.h"
80 void SetPicture(scoped_refptr<Picture> picture);
81 const Picture* GetPicture() const;
92 scoped_refptr<const Picture> picture_;
111 // A picture pile is a tiled set of pictures. The picture map is a map of tile
112 // indices to picture infos.
  /frameworks/base/graphics/java/android/graphics/
Picture.java 23 * A Picture records drawing calls (via the canvas returned by beginRecording)
24 * and can then play them back into Canvas (via {@link Picture#draw(Canvas)} or
25 * {@link Canvas#drawPicture(Picture)}).For most content (e.g. text, lines, rectangles),
26 * drawing a sequence from a picture can be faster than the equivalent API
27 * calls, since the picture performs its playback without incurring any
30 public class Picture {
37 * Creates an empty picture that is ready to record.
39 public Picture() {
44 * Create a picture by making a copy of what has already been recorded in
46 * changes will not be reflected in this picture
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
PictureDrawable.java 22 import android.graphics.Picture;
27 * Drawable subclass that wraps a Picture, allowing the picture to be used
32 private Picture mPicture;
35 * Construct a new drawable referencing the specified picture. The picture
38 * @param picture The picture to associate with the drawable. May be null.
40 public PictureDrawable(Picture picture) {
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
PictureDrawableTest.java 23 import android.graphics.Picture;
31 assertNotNull((new PictureDrawable(new Picture())).getPicture());
37 // Create Picture for drawing
38 Picture picture = new Picture(); local
39 Canvas recodingCanvas = picture.beginRecording(100, 200);
41 picture.endRecording();
42 pictureDrawable.setPicture(picture);
62 // Test with null Picture objec
66 Picture picture = new Picture(); local
106 Picture picture = new Picture(); local
    [all...]
  /external/chromium_org/media/video/
picture.cc 5 #include "media/video/picture.h"
25 Picture::Picture(int32 picture_buffer_id,
picture.h 16 // A picture buffer that is composed of a GLES2 texture.
54 // A decoded picture frame.
56 class MEDIA_EXPORT Picture {
58 Picture(int32 picture_buffer_id,
62 // Returns the id of the picture buffer where this picture is contained.
76 // Returns the visible rectangle of the picture. Its size may be smaller
78 // Picture contained in the PictureBuffer.
  /cts/tests/tests/graphics/src/android/graphics/cts/
PictureTest.java 29 import android.graphics.Picture;
41 // This method tests out some edge cases w.r.t. Picture creation.
43 // the created picture (effectively) has balanced saves and restores:
44 // - copy constructed picture from actively recording picture
45 // - writeToStream/createFromStream created picture from actively recording picture
46 // - actively recording picture after draw call
48 Picture original = new Picture();
111 Picture picture = new Picture(); local
    [all...]
  /external/skia/include/core/
SkPictureRecorder.h 17 class Picture;
32 @param width the base width for the picture, as if the recording
34 @param height the base width for the picture, as if the recording
55 created SkPicture. Note that the returned picture has its creation
60 /** Enable/disable all the picture recording optimizations (i.e.,
75 friend class android::Picture;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Pictures.java 37 private Picture mPicture;
56 mPicture = new Picture();
77 canvas.drawPicture(Picture.createFromStream(is));
  /external/chromium-trace/trace-viewer/src/cc/
picture_view_test_data.js 13 'name': 'cc::Picture',
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwPicture.java 8 import android.graphics.Picture;
18 class AwPicture extends Picture {
22 // There is no explicit destroy method on Picture base-class, so cleanup is always
54 // Intentional no-op. The native picture ended recording prior to java c'tor call.
  /external/chromium_org/third_party/skia/include/core/
SkPictureRecorder.h 17 class Picture;
41 @param width the width of the cull rect used when recording this picture.
42 @param height the height of the cull rect used when recording this picture.
72 created SkPicture. Note that the returned picture has its creation
77 /** Enable/disable all the picture recording optimizations (i.e.,
92 friend class android::Picture;

Completed in 1678 milliseconds

1 2 3 4 5