Searched refs:textureHeight (Results 1 – 2 of 2) sorted by relevance
72 int textureHeight = sIconTextureHeight; in createIconBitmap() local75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) { in createIconBitmap()79 (sourceHeight - textureHeight) / 2, in createIconBitmap()80 textureWidth, textureHeight); in createIconBitmap()81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) { in createIconBitmap()136 int textureHeight = sIconTextureHeight; in createIconBitmap() local138 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap()144 final int top = (textureHeight-height) / 2; in createIconBitmap()
213 int textureHeight = iconBitmapSize; in createIconBitmap() local215 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap()221 final int top = (textureHeight-height) / 2; in createIconBitmap()