/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | HolographicOutlineHelper.java | 46 private final Canvas mCanvas = new Canvas(); field in HolographicOutlineHelper 173 mCanvas.setBitmap(cache); in createMediumDropShadow() 176 mCanvas.setBitmap(cache); in createMediumDropShadow() 177 mCanvas.drawColor(Color.BLACK, PorterDuff.Mode.CLEAR); in createMediumDropShadow() 180 int saveCount = mCanvas.save(); in createMediumDropShadow() 181 mCanvas.scale(scaleX, scaleY); in createMediumDropShadow() 182 mCanvas.translate(-rect.left, -rect.top); in createMediumDropShadow() 183 drawable.draw(mCanvas); in createMediumDropShadow() 184 mCanvas.restoreToCount(saveCount); in createMediumDropShadow() 185 mCanvas.setBitmap(null); in createMediumDropShadow() [all …]
|
D | ShadowGenerator.java | 53 private final Canvas mCanvas; field in ShadowGenerator 60 mCanvas = new Canvas(); in ShadowGenerator() 80 mCanvas.setBitmap(result); in recreateIcon() 84 mCanvas.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in recreateIcon() 88 … mCanvas.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, mDrawPaint); in recreateIcon() 92 mCanvas.drawBitmap(icon, 0, 0, mDrawPaint); in recreateIcon() 94 mCanvas.setBitmap(null); in recreateIcon()
|
D | IconNormalizer.java | 70 private final Canvas mCanvas; field in IconNormalizer 96 mCanvas = new Canvas(mBitmap); in IconNormalizer() 254 d.draw(mCanvas);
|
/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/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/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/ |
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/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageView.java | 166 private GLES20Canvas mCanvas; field in TiledImageView.TileRenderer 170 mCanvas = new GLES20Canvas(); in onSurfaceCreated() 177 mCanvas.setSize(width, height); in onSurfaceChanged() 183 mCanvas.clearBuffer(); in onDrawFrame() 191 boolean complete = mRenderer.image.draw(mCanvas); in onDrawFrame()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewImageView.java | 40 private Canvas mCanvas; field in PreviewImageView 53 mCanvas = new Canvas(mBitmap); in copy() 72 mCanvas.drawColor(0, PorterDuff.Mode.CLEAR); in copy() 73 view.draw(mCanvas); in copy()
|
/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/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
D | CardView.java | 62 private Canvas mCanvas = new Canvas(); field in CardView 313 mCanvas.setBitmap(mBitmap); in onDraw() 317 mCanvas.drawColor(Color.TRANSPARENT, Mode.CLEAR); in onDraw() 319 mCanvas.drawCircle(mCurveRadius, getHeight() / 2, mCurveRadius, mBackgroundCirclePaint); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ActivityPicker.java | 334 private final Canvas mCanvas = new Canvas(); field in ActivityPicker.IconResizer 337 mCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG, in IconResizer() 394 final Canvas canvas = mCanvas; in createIconThumbnail() 414 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/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/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/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 268 private Canvas mCanvas; field in KeyboardView 726 mCanvas = new Canvas(mBuffer); in onBufferDraw() 731 final Canvas canvas = mCanvas; in onBufferDraw() 1425 mCanvas = null; in closing()
|
/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 | 232 Canvas mCanvas; field in BatteryHistoryChart 676 mCanvas = null; in onSizeChanged() 1145 mCanvas = new Canvas(mBitmap); in buildBitmap() 1146 drawChart(mCanvas, width, height); in buildBitmap()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 267 private final Canvas mCanvas = new Canvas(); field in Workspace 432 mOutlineProvider.generateDragOutline(mCanvas); in onDragStart() 2147 final Bitmap b = previewProvider.createDragBitmap(mCanvas); in beginDragShared() 3325 mCanvas.setBitmap(b); 3329 layout.draw(mCanvas); 3330 mCanvas.setBitmap(null);
|