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

/frameworks/base/core/jni/android/graphics/
H A DPicture.cpp41 SkPicture* picture = NULL; local
44 picture = SkPicture::CreateFromStream(strm);
47 return picture;
50 static void killPicture(JNIEnv* env, jobject, SkPicture* picture) { argument
51 SkASSERT(picture);
52 picture->unref();
56 SkPicture* picture) {
58 SkASSERT(picture);
59 picture->draw(canvas);
62 static bool serialize(JNIEnv* env, jobject, SkPicture* picture, argument
55 draw(JNIEnv* env, jobject, SkCanvas* canvas, SkPicture* picture) argument
[all...]
H A DGraphics.cpp327 SkPicture* GraphicsJNI::getNativePicture(JNIEnv* env, jobject picture) argument
330 SkASSERT(picture);
331 SkASSERT(env->IsInstanceOf(picture, gPicture_class));
332 SkPicture* p = (SkPicture*)env->GetIntField(picture, gPicture_nativeInstanceID);
/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/ex/camera2/public/src/com/android/ex/camera2/pos/
H A DAutoFocusStateMachine.java200 * Lock the lens from moving. Typically used before taking a picture.
240 * Unlock the lens, allowing it to move again. Typically used after taking a picture.
325 * the lens before taking a picture. Once a picture is taken, use {@link #unlockAutoFocus}
332 * @param picture True for still capture AF, false for video AF.
334 public synchronized void setPassiveAutoFocus(boolean picture, argument
336 if (VERBOSE_LOGGING) Log.v(TAG, "setPassiveAutoFocus - picture " + picture);
338 if (picture) {
/frameworks/webview/chromium/plat_support/
H A Dgraphics_utils.cpp81 jobject CreatePicture(JNIEnv* env, SkPicture* picture) { argument
86 return env->NewObject(clazz, constructor, picture, false);
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java26 * drawing a sequence from a picture can be faster than the equivalent API
27 * calls, since the picture performs its playback without incurring any
42 * Creates an empty picture that is ready to record.
49 * Create a picture by making a copy of what has already been recorded in
51 * changes will not be reflected in this picture.
58 * To record a picture, call beginRecording() and then draw into the Canvas
72 * Call endRecording when the picture is built. After this call, the picture
85 * Get the width of the picture as passed to beginRecording. This
86 * does not reflect (per se) the content of the picture
206 drawPicture(Picture picture) argument
[all...]
H A DCanvas.java1649 * Save the canvas state, draw the picture, and restore the canvas state.
1650 * This differs from picture.draw(canvas), which does not perform any
1654 * <strong>Note:</strong> This forces the picture to internally call
1657 * @param picture The picture to be drawn
1659 public void drawPicture(Picture picture) { argument
1660 picture.endRecording();
1662 picture.draw(this);
1667 * Draw the picture, stretched to fit into the dst rectangle.
1669 public void drawPicture(Picture picture, Rect argument
1682 drawPicture(Picture picture, Rect dst) argument
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java347 public void onNewPicture(Picture picture) { argument
351 mPictureListener.onNewPicture(mWebView, picture);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java1086 public void drawPicture(Picture picture) { argument
1087 if (picture.createdFromStream) {
1091 picture.endRecording();
1096 public void drawPicture(Picture picture, Rect dst) { argument
1097 if (picture.createdFromStream) {
1103 if (picture.getWidth() > 0 && picture.getHeight() > 0) {
1104 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight());
1106 drawPicture(picture);
1111 drawPicture(Picture picture, RectF dst) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java325 * Used to provide notification that the WebView's picture has changed.
326 * See {@link WebView#capturePicture} for details of the picture.
328 * @param view the WebView that owns the picture
329 * @param picture the new picture. Applications targeting
335 public void onNewPicture(WebView view, Picture picture); argument
722 * @param dest the file to store the serialized picture data. Will be
723 * overwritten with this WebView's picture data.
724 * @return true if the picture was successfully saved
741 * @param src the file where the picture dat
[all...]

Completed in 269 milliseconds