/frameworks/base/core/jni/ |
H A D | android_graphics_Picture.cpp | 19 #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 D | Picture.kt | 21 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 D | Picture.h | 37 class Picture { class in namespace:android 39 explicit Picture(const Picture* src = NULL); 49 static Picture* CreateFromStream(SkStream* stream);
|
H A D | Picture.cpp | 17 #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 D | Picture.java | 23 * 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 D | Canvas.java | 1208 * {@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 D | Bitmap.java | 1193 * 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 D | PictureTest.kt | 20 import android.graphics.Picture 26 val p = Picture().record(1, 1) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PictureDrawable.java | 22 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 D | DrawIntoHwBitmapActivity.java | 30 import android.graphics.Picture; 51 Picture picture = new Picture();
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 25 import android.graphics.Picture; 130 final Picture picture = new Picture(); 183 final Picture picture = new Picture();
|
/frameworks/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 23 import android.graphics.Picture; 150 public Picture capturePicture() {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 25 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 D | TransitionUtils.java | 25 import android.graphics.Picture; 122 final Picture picture = new Picture();
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 27 import android.graphics.Picture; 168 public Picture capturePicture();
|
H A D | WebView.java | 31 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 D | RecordingCanvas.java | 31 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 D | ViewDebug.java | 24 import android.graphics.Picture; 1785 private Picture mPicture; 1789 mPicture = new Picture();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 49 import android.graphics.Picture; 225 Picture picture = new Picture();
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 91 import android.graphics.Picture; 976 final Picture picture = new Picture();
|
/frameworks/base/config/ |
H A D | preloaded-classes | 1100 android.graphics.Picture
|
H A D | boot-image-profile.txt | 2073 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...] |