Searched refs:bitmapDrawable (Results 1 – 6 of 6) sorted by relevance
64 final BitmapDrawable bitmapDrawable; in setImageDrawable() local66 bitmapDrawable = (BitmapDrawable) drawable; in setImageDrawable()69 bitmapDrawable = (BitmapDrawable) getResources().getDrawable( in setImageDrawable()72 bitmapDrawable = (BitmapDrawable) getResources().getDrawable( in setImageDrawable()80 mBitmapDrawable = bitmapDrawable; in setImageDrawable()82 super.setImageDrawable(bitmapDrawable); in setImageDrawable()
109 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local110 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()112 bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics()); in createIconBitmap()
611 BitmapDrawable bitmapDrawable = (BitmapDrawable) badgedPreviewDrawable; in generateWidgetPreview() local612 return bitmapDrawable.getBitmap(); in generateWidgetPreview()
368 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconThumbnail() local369 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconThumbnail()371 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
237 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local238 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()240 bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics()); in createIconBitmap()
194 BitmapDrawable bitmapDrawable = new BitmapDrawable(res, buffer); in getMoreSuggestionsHint() local195 bitmapDrawable.setTargetDensity(canvas); in getMoreSuggestionsHint()196 return bitmapDrawable; in getMoreSuggestionsHint()