/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/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/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/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/draw/ |
D | DrawTestFragment.java | 30 private CanvasView mCanvas; field in DrawTestFragment 37 mCanvas = view.findViewById(R.id.drawCanvas); in onCreateView() 45 mClearButton.setOnClickListener(view -> mCanvas.clearCanvas()); in setClearButtonListener()
|
/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/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/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 90 private final Canvas mCanvas; field in DynamicAdaptiveIconDrawable 113 mCanvas = new Canvas(); in DynamicAdaptiveIconDrawable() 275 mCanvas.setBitmap(mLayersBitmap); in draw() 276 mCanvas.drawColor(Color.BLACK); in draw() 283 dr.draw(mCanvas); in draw()
|
/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 729 mCanvas = new Canvas(mBuffer); in onBufferDraw() 734 final Canvas canvas = mCanvas; in onBufferDraw() 1428 mCanvas = null; in closing()
|