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

1 2 3

  /external/webkit/Source/WebCore/platform/graphics/android/
UpdateManager.cpp 87 void UpdateManager::updatePicture(SkPicture* picture)
89 SkSafeRef(picture);
91 m_deferredPicture = picture;
97 SkPicture* picture = m_paintingPicture; local
98 SkSafeRef(picture);
101 XLOG("UpdateManager %p painting with picture %p", this, picture);
103 if (!picture)
106 canvas->drawPicture(*picture);
110 SkSafeUnref(picture);
    [all...]
PlatformGraphicsContext.cpp 57 // its picture.
61 mCanvas->drawPicture(*(ptr->picture()));
68 // Place a reference to our subpicture in the Picture.
69 mCanvas->drawPicture(*(container.picture()));
UpdateManager.h 53 void updatePicture(SkPicture* picture);
78 // most recently received picture, moved into painting on swap()
TiledTexture.h 73 void update(const SkRegion& dirtyArea, SkPicture* picture);
119 void update(const SkRegion& dirtyArea, SkPicture* picture);
PaintedSurface.cpp 72 if (layer && layer->picture())
73 m_updateManager.updatePicture(layer->picture());
117 if (layer && layer->picture())
118 m_updateManager.updatePicture(layer->picture());
TiledTexture.cpp 143 XLOG("TT %p swapping, now painting with picture %p"
170 void TiledTexture::update(const SkRegion& invalRegion, SkPicture* picture)
172 XLOG("TT %p, update manager %p updated with picture %p, region empty %d",
173 this, &m_updateManager, picture, invalRegion.isEmpty());
174 // attempt to update inval and picture. these may be deferred below instead
177 m_updateManager.updatePicture(picture);
359 void DualTiledTexture::update(const SkRegion& dirtyArea, SkPicture* picture)
361 m_backTexture->update(dirtyArea, picture);
362 m_frontTexture->update(dirtyArea, picture);
LayerAndroid.h 199 SkPicture* picture() const { return m_recordingPicture; } function in class:WebCore::LayerAndroid
408 LayerAndroid(SkPicture* picture) :
409 m_recordingPicture(picture), // does not assign ownership
412 SkPicture* picture() const { return m_recordingPicture; }
  /frameworks/base/core/jni/android/graphics/
Picture.cpp 40 SkPicture* picture = NULL; local
43 picture = new SkPicture(strm);
46 return picture;
49 static void killPicture(JNIEnv* env, jobject, SkPicture* picture) {
50 SkASSERT(picture);
51 picture->unref();
55 SkPicture* picture) {
57 SkASSERT(picture);
58 picture->draw(canvas);
61 static bool serialize(JNIEnv* env, jobject, SkPicture* picture,
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PictureTest.java 28 import android.graphics.Picture;
36 @TestTargetClass(Picture.class)
45 method = "Picture",
50 method = "Picture",
51 args = {android.graphics.Picture.class}
91 Picture picture = new Picture(); local
94 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
97 picture.endRecording()
    [all...]
  /external/webp/include/webp/
encode.h 67 int show_compressed; // if true, export the compressed picture back.
76 // of source picture. These presets are used when calling WebPConfigPreset().
79 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
134 // data/data_size is the segment of data to write, and 'picture' is for
135 // reference (and so one can make use of picture->custom_ptr).
137 const WebPPicture* const picture);
161 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height
205 // 'picture' object.
206 static inline int WebPPictureInit(WebPPicture* const picture) {
207 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION)
217 WEBP_EXTERN(int) WebPPictureAlloc(WebPPicture* const picture); variable
221 WEBP_EXTERN(void) WebPPictureFree(WebPPicture* const picture); variable
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
PictureDrawable.java 25 import android.graphics.Picture;
31 * Drawable subclass that wraps a Picture, allowing the picture to be used
36 private Picture mPicture;
39 * Construct a new drawable referencing the specified picture. The picture
42 * @param picture The picture to associate with the drawable. May be null.
44 public PictureDrawable(Picture picture) {
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
PictureDrawableTest.java 27 import android.graphics.Picture;
37 args = {android.graphics.Picture.class}
41 assertNotNull((new PictureDrawable(new Picture())).getPicture());
52 // Create Picture for drawing
53 Picture picture = new Picture(); local
54 Canvas recodingCanvas = picture.beginRecording(100, 200);
56 picture.endRecording();
57 pictureDrawable.setPicture(picture);
93 Picture picture = new Picture(); local
170 Picture picture = new Picture(); local
    [all...]
  /external/webp/src/enc/
picture.c 24 int WebPPictureAlloc(WebPPicture* const picture) {
25 if (picture) {
26 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK;
27 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT;
28 const int width = picture->width;
29 const int height = picture->height;
74 picture->y_stride = y_stride;
75 picture->uv_stride = uv_stride;
76 picture->a_stride = a_stride;
77 picture->uv0_stride = uv0_stride
    [all...]
webpenc.c 42 const WebPPicture* const picture) {
46 (void)picture;
50 int WebPPictureInitInternal(WebPPicture* const picture, int version) {
54 if (picture) {
55 memset(picture, 0, sizeof(*picture));
56 picture->writer = DummyWriter;
57 WebPEncodingSetError(picture, VP8_ENC_OK);
125 // Typical memory footprint (768x510 picture)
141 // Picture size (yuv): 58982
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
meye.h 42 unsigned char picture; member in struct:meye_params
  /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 (via picture.draw(canvas) or canvas.drawPicture).
25 * The picture's contents can also be written to a stream, and then later
26 * restored to a new picture (via writeToStream / createFromStream). For most
27 * content (esp. text, lines, rectangles), drawing a sequence from a picture can
28 * be faster than the equivalent API calls, since the picture performs its
31 public class Picture {
37 public Picture() {
42 * Create a picture by making a copy of what has already been recorded in
44 * changes will not be reflected in this picture
    [all...]
Canvas.java 43 /* Our native canvas can be either a raster, gl, or picture canvas.
    [all...]
  /external/webkit/Source/WebKit/android/jni/
PictureSet.h 73 PictureSet(SkPicture* picture);
86 void add(const SkRegion& area, SkPicture* picture,
100 void add(const SkRegion& area, SkPicture* picture,
133 bool mEmpty : 8; // true if the picture only draws white
PictureSet.cpp 95 PictureSet::PictureSet(SkPicture* picture) :
103 if (!picture) {
107 setDimensions(picture->width(), picture->height());
124 picture->draw(canvas);
133 pictureAndBounds.mPicture = picture;
161 void PictureSet::add(const SkRegion& area, SkPicture* picture,
168 add(area, picture, elapsed, split, false);
179 add(newArea, picture, elapsed, split, false);
209 XLOGC("- in %x, bucketPicture %d,%d,%d,%d - %dx%d, picture: %x, base: %x"
284 BucketPicture picture = { 0, totalArea, area, false }; local
714 BucketPicture& picture = bucket->at(j); local
1000 BucketPicture picture = { current->mPicture, current->mArea, local
    [all...]
  /external/webkit/Source/WebKit/android/nav/
CachedLayer.h 55 SkPicture* picture(const LayerAndroid* root) const;
SelectText.h 76 SkIRect findLeft(const SkPicture& picture, const SkIRect& area,
78 SkIRect findRight(const SkPicture& picture, const SkIRect& area,
99 SkIRect m_visibleRect; // constrains picture computations to visible area
CachedLayer.cpp 143 SkPicture* CachedLayer::picture(const LayerAndroid* root) const function in class:android::CachedLayer
148 DBG_NAV_LOGD("root=%p aLayer=%p [%d] picture=%p",
149 root, aLayer, aLayer->uniqueId(), aLayer->picture());
150 return aLayer->picture();
194 " matrix=(%g,%g) childMatrix=(%g,%g) picture=%p clipped=%s"
204 layer->picture(), layer->m_haveClip ? "true" : "false",
  /external/flac/libFLAC/
metadata_object.c 489 object->data.picture.type = FLAC__STREAM_METADATA_PICTURE_TYPE_OTHER;
490 object->data.picture.mime_type = 0;
491 object->data.picture.description = 0;
493 object->data.picture.width = 0;
494 object->data.picture.height = 0;
495 object->data.picture.depth = 0;
496 object->data.picture.colors = 0;
497 object->data.picture.data_length = 0;
498 object->data.picture.data = 0;
501 if(!copy_cstring_(&object->data.picture.mime_type, ""))
    [all...]
stream_encoder_framing.c 183 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.type, FLAC__STREAM_METADATA_PICTURE_TYPE_LEN))
185 len = strlen(metadata->data.picture.mime_type);
188 if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.picture.mime_type, len))
190 len = strlen((const char *)metadata->data.picture.description);
193 if(!FLAC__bitwriter_write_byte_block(bw, metadata->data.picture.description, len))
195 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.width, FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN))
197 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.height, FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN))
199 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.depth, FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN))
201 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.colors, FLAC__STREAM_METADATA_PICTURE_COLORS_LEN))
203 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.picture.data_length, FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN)
    [all...]
  /hardware/ti/omap4xxx/camera/
AppCallbackNotifier.cpp 61 camera_memory_t* picture = NULL; local
91 picture = mRequestMemory(-1, jpeg_size + exif_section->Size, 1, NULL);
92 if (picture && picture->data) {
93 exif->saveJpeg((unsigned char*) picture->data, jpeg_size + exif_section->Size);
99 picture = mRequestMemory(-1, jpeg_size, 1, NULL);
100 if (picture && picture->data) {
101 memcpy(picture->data, encoded_mem->data, jpeg_size);
114 if(picture && (mNotifierState==AppCallbackNotifier::NOTIFIER_STARTED) &
606 camera_memory_t* picture = NULL; local
642 camera_memory_t* picture = NULL; local
    [all...]

Completed in 793 milliseconds

1 2 3