Home
last modified time | relevance | path

Searched refs:Picture (Results 1 – 25 of 42) 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.cpp462 class PictureWrapper : public Picture {
465 : Picture(), mPicture(std::move(src)) { in PictureWrapper()
578 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
206 public static Picture createFromStream(@NonNull InputStream stream) { in createFromStream()
207 return new Picture(nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE])); in createFromStream()
246 private final Picture mPicture;
249 public PictureCanvas(Picture pict, long nativeCanvas) { in PictureCanvas()
262 public void drawPicture(Picture picture) { in drawPicture()
DHardwareRenderer.java903 Picture picture = new Picture(picturePtr); in invokePictureCapturedCallback()
999 void onPictureCaptured(Picture picture); in onPictureCaptured()
DCanvas.java1357 public void drawPicture(@NonNull Picture picture) { in drawPicture()
1367 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture()
1380 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture()
DBaseRecordingCanvas.java298 public final void drawPicture(@NonNull Picture picture) { in drawPicture()
306 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture()
318 public final void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture()
/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/graphics/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/base/libs/WindowManager/Shell/tests/flicker/pip/
DOWNERS1 # window manager > wm shell > Picture-In-Picture
/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/android/webkit/
DWebView.java23 import android.graphics.Picture;
150 public Picture capturePicture() { in capturePicture()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java26 import android.graphics.Picture;
301 public void drawPicture(Picture picture) { in drawPicture()
305 public void drawPicture(Picture picture, RectF dst) { in drawPicture()
309 public void drawPicture(Picture picture, Rect dst) { in drawPicture()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Dtesting.md56 - Picture-in-Picture:
/frameworks/base/core/java/android/view/
DViewDebug.java30 import android.graphics.Picture;
846 private final Function<Picture, Boolean> mCallback;
849 private final ArrayDeque<Picture> mQueue = new ArrayDeque<>(3);
854 Function<Picture, Boolean> callback, Executor executor) {
870 public void onPictureCaptured(Picture picture) {
880 Picture toDestroy = null;
896 final Picture picture = mQueue.poll();
946 Function<Picture, Boolean> callback) {
968 private final ArrayDeque<Picture> mQueue = new ArrayDeque<>(3);
989 public void onPictureCaptured(Picture picture) {
[all …]
DThreadedRenderer.java27 import android.graphics.Picture;
676 Picture captureRenderingCommands() { in captureRenderingCommands()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java28 import android.graphics.Picture;
180 public Picture capturePicture(); in capturePicture()
DWebView.java33 import android.graphics.Picture;
216 void onNewPicture(WebView view, @Nullable Picture picture); in onNewPicture()
1122 public Picture capturePicture() { in capturePicture()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java45 import android.graphics.Picture;
617 Picture p = new Picture(); in snapshotActivitySurface()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java55 import android.graphics.Picture;
130 Picture picture = new Picture();
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java45 import android.graphics.Picture;
966 final Picture picture = new Picture(); in createCrossProfileAppsThumbnail()

12