/packages/apps/Launcher3/src/com/android/launcher3/ |
D | HolographicOutlineHelper.java | 40 private final Canvas mCanvas = new Canvas(); field in HolographicOutlineHelper 175 mCanvas.setBitmap(cache); in createMediumDropShadow() 178 mCanvas.setBitmap(cache); in createMediumDropShadow() 179 mCanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR); in createMediumDropShadow() 182 mCanvas.save(Canvas.MATRIX_SAVE_FLAG); in createMediumDropShadow() 183 mCanvas.scale(view.getScaleX(), view.getScaleY()); in createMediumDropShadow() 184 mCanvas.translate(-rect.left, -rect.top); in createMediumDropShadow() 185 icon.draw(mCanvas); in createMediumDropShadow() 186 mCanvas.restore(); in createMediumDropShadow() 187 mCanvas.setBitmap(null); in createMediumDropShadow()
|
D | Workspace.java | 241 private final Canvas mCanvas = new Canvas(); field in Workspace 2022 mCanvas.setBitmap(b); in onExternalDragStartedWithItem() 2023 drawDragView(v, mCanvas, 0); in onExternalDragStartedWithItem() 2024 mCanvas.setBitmap(null); in onExternalDragStartedWithItem() 2293 mCanvas.setBitmap(b); in createDragBitmap() 2294 drawDragView(v, mCanvas, padding); in createDragBitmap() 2295 mCanvas.setBitmap(null); in createDragBitmap() 2309 mCanvas.setBitmap(b); in createDragOutline() 2310 drawDragView(v, mCanvas, padding); in createDragOutline() 2311 mOutlineHelper.applyExpensiveOutlineWithBlur(b, mCanvas, outlineColor, outlineColor); in createDragOutline() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 82 private GLCanvas mCanvas; field in GLRootView 293 mCanvas = ApiHelper.HAS_GLES20_REQUIRED ? new GLES20Canvas() : new GLES11Canvas(gl); in onSurfaceCreated() 324 mCanvas.setSize(width, height); in onSurfaceChanged() 395 mCanvas.deleteRecycledResources(); in onDrawFrameLocked() 408 mCanvas.save(GLCanvas.SAVE_FLAG_ALL); in onDrawFrameLocked() 411 mContentView.render(mCanvas); in onDrawFrameLocked() 414 mCanvas.clearBuffer(); in onDrawFrameLocked() 416 mCanvas.restore(); in onDrawFrameLocked() 435 mCanvas.fillRect(10, 10, 5, 5, mInvalidateColor); in onDrawFrameLocked() 440 mCanvas.dumpStatisticsAndClear(); in onDrawFrameLocked() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageView.java | 209 private GLES20Canvas mCanvas; field in TiledImageView.TileRenderer 213 mCanvas = new GLES20Canvas(); in onSurfaceCreated() 220 mCanvas.setSize(width, height); in onSurfaceChanged() 226 mCanvas.clearBuffer(); in onDrawFrame() 234 boolean complete = mRenderer.image.draw(mCanvas); in onDrawFrame() 264 private Canvas mCanvas = new Canvas(); field in TiledImageView.ColoredTiles 293 mCanvas.setBitmap(bitmap); in getTile() 294 mCanvas.drawColor(COLORS[level]); in getTile() 298 mCanvas.drawText(x + "x" + y, 128, 128, mPaint); in getTile() 302 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint); in getTile() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationWebView.java | 39 private Canvas mCanvas; field in ConversationWebView 71 mCanvas = new Canvas(mBitmap); in onDraw() 75 mCanvas = null; in onDraw() 84 mCanvas.save(); in onDraw() 85 mCanvas.translate(-x, -y); in onDraw() 86 super.onDraw(mCanvas); in onDraw() 87 mCanvas.restore(); in onDraw() 108 mCanvas = null; in destroyBitmap()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageView.java | 283 private GLES20Canvas mCanvas; field in TiledImageView.TileRenderer 287 mCanvas = new GLES20Canvas(); in onSurfaceCreated() 294 mCanvas.setSize(width, height); in onSurfaceChanged() 300 mCanvas.clearBuffer(); in onDrawFrame() 308 boolean complete = mRenderer.image.draw(mCanvas); in onDrawFrame() 338 private Canvas mCanvas = new Canvas(); field in TiledImageView.ColoredTiles 367 mCanvas.setBitmap(bitmap); in getTile() 368 mCanvas.drawColor(COLORS[level]); in getTile() 372 mCanvas.drawText(x + "x" + y, 128, 128, mPaint); in getTile() 376 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint); in getTile() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 65 private Canvas mCanvas; field in BitmapRegionTileSource 175 if (mCanvas == null) { in getTileWithoutReusingBitmap() 176 mCanvas = new Canvas(); in getTileWithoutReusingBitmap() 178 mCanvas.setBitmap(result); in getTileWithoutReusingBitmap() 179 mCanvas.drawBitmap(bitmap, in getTileWithoutReusingBitmap() 182 mCanvas.setBitmap(null); in getTileWithoutReusingBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | CanvasTexture.java | 27 protected Canvas mCanvas; field in CanvasTexture 39 mCanvas = new Canvas(bitmap); in onGetBitmap() 40 onDraw(mCanvas, bitmap); in onGetBitmap()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | CompositeImageRequest.java | 43 private final Canvas mCanvas; field in CompositeImageRequest 50 mCanvas = new Canvas(mBitmap); in CompositeImageRequest() 90 mCanvas.drawBitmap(smallCircleBitmap, matrix, mPaint); in loadMediaInternal()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IconNormalizer.java | 48 private final Canvas mCanvas; field in IconNormalizer 59 mCanvas = new Canvas(mBitmap); in IconNormalizer() 92 d.draw(mCanvas); in getScale()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ActivityPicker.java | 330 private final Canvas mCanvas = new Canvas(); field in ActivityPicker.IconResizer 333 mCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG, in IconResizer() 390 final Canvas canvas = mCanvas; in createIconThumbnail() 410 final Canvas canvas = mCanvas; in createIconThumbnail()
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
D | LetterTileProvider.java | 55 private final Canvas mCanvas = new Canvas(); field in LetterTileProvider 96 final Canvas c = mCanvas; in getLetterTile()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 971 private final Canvas mCanvas; field in ImageBlockManager.ImageBlock 985 mCanvas = new Canvas(mBitmap); in ImageBlock() 1103 mDrawAdapter.drawImage(mCanvas, image, b, xPos, yPos, in drawBitmap() 1105 mCanvas.drawBitmap(mOutline, xPos, yPos, null); in drawBitmap()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppsCustomizePagedView.java | 185 private Canvas mCanvas; field in AppsCustomizePagedView 256 mCanvas = new Canvas(); in AppsCustomizePagedView() 754 mCanvas.setBitmap(preview); in beginDraggingWidget() 755 mCanvas.save(); in beginDraggingWidget() 758 mCanvas.restore(); in beginDraggingWidget() 759 mCanvas.setBitmap(null); in beginDraggingWidget()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 248 private Canvas mCanvas; field in KeyboardView 681 mCanvas = new Canvas(mBuffer); in onBufferDraw() 686 final Canvas canvas = mCanvas; in onBufferDraw() 1343 mCanvas = null; in closing()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 233 Canvas mCanvas; field in BatteryHistoryChart 675 mCanvas = null; in onSizeChanged() 1144 mCanvas = new Canvas(mBitmap); in buildBitmap() 1145 drawChart(mCanvas, width, height); in buildBitmap()
|