Searched refs:textureWidth (Results 1 – 1 of 1) sorted by relevance
72 int textureWidth = sIconTextureWidth; in createIconBitmap() local76 if (sourceWidth > textureWidth && sourceHeight > textureHeight) { in createIconBitmap()79 (sourceWidth - textureWidth) / 2, in createIconBitmap()81 textureWidth, textureHeight); in createIconBitmap()82 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) { in createIconBitmap()136 int textureWidth = sIconTextureWidth; in createIconBitmap() local139 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap()144 final int left = (textureWidth-width) / 2; in createIconBitmap()