Searched refs:sCanvas (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Utilities.java | 56 private static final Canvas sCanvas = new Canvas(); field in Utilities 59 sCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG, in sCanvas.setDrawFilter() 95 synchronized (sCanvas) { // we share the statics :-( in createIconBitmap() 140 final Canvas canvas = sCanvas; in createIconBitmap() 169 synchronized (sCanvas) { // we share the statics :-( in drawSelectedAllAppsBitmap() 203 synchronized (sCanvas) { // we share the statics :-( in resampleIconBitmap() 218 synchronized (sCanvas) { // we share the statics :-( in drawDisabledBitmap() 224 final Canvas canvas = sCanvas; in drawDisabledBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 53 private static Canvas sCanvas; field in TiledTexture 142 sCanvas.drawBitmap(localBitmapRef, x, y, sBitmapPaint); in onGetBitmap() 146 if (x > 0) sCanvas.drawLine(x - 1, 0, x - 1, TILE_SIZE, sPaint); in onGetBitmap() 147 if (y > 0) sCanvas.drawLine(0, y - 1, TILE_SIZE, y - 1, sPaint); in onGetBitmap() 148 if (r < CONTENT_SIZE) sCanvas.drawLine(r, 0, r, TILE_SIZE, sPaint); in onGetBitmap() 149 if (b < CONTENT_SIZE) sCanvas.drawLine(0, b, TILE_SIZE, b, sPaint); in onGetBitmap() 237 sCanvas = null; in freeResources() 244 sCanvas = new Canvas(sUploadBitmap); in prepareResources()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 75 private static final Canvas sCanvas = new Canvas(); field in Utilities 81 sCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG, in sCanvas.setDrawFilter() 181 synchronized (sCanvas) { in createIconBitmap() 217 final Canvas canvas = sCanvas; in createIconBitmap()
|