/frameworks/base/core/jni/ |
D | android_graphics_Picture.cpp | 35 Picture* picture = NULL; in android_graphics_Picture_deserialize() local 38 picture = Picture::CreateFromStream(strm); in android_graphics_Picture_deserialize() 41 return reinterpret_cast<jlong>(picture); in android_graphics_Picture_deserialize() 45 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_killPicture() local 46 SkASSERT(picture); in android_graphics_Picture_killPicture() 47 delete picture; in android_graphics_Picture_killPicture() 53 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_draw() local 55 SkASSERT(picture); in android_graphics_Picture_draw() 56 picture->draw(canvas); in android_graphics_Picture_draw() 61 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_serialize() local [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PictureCaptureDemo.java | 61 Picture picture = new Picture(); in onCreate() local 62 Canvas canvas = picture.beginRecording(100, 100); in onCreate() 68 picture.endRecording(); in onCreate() 71 iv1.setImageBitmap(Bitmap.createBitmap(picture, 100, 100, Bitmap.Config.ARGB_8888)); in onCreate() 77 iv2.setImageBitmap(Bitmap.createBitmap(picture, 100, 100, Bitmap.Config.HARDWARE)); in onCreate() 102 mCaptureThread, (picture) -> { in onCreate() 113 canvas.drawPicture(picture); in onCreate() 115 picture.close(); in onCreate()
|
D | DrawIntoHwBitmapActivity.java | 39 Picture picture = new Picture(); in createBitmap() local 40 Canvas canvas = picture.beginRecording(500, 500); in createBitmap() 49 picture.endRecording(); in createBitmap() 50 return Bitmap.createBitmap(picture); in createBitmap()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 40 public PictureDrawable(Picture picture) { in PictureDrawable() argument 41 mPicture = picture; in PictureDrawable() 58 public void setPicture(Picture picture) { in setPicture() argument 59 mPicture = picture; in setPicture()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 130 final Picture picture = new Picture(); in createDrawableBitmap() local 131 final Canvas canvas = picture.beginRecording(width, height); in createDrawableBitmap() 141 picture.endRecording(); in createDrawableBitmap() 142 return Bitmap.createBitmap(picture); in createDrawableBitmap() 183 final Picture picture = new Picture(); in createViewBitmap() local 184 final Canvas canvas = picture.beginRecording(bitmapWidth, bitmapHeight); in createViewBitmap() 187 picture.endRecording(); in createViewBitmap() 188 bitmap = Bitmap.createBitmap(picture); in createViewBitmap()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | RecentsTransition.java | 109 final Picture picture = new Picture(); 110 final Canvas canvas = picture.beginRecording(width, height); 112 picture.endRecording(); 113 return Bitmap.createBitmap(picture);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailItemView.java | 89 public void bind(String name, Bitmap picture, int userId) { in bind() argument 91 mAvatar.setAvatarWithBadge(picture, userId); in bind() 94 public void bind(String name, Drawable picture, int userId) { in bind() argument 96 mAvatar.setDrawableWithBadge(picture, userId); in bind()
|
D | UserTile.java | 103 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { in onUserInfoChanged() argument 104 mLastUpdate = new Pair<>(name, picture); in onUserInfoChanged()
|
D | UserDetailView.java | 86 if (item.picture == null) { in createUserDetailItemView() 89 v.bind(name, item.picture, item.info.id); in createUserDetailItemView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 180 if (r == null || r.picture == null || r.info == null || forceAllUsers in refreshUsers() 184 bitmaps.put(r.info.id, r.picture); in refreshUsers() 218 Bitmap picture = bitmaps.get(info.id); in refreshUsers() local 219 if (picture == null) { in refreshUsers() 220 picture = mUserManager.getUserIcon(info.id); in refreshUsers() 222 if (picture != null) { in refreshUsers() 225 picture = Bitmap.createScaledBitmap( in refreshUsers() 226 picture, avatarSize, avatarSize, true); in refreshUsers() 230 records.add(index, new UserRecord(info, picture, false /* isGuest */, in refreshUsers() 717 public final Bitmap picture; field in UserSwitcherController.UserRecord [all …]
|
D | UserInfoController.java | 26 public void onUserInfoChanged(String name, Drawable picture, String userAccount); in onUserInfoChanged() argument
|
/frameworks/base/graphics/java/android/graphics/ |
D | Picture.java | 260 public void drawPicture(Picture picture) { in drawPicture() argument 261 if (mPicture == picture) { in drawPicture() 264 super.drawPicture(picture); in drawPicture()
|
D | BaseRecordingCanvas.java | 291 public final void drawPicture(@NonNull Picture picture) { in drawPicture() argument 292 picture.endRecording(); in drawPicture() 294 picture.draw(this); in drawPicture() 299 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture() argument 302 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() 303 scale((float) dst.width() / picture.getWidth(), in drawPicture() 304 (float) dst.height() / picture.getHeight()); in drawPicture() 306 drawPicture(picture); in drawPicture() 311 public final void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture() argument 314 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() [all …]
|
D | Canvas.java | 1286 public void drawPicture(@NonNull Picture picture) { in drawPicture() argument 1287 picture.endRecording(); in drawPicture() 1289 picture.draw(this); in drawPicture() 1296 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture() argument 1299 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() 1300 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight()); in drawPicture() 1302 drawPicture(picture); in drawPicture() 1309 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture() argument 1312 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() 1313 scale((float) dst.width() / picture.getWidth(), in drawPicture() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFooterImpl.java | 392 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { in onUserInfoChanged() argument 393 if (picture != null && in onUserInfoChanged() 395 !(picture instanceof UserIconDrawable)) { in onUserInfoChanged() 396 picture = picture.getConstantState().newDrawable(mContext.getResources()).mutate(); in onUserInfoChanged() 397 picture.setColorFilter( in onUserInfoChanged() 401 mMultiUserAvatar.setImageDrawable(picture); in onUserInfoChanged()
|
/frameworks/base/core/jni/android/graphics/ |
D | AnimatedImageDrawable.cpp | 81 sk_sp<SkPicture> picture; in AnimatedImageDrawable_nCreate() local 92 picture = recorder.finishRecordingAsPicture(); in AnimatedImageDrawable_nCreate() 93 bytesUsed += picture->approximateBytesUsed(); in AnimatedImageDrawable_nCreate() 99 std::move(picture)); in AnimatedImageDrawable_nCreate()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
D | AutoFocusStateMachine.java | 334 public synchronized void setPassiveAutoFocus(boolean picture, in setPassiveAutoFocus() argument 336 if (VERBOSE_LOGGING) Log.v(TAG, "setPassiveAutoFocus - picture " + picture); in setPassiveAutoFocus() 338 if (picture) { in setPassiveAutoFocus()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/ |
D | CarQSFooter.java | 95 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { in onUserInfoChanged() argument 96 mMultiUserAvatar.setImageDrawable(picture); in onUserInfoChanged()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 78 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture(); in TEST() local 81 canvas.asSkCanvas()->drawPicture(picture); in TEST()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 297 public void drawPicture(Picture picture) { in drawPicture() argument 301 public void drawPicture(Picture picture, RectF dst) { in drawPicture() argument 305 public void drawPicture(Picture picture, Rect dst) { in drawPicture() argument
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
D | CameraTooTest.java | 180 File picture = newFiles.iterator().next(); in capturedImageSaver() local 181 FileInputStream istream = new FileInputStream(picture); in capturedImageSaver() 187 assertTrue(picture.delete()); in capturedImageSaver()
|
/frameworks/base/native/webview/plat_support/ |
D | draw_sw.h | 48 typedef jobject (AwCreatePictureFunction)(JNIEnv* env, SkPicture* picture);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 269 sk_sp<SkPicture> picture = mRecorder->finishRecordingAsPicture(); in endCapture() local 270 if (picture->approximateOpCount() > 0) { in endCapture() 273 auto data = picture->serialize(); in endCapture() 285 std::invoke(mPictureCapturedCallback, std::move(picture)); in endCapture()
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 281 DrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) in DrawPicture() 282 : picture(sk_ref_sp(picture)) { in DrawPicture() 291 sk_sp<const SkPicture> picture; member 296 c->drawPicture(picture.get(), &matrix, has_paint ? &paint : nullptr); in draw() 609 void DisplayListData::drawPicture(const SkPicture* picture, const SkMatrix* matrix, in drawPicture() argument 611 this->push<DrawPicture>(0, picture, matrix, paint); in drawPicture() 876 void RecordingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, in onDrawPicture() argument 878 fDL->drawPicture(picture, matrix, paint); in onDrawPicture()
|
/frameworks/base/core/java/android/view/ |
D | ViewDebug.java | 781 public void onPictureCaptured(Picture picture) { 795 mQueue.add(picture); 807 final Picture picture = mQueue.poll(); 817 picture.close(); 820 final boolean keepReceiving = mCallback.apply(picture); 901 public void onPictureCaptured(Picture picture) { 916 picture.writeToStream(mByteStream); 929 final byte[] picture = mQueue.poll(); 950 stream.write(picture);
|