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()
193 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in drawableToBitmap() local194 if (bitmapDrawable.getBitmap() != null) { in drawableToBitmap()195 return bitmapDrawable.getBitmap(); in drawableToBitmap()
279 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local280 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()282 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics()); in createIconBitmap()
372 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconThumbnail() local373 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconThumbnail()375 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
194 BitmapDrawable bitmapDrawable = new BitmapDrawable(res, buffer); in getMoreSuggestionsHint() local195 bitmapDrawable.setTargetDensity(canvas); in getMoreSuggestionsHint()196 return bitmapDrawable; in getMoreSuggestionsHint()