Searched refs:sCanvas (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java56 private static final Canvas sCanvas = new Canvas(); field in class:Utilities
59 sCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG,
95 synchronized (sCanvas) { // we share the statics :-(
140 final Canvas canvas = sCanvas;
169 synchronized (sCanvas) { // we share the statics :-(
203 synchronized (sCanvas) { // we share the statics :-(
218 synchronized (sCanvas) { // we share the statics :-(
224 final Canvas canvas = sCanvas;
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTiledTexture.java53 private static Canvas sCanvas; field in class:TiledTexture
142 sCanvas.drawBitmap(localBitmapRef, x, y, sBitmapPaint);
146 if (x > 0) sCanvas.drawLine(x - 1, 0, x - 1, TILE_SIZE, sPaint);
147 if (y > 0) sCanvas.drawLine(0, y - 1, TILE_SIZE, y - 1, sPaint);
148 if (r < CONTENT_SIZE) sCanvas.drawLine(r, 0, r, TILE_SIZE, sPaint);
149 if (b < CONTENT_SIZE) sCanvas.drawLine(0, b, TILE_SIZE, b, sPaint);
237 sCanvas = null;
244 sCanvas = new Canvas(sUploadBitmap);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DUtilities.java88 private static final Canvas sCanvas = new Canvas(); field in class:Utilities
94 sCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG,
238 synchronized (sCanvas) {
274 final Canvas canvas = sCanvas;

Completed in 220 milliseconds