Searched refs:Picture (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_Picture.cpp19 #include "Picture.h"
29 const Picture* src = reinterpret_cast<Picture*>(srcHandle);
30 return reinterpret_cast<jlong>(new Picture(src));
35 Picture* picture = NULL;
38 picture = Picture::CreateFromStream(strm);
45 Picture* picture = reinterpret_cast<Picture*>(pictureHandle);
53 Picture* picture = reinterpret_cast<Picture*>(pictureHandl
[all...]
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/
H A DPicture.kt21 import android.graphics.Picture
24 * Creates a new [Canvas] to record commands in this [Picture], executes the specified
25 * [block] on the newly created canvas and returns this [Picture]. Example:
35 inline fun Picture.record(width: Int, height: Int, block: Canvas.() -> Unit): Picture {
/frameworks/base/core/jni/android/graphics/
H A DPicture.h37 class Picture { class in namespace:android
39 explicit Picture(const Picture* src = NULL);
49 static Picture* CreateFromStream(SkStream* stream);
H A DPicture.cpp17 #include "Picture.h"
25 Picture::Picture(const Picture* src) { function in class:android::Picture
40 Canvas* Picture::beginRecording(int width, int height) {
49 void Picture::endRecording() {
56 int Picture::width() const {
60 int Picture::height() const {
64 Picture* Picture
[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 into Canvas (via {@link Picture#draw(Canvas)} or
25 * {@link Canvas#drawPicture(Picture)}).For most content (e.g. text, lines, rectangles),
33 public class Picture { class
43 public Picture() { method in class:Picture
52 public Picture(Picture src) { method in class:Picture
56 private Picture(long nativePicture) { method in class:Picture
83 throw new IllegalStateException("Picture already recording, must call #endRecording()");
94 * be used anymore. This is automatically called if {@link Picture#dra
[all...]
H A DCanvas.java1208 * {@link Picture#endRecording} in order to prepare for playback.
1212 public void drawPicture(@NonNull Picture picture) {
1222 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) {
1235 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) {
H A DBitmap.java1193 * Creates a Bitmap from the given {@link Picture} source of recorded drawing commands.
1195 * Equivalent to calling {@link #createBitmap(Picture, int, int, Config)} with
1196 * width and height the same as the Picture's width and height and a Config.HARDWARE
1199 * @param source The recorded {@link Picture} of drawing commands that will be
1202 * from the recorded drawing commands in the Picture source.
1204 public static @NonNull Bitmap createBitmap(@NonNull Picture source) {
1209 * Creates a Bitmap from the given {@link Picture} source of recorded drawing commands.
1212 * are not the same as the Picture's width & height, the Picture will be scaled to
1215 * @param source The recorded {@link Picture} o
[all...]
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/
H A DPictureTest.kt20 import android.graphics.Picture
26 val p = Picture().record(1, 1) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java22 import android.graphics.Picture;
27 * Drawable subclass that wraps a Picture, allowing the picture to be used
32 private Picture mPicture;
40 public PictureDrawable(Picture picture) {
49 public Picture getPicture() {
58 public void setPicture(Picture picture) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDrawIntoHwBitmapActivity.java30 import android.graphics.Picture;
51 Picture picture = new Picture();
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java25 import android.graphics.Picture;
130 final Picture picture = new Picture();
183 final Picture picture = new Picture();
/frameworks/layoutlib/bridge/src/android/webkit/
H A DWebView.java23 import android.graphics.Picture;
150 public Picture capturePicture() {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java25 import android.graphics.Picture;
297 public void drawPicture(Picture picture) {
301 public void drawPicture(Picture picture, RectF dst) {
305 public void drawPicture(Picture picture, Rect dst) {
/frameworks/support/transition/src/main/java/androidx/transition/
H A DTransitionUtils.java25 import android.graphics.Picture;
122 final Picture picture = new Picture();
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java27 import android.graphics.Picture;
168 public Picture capturePicture();
H A DWebView.java31 import android.graphics.Picture;
453 * will always receive a {@code null} Picture.
457 void onNewPicture(WebView view, @Nullable Picture picture);
1334 * {@link android.graphics.Picture#createFromStream} and
1335 * {@link android.graphics.Picture#writeToStream} methods are not supported on the
1344 public Picture capturePicture() {
1973 * Sets the Picture listener. This is an interface used to receive
1974 * notifications of a new Picture.
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java31 import android.graphics.Picture;
289 public final void drawPicture(@NonNull Picture picture) {
297 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) {
309 public final void drawPicture(@NonNull Picture picture, @NonNull RectF dst) {
H A DViewDebug.java24 import android.graphics.Picture;
1785 private Picture mPicture;
1789 mPicture = new Picture();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java49 import android.graphics.Picture;
225 Picture picture = new Picture();
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java91 import android.graphics.Picture;
976 final Picture picture = new Picture();
/frameworks/base/config/
H A Dpreloaded-classes1100 android.graphics.Picture
H A Dboot-image-profile.txt2073 HPLandroid/graphics/Picture$PictureCanvas;->drawPicture(Landroid/graphics/Picture;)V
2074 HPLandroid/graphics/Picture$PictureCanvas;->onHwBitmapInSwMode()V
2159 HPLandroid/graphics/drawable/PictureDrawable;-><init>(Landroid/graphics/Picture;)V
[all...]

Completed in 515 milliseconds