Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java53 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()