Searched defs:picture (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DPicture.cpp40 SkPicture* picture = NULL; local
43 picture = new SkPicture(strm);
46 return picture;
49 static void killPicture(JNIEnv* env, jobject, SkPicture* picture) { argument
50 SkASSERT(picture);
51 delete picture;
55 SkPicture* picture) {
57 SkASSERT(picture);
58 picture->draw(canvas);
61 static bool serialize(JNIEnv* env, jobject, SkPicture* picture, argument
54 draw(JNIEnv* env, jobject, SkCanvas* canvas, SkPicture* picture) argument
[all...]
H A DGraphics.cpp341 SkPicture* GraphicsJNI::getNativePicture(JNIEnv* env, jobject picture) argument
344 SkASSERT(picture);
345 SkASSERT(env->IsInstanceOf(picture, gPicture_class));
346 SkPicture* p = (SkPicture*)env->GetIntField(picture, gPicture_nativeInstanceID);
H A DCanvas.cpp453 SkPicture* picture) {
455 SkASSERT(picture);
460 canvas->drawPicture(*picture);
462 LOGD("---- picture playback %d ms\n", get_thread_msec() - now);
452 drawPicture(JNIEnv* env, jobject, SkCanvas* canvas, SkPicture* picture) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java31 * Drawable subclass that wraps a Picture, allowing the picture to be used
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) { argument
45 mPicture = picture;
49 * Return the picture associated with the drawable. May be null.
51 * @return the picture associated with the drawable, or null.
58 * Associate a picture wit
62 setPicture(Picture picture) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java23 * 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
42 * Create a picture by making a copy of what has already been recorded in
44 * changes will not be reflected in this picture.
51 * To record a picture, call beginRecording() and then draw into the Canvas
64 * Call endRecording when the picture i
167 drawPicture(Picture picture) argument
[all...]
H A DCanvas.java38 /* Our native canvas can be either a raster, gl, or picture canvas.
1396 * Save the canvas state, draw the picture, and restore the canvas state.
1397 * This differs from picture.draw(canvas), which does not perform any
1400 * @param picture The picture to be drawn
1402 public void drawPicture(Picture picture) { argument
1403 picture.endRecording();
1404 native_drawPicture(mNativeCanvas, picture.ni());
1408 * Draw the picture, stretched to fit into the dst rectangle.
1410 public void drawPicture(Picture picture, Rect argument
1424 drawPicture(Picture picture, Rect dst) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java442 * Empty the picture set.
447 * Create a flat picture from the set of pictures.
449 private native void nativeCopyContentToPicture(Picture picture); argument
452 * Draw the picture set with a background color. Returns true
453 * if some individual picture took too long to draw and can be
459 * check to see if picture is blank and in progress
464 * Redraw a portion of the picture set. The Point wh returns the
465 * width and height of the overall picture.
472 * Splits slow parts of the picture set. Called from the webkit
1696 // Used to avoid posting more than one split picture messag
[all...]
H A DWebView.java433 * triggering the layout and drawing the picture. While the same process
816 // Used to notify listeners of a new picture.
823 * Notify the listener that the picture has changed.
824 * @param view The WebView that owns the picture.
825 * @param picture The new picture.
827 public void onNewPicture(WebView view, Picture picture); argument
1438 * @param dest The file to store the serialized picture data. Will be
1439 * overwritten with this WebView's picture data.
1440 * @return True if the picture wa
[all...]

Completed in 130 milliseconds