Searched refs:bitmapDrawable (Results 1 – 5 of 5) 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()
99 final BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in tileify() local100 final Bitmap tileBitmap = bitmapDrawable.getBitmap(); in tileify()109 shapeDrawable.getPaint().setColorFilter(bitmapDrawable.getPaint().getColorFilter()); in tileify()
115 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local116 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()118 bitmapDrawable.setTargetDensity(mDisplayMetrics); in createIconBitmap()
1074 BitmapDrawable bitmapDrawable = new BitmapDrawable(mContext.getResources(), bitmap, matrix); in setBitmap() local1076 setDrawableInternal(bitmapDrawable); in setBitmap()
2344 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in getBadgedDrawable() local2345 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()