Home
last modified time | relevance | path

Searched refs:mPicture (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DPictureDrawable.java32 private Picture mPicture; field in PictureDrawable
41 mPicture = picture; in PictureDrawable()
50 return mPicture; in getPicture()
59 mPicture = picture; in setPicture()
64 if (mPicture != null) { in draw()
69 canvas.drawPicture(mPicture); in draw()
76 return mPicture != null ? mPicture.getWidth() : -1; in getIntrinsicWidth()
81 return mPicture != null ? mPicture.getHeight() : -1; in getIntrinsicHeight()
/frameworks/base/libs/hwui/jni/
DPicture.cpp29 if (NULL != src->mPicture.get()) { in Picture()
30 mPicture = src->mPicture; in Picture()
32 mPicture = src->makePartialCopy(); in Picture()
41 mPicture = std::move(src); in Picture()
47 mPicture.reset(NULL); in beginRecording()
57 mPicture = mRecorder->finishRecordingAsPicture(); in endRecording()
75 newPict->mPicture = skPicture; in CreateFromStream()
88 } else if (NULL != mPicture.get()) { in serialize()
89 mPicture->serialize(stream); in serialize()
101 SkASSERT(NULL != mPicture.get()); in draw()
[all …]
DPicture.h59 sk_sp<SkPicture> mPicture; variable
/frameworks/base/libs/hwui/jni/pdf/
DPdfDocument.cpp36 , mPicture(NULL) in PageRecord()
44 if (NULL != mPicture) { in ~PageRecord()
45 mPicture->unref(); in ~PageRecord()
50 SkPicture* mPicture; member
81 assert(mCurrentPage->mPicture == NULL); in finishPage()
82 … mCurrentPage->mPicture = mCurrentPage->mPictureRecorder->finishRecordingAsPicture().release(); in finishPage()
95 canvas->drawPicture(page->mPicture); in write()
/frameworks/base/graphics/java/android/graphics/
DPicture.java244 private final Picture mPicture; field in Picture.PictureCanvas
249 mPicture = pict; in PictureCanvas()
261 if (mPicture == picture) { in drawPicture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java54 protected ImageView mPicture; field in NotificationTemplateViewWrapper
143 mPicture = (ImageView) mView.findViewById(com.android.internal.R.id.right_icon); in resolveTemplateViews()
144 if (mPicture != null) { in resolveTemplateViews()
145 mPicture.setTag(ImageTransformState.ICON_TAG, in resolveTemplateViews()
265 if (isOnView(mReplyAction, x, y) || isOnView(mPicture, x, y)) { in disallowSingleClick()
295 if (mPicture != null) { in updateTransformedTypes()
297 mPicture); in updateTransformedTypes()
DNotificationBigPictureTemplateViewWrapper.java49 mPicture.setTag(ImageTransformState.ICON_TAG, overRiddenIcon); in updateImageTag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt58 private lateinit var mPicture: Bitmap variable in com.android.systemui.qs.tiles.UserDetailViewAdapterTest
69 mPicture = UserIcons.convertToBitmap(mContext.getDrawable(R.drawable.ic_avatar_user)) in setUp()
141 mPicture,
/frameworks/base/core/java/android/view/
DViewDebug.java1938 private Picture mPicture;
1942 mPicture = new Picture();
1943 return mPicture.beginRecording(width, height);
1948 mPicture.endRecording();
1949 return Bitmap.createBitmap(mPicture);
/frameworks/base/core/java/android/app/
DNotification.java6703 private Bitmap mPicture;
6739 return mPicture;
6746 mPicture = b;
6775 if (mPicture != null &&
6776 mPicture.isMutable() &&
6777 mPicture.getAllocationByteCount() >= MIN_ASHMEM_BITMAP_SIZE) {
6778 mPicture = mPicture.createAshmemBitmap();
6793 if (mPicture != null) {
6800 mPicture = Icon.scaleDownIfNecessary(mPicture, maxPictureWidth, maxPictureHeight);
6847 contentView.setImageViewBitmap(R.id.big_picture, mPicture);
[all …]