Home
last modified time | relevance | path

Searched refs:Picture (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_graphics_Picture.cpp29 const Picture* src = reinterpret_cast<Picture*>(srcHandle); in android_graphics_Picture_newPicture()
30 return reinterpret_cast<jlong>(new Picture(src)); in android_graphics_Picture_newPicture()
35 Picture* picture = NULL; in android_graphics_Picture_deserialize()
38 picture = Picture::CreateFromStream(strm); in android_graphics_Picture_deserialize()
45 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_killPicture()
53 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_draw()
61 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_serialize()
73 Picture* pict = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_getWidth()
78 Picture* pict = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_getHeight()
84 Picture* pict = reinterpret_cast<Picture*>(pictHandle); in android_graphics_Picture_beginRecording()
[all …]
DAndroid.bp148 "android/graphics/Picture.cpp",
Dandroid_view_ThreadedRenderer.cpp872 Picture* wrapper = new Picture{std::move(picture)}; in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
/frameworks/base/core/jni/android/graphics/
DPicture.cpp25 Picture::Picture(const Picture* src) { in Picture() function in android::Picture
40 Picture::Picture(sk_sp<SkPicture>&& src) { in Picture() function in android::Picture
46 Canvas* Picture::beginRecording(int width, int height) { in beginRecording()
55 void Picture::endRecording() { in endRecording()
62 int Picture::width() const { in width()
66 int Picture::height() const { in height()
70 Picture* Picture::CreateFromStream(SkStream* stream) { in CreateFromStream()
71 Picture* newPict = new Picture; in CreateFromStream()
85 void Picture::serialize(SkWStream* stream) const { in serialize()
98 void Picture::draw(Canvas* canvas) { in draw()
[all …]
DPicture.h37 class Picture {
39 explicit Picture(const Picture* src = NULL);
40 explicit Picture(sk_sp<SkPicture>&& src);
50 static Picture* CreateFromStream(SkStream* stream);
/frameworks/base/graphics/java/android/graphics/
DPicture.java36 public class Picture { class
48 public Picture() { in Picture() method in Picture
57 public Picture(Picture src) { in Picture() method in Picture
62 public Picture(long nativePicture) { in Picture() method in Picture
204 public static Picture createFromStream(@NonNull InputStream stream) { in createFromStream()
205 return new Picture(nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE])); in createFromStream()
244 private final Picture mPicture;
247 public PictureCanvas(Picture pict, long nativeCanvas) { in PictureCanvas()
260 public void drawPicture(Picture picture) { in drawPicture()
DHardwareRenderer.java795 Picture picture = new Picture(picturePtr); in invokePictureCapturedCallback()
833 void onPictureCaptured(Picture picture); in onPictureCaptured()
DBaseRecordingCanvas.java291 public final void drawPicture(@NonNull Picture picture) { in drawPicture()
299 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture()
311 public final void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture()
DCanvas.java1286 public void drawPicture(@NonNull Picture picture) { in drawPicture()
1296 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture()
1309 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture()
DBitmap.java1267 public static @NonNull Bitmap createBitmap(@NonNull Picture source) { in createBitmap()
1288 public static @NonNull Bitmap createBitmap(@NonNull Picture source, int width, int height, in createBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DPictureDrawable.java22 import android.graphics.Picture;
32 private Picture mPicture;
40 public PictureDrawable(Picture picture) { in PictureDrawable()
49 public Picture getPicture() { in getPicture()
58 public void setPicture(Picture picture) { in setPicture()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPictureCaptureDemo.java24 import android.graphics.Picture;
61 Picture picture = new Picture(); in onCreate()
141 Picture deepCopy(Picture src) { in deepCopy()
145 Future<Picture> future = mExecutor.submit(() -> Picture.createFromStream(inputStream)); in deepCopy()
DDrawIntoHwBitmapActivity.java24 import android.graphics.Picture;
39 Picture picture = new Picture(); in createBitmap()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DRecentsTransition.java24 import android.graphics.Picture;
109 final Picture picture = new Picture();
/frameworks/base/core/java/android/transition/
DTransitionUtils.java25 import android.graphics.Picture;
130 final Picture picture = new Picture(); in createDrawableBitmap()
183 final Picture picture = new Picture(); in createViewBitmap()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java25 import android.graphics.Picture;
297 public void drawPicture(Picture picture) { in drawPicture()
301 public void drawPicture(Picture picture, RectF dst) { in drawPicture()
305 public void drawPicture(Picture picture, Rect dst) { in drawPicture()
/frameworks/layoutlib/bridge/src/android/webkit/
DWebView.java23 import android.graphics.Picture;
150 public Picture capturePicture() { in capturePicture()
/frameworks/base/core/java/android/view/
DViewDebug.java28 import android.graphics.Picture;
757 private final Function<Picture, Boolean> mCallback;
760 private final ArrayDeque<Picture> mQueue = new ArrayDeque<>(3);
765 Function<Picture, Boolean> callback, Executor executor) {
781 public void onPictureCaptured(Picture picture) {
791 Picture toDestroy = null;
807 final Picture picture = mQueue.poll();
857 Function<Picture, Boolean> callback) {
901 public void onPictureCaptured(Picture picture) {
2059 private Picture mPicture;
[all …]
DThreadedRenderer.java24 import android.graphics.Picture;
563 Picture captureRenderingCommands() { in captureRenderingCommands()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java27 import android.graphics.Picture;
169 public Picture capturePicture(); in capturePicture()
DWebView.java33 import android.graphics.Picture;
206 void onNewPicture(WebView view, @Nullable Picture picture); in onNewPicture()
1106 public Picture capturePicture() { in capturePicture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java58 import android.graphics.Picture;
318 Picture picture = new Picture(); in generateAdjustedHwBitmap()
/frameworks/base/proto/src/
Dsystem_messages.proto132 // Inform that USB is configured for Picture Transfer Protocol
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java98 import android.graphics.Picture;
1037 final Picture picture = new Picture(); in createCrossProfileAppsThumbnail()
/frameworks/base/api/
Dremoved.txt241 public class Picture {
242 …method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputS…

12