/frameworks/base/core/jni/android/graphics/ |
H A D | Picture.cpp | 41 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 D | Graphics.cpp | 327 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);
|
H A D | GraphicsJNI.h | 50 static SkPicture* getNativePicture(JNIEnv*, jobject picture);
|
/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 | 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 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 D | Canvas.java | 1649 * 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/plat_support/ |
H A D | graphics_utils.cpp | 81 jobject CreatePicture(JNIEnv* env, SkPicture* picture) { argument 86 return env->NewObject(clazz, constructor, picture, false);
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
H A D | AutoFocusStateMachine.java | 200 * 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/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 1086 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/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewContentsClientAdapter.java | 347 public void onNewPicture(Picture picture) { argument 351 mPictureListener.onNewPicture(mWebView, picture);
|
/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 362 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 325 * 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...] |