Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/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 …]
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);
41 virtual ~Picture() = default;
51 static Picture* CreateFromStream(SkStream* stream);
Dandroid_graphics_HardwareRenderer.cpp460 class PictureWrapper : public Picture {
463 : Picture(), mPicture(std::move(src)) { in PictureWrapper()
564 Picture* wrapper = new PictureWrapper{std::move(picture), pictureState}; in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
/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.java854 Picture picture = new Picture(picturePtr); in invokePictureCapturedCallback()
922 void onPictureCaptured(Picture picture); in onPictureCaptured()
DBaseRecordingCanvas.java297 public final void drawPicture(@NonNull Picture picture) { in drawPicture()
305 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture()
317 public final void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture()
DCanvas.java1305 public void drawPicture(@NonNull Picture picture) { in drawPicture()
1315 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture()
1328 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture()
DBitmap.java1249 public static @NonNull Bitmap createBitmap(@NonNull Picture source) { in createBitmap()
1270 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/
DDrawIntoHwBitmapActivity.java24 import android.graphics.Picture;
39 Picture picture = new Picture(); in createBitmap()
DPictureCaptureDemo.java24 import android.graphics.Picture;
62 Picture picture = new Picture(); in onCreate()
113 Picture picture = Picture.createFromStream( in onCreate()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java22 import android.graphics.Picture;
49 Picture picture = new Picture(); in createHardwareBitmap()
/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;
834 private final Function<Picture, Boolean> mCallback;
837 private final ArrayDeque<Picture> mQueue = new ArrayDeque<>(3);
842 Function<Picture, Boolean> callback, Executor executor) {
858 public void onPictureCaptured(Picture picture) {
868 Picture toDestroy = null;
884 final Picture picture = mQueue.poll();
934 Function<Picture, Boolean> callback) {
956 private final ArrayDeque<Picture> mQueue = new ArrayDeque<>(3);
977 public void onPictureCaptured(Picture picture) {
[all …]
DThreadedRenderer.java26 import android.graphics.Picture;
516 Picture captureRenderingCommands() { in captureRenderingCommands()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java28 import android.graphics.Picture;
179 public Picture capturePicture(); in capturePicture()
DWebView.java33 import android.graphics.Picture;
215 void onNewPicture(WebView view, @Nullable Picture picture); in onNewPicture()
1121 public Picture capturePicture() { in capturePicture()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java44 import android.graphics.Picture;
456 Picture p = new Picture(); in snapshotActivitySurface()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java108 import android.graphics.Picture;
708 final Picture picture = new Picture(); in createCrossProfileAppsThumbnail()
/frameworks/base/proto/src/
Dsystem_messages.proto132 // Inform that USB is configured for Picture Transfer Protocol
/frameworks/base/libs/hwui/
DAndroid.bp361 "jni/Picture.cpp",

12