Home
last modified time | relevance | path

Searched refs:mOverlayBitmap (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java45 private Bitmap mOverlayBitmap; field in Action
146 if (mRepresentation.getOverlayId() != 0 && mOverlayBitmap == null) { in available()
147 mOverlayBitmap = BitmapFactory.decodeResource( in available()
151 if (mOverlayBitmap != null) { in available()
154 …canvas.drawBitmap(mOverlayBitmap, new Rect(0, 0, mOverlayBitmap.getWidth(), mOverlayBitmap.getHeig… in available()
159 drawCenteredImage(mOverlayBitmap, mImage, false); in available()
176 return mOverlayBitmap; in getOverlayBitmap()
180 mOverlayBitmap = overlayBitmap; in setOverlayBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DFilterIconButton.java50 private Bitmap mOverlayBitmap = null; field in FilterIconButton
111 mOverlayBitmap = BitmapFactory.decodeResource(getResources(), in setFilterRepresentation()
113 mAction.setOverlayBitmap(mOverlayBitmap); in setFilterRepresentation()
115 mOverlayBitmap = mAction.getOverlayBitmap(); in setFilterRepresentation()
120 assert(mOverlayBitmap != null); in setFilterRepresentation()
121 setIcon(mOverlayBitmap); in setFilterRepresentation()
156 setIcon(mOverlayBitmap); in available()
159 if (mOverlayBitmap != null) { in available()
161 IconFactory.drawIcon(mIconBitmap, mOverlayBitmap, false); in available()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorActivity.java1697 private Bitmap mOverlayBitmap;
1760 if (mOverlayBitmap != null) {
1761 mOverlayBitmap.eraseColor(Color.TRANSPARENT);
1790 if (mOverlayBitmap != null) {
1791 overlayData.renderOverlay(mOverlayBitmap);
1889 if (mOverlayBitmap != null) {
1890 overlayData.renderOverlay(mOverlayBitmap);
2046 if (mOverlayBitmap != null) {
2047 if (mOverlayBitmap.getWidth() == width && mOverlayBitmap.getHeight() == height) {
2053 mOverlayBitmap.recycle();
[all …]
DOverlayTitleEditor.java50 private Bitmap mOverlayBitmap; field in OverlayTitleEditor
122 mOverlayBitmap = ImageUtils.buildOverlayBitmap(this, mOverlayBitmap, mOverlayType, in updatePreviewImage()
125 mOverlayImageView.setImageBitmap(mOverlayBitmap); in updatePreviewImage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDraw.java44 Bitmap mOverlayBitmap; // this accelerates interaction field in ImageFilterDraw
224 if (mOverlayBitmap == null || in drawData()
225 mOverlayBitmap.getWidth() != canvas.getWidth() || in drawData()
226 mOverlayBitmap.getHeight() != canvas.getHeight() || in drawData()
229 mOverlayBitmap = Bitmap.createBitmap( in drawData()
237 canvas.drawBitmap(mOverlayBitmap, 0, 0, paint); in drawData()
246 Canvas drawCache = new Canvas(mOverlayBitmap); in fillBuffer()
DImageFilterVignette.java29 private Bitmap mOverlayBitmap; field in ImageFilterVignette
61 if (mOverlayBitmap == null) { in apply()
63 mOverlayBitmap = IconUtilities.getFXBitmap(res, in apply()
69 c.drawBitmap(mOverlayBitmap, null, r, null); in apply()