Searched refs:textureWidth (Results 1 – 2 of 2) sorted by relevance
71 int textureWidth = sIconTextureWidth; in createIconBitmap() local75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) { in createIconBitmap()78 (sourceWidth - textureWidth) / 2, in createIconBitmap()80 textureWidth, textureHeight); in createIconBitmap()81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) { in createIconBitmap()135 int textureWidth = sIconTextureWidth; in createIconBitmap() local138 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap()143 final int left = (textureWidth-width) / 2; in createIconBitmap()
269 int textureWidth = iconBitmapSize; in createIconBitmap() local272 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap()277 final int left = (textureWidth-width) / 2; in createIconBitmap()294 canvas.scale(scale, scale, textureWidth / 2, textureHeight / 2); in createIconBitmap()