Searched defs:picture (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | Picture.cpp | 40 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 picture->unref(); 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 D | Graphics.cpp | 325 SkPicture* GraphicsJNI::getNativePicture(JNIEnv* env, jobject picture) argument 328 SkASSERT(picture); 329 SkASSERT(env->IsInstanceOf(picture, gPicture_class)); 330 SkPicture* p = (SkPicture*)env->GetIntField(picture, gPicture_nativeInstanceID);
|
H A D | Canvas.cpp | 436 SkPicture* picture) { 438 SkASSERT(picture); 443 canvas->drawPicture(*picture); 445 LOGD("---- picture playback %d ms\n", get_thread_msec() - now); 435 drawPicture(JNIEnv* env, jobject, SkCanvas* canvas, SkPicture* picture) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PictureDrawable.java | 31 * 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 D | 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 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 D | Canvas.java | 43 /* Our native canvas can be either a raster, gl, or picture canvas. 1597 * Save the canvas state, draw the picture, and restore the canvas state. 1598 * This differs from picture.draw(canvas), which does not perform any 1601 * @param picture The picture to be drawn 1603 public void drawPicture(Picture picture) { argument 1604 picture.endRecording(); 1605 native_drawPicture(mNativeCanvas, picture.ni()); 1609 * Draw the picture, stretched to fit into the dst rectangle. 1611 public void drawPicture(Picture picture, Rect argument 1625 drawPicture(Picture picture, Rect dst) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 894 public void drawPicture(Picture picture) { argument 899 public void drawPicture(Picture picture, Rect dst) { argument 904 public void drawPicture(Picture picture, RectF dst) { argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 487 * triggering the layout and drawing the picture. While the same process 680 // If we are using a set picture, don't send view updates to webkit 930 // Used to track whether picture updating was paused due to a window focus change. 933 // Used to notify listeners of a new picture. 942 * Notify the listener that the picture has changed. 943 * @param view The WebView that owns the picture. 944 * @param picture The new picture. 945 * @deprecated Due to internal changes, the picture does not include 952 public void onNewPicture(WebView view, Picture picture); argument [all...] |
Completed in 141 milliseconds