Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java42 private static final int TILE_SIZE = CONTENT_SIZE + 2 * BORDER_SIZE; field in TiledTexture
126 mTextureWidth = TILE_SIZE; in setSize()
127 mTextureHeight = TILE_SIZE; in setSize()
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()
243 sUploadBitmap = Bitmap.createBitmap(TILE_SIZE, TILE_SIZE, Config.ARGB_8888); in prepareResources()