Searched refs:bitmapDrawable (Results 1 – 4 of 4) sorted by relevance
61 BitmapDrawable bitmapDrawable = null; in onDraw() local65 bitmapDrawable = (BitmapDrawable) drawable.getCurrent(); in onDraw()68 bitmapDrawable = (BitmapDrawable) drawable; in onDraw()71 if (bitmapDrawable == null) { in onDraw()74 Bitmap bitmap = bitmapDrawable.getBitmap(); in onDraw()
115 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local116 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()118 bitmapDrawable.setTargetDensity(mDisplayMetrics); in createIconBitmap()
694 BitmapDrawable bitmapDrawable = new BitmapDrawable(mContext.getResources(), bitmap, matrix); in setBitmap() local696 setDrawableInternal(bitmapDrawable); in setBitmap()
1750 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in getBadgedDrawable() local1751 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()