Lines Matching refs:bitmap
110 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap() local
111 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
138 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap() local
141 canvas.setBitmap(bitmap); in createIconBitmap()
163 return bitmap; in createIconBitmap()
202 static Bitmap resampleIconBitmap(Bitmap bitmap, Context context) { in resampleIconBitmap() argument
208 if (bitmap.getWidth() == sIconWidth && bitmap.getHeight() == sIconHeight) { in resampleIconBitmap()
209 return bitmap; in resampleIconBitmap()
212 return createIconBitmap(new BitmapDrawable(resources, bitmap), context); in resampleIconBitmap()
217 static Bitmap drawDisabledBitmap(Bitmap bitmap, Context context) { in drawDisabledBitmap() argument
222 final Bitmap disabled = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), in drawDisabledBitmap()
227 canvas.drawBitmap(bitmap, 0.0f, 0.0f, sDisabledPaint); in drawDisabledBitmap()