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()
140 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in fromDrawable() local141 if (bitmapDrawable.getBitmap() != null) { in fromDrawable()142 return bitmapDrawable.getBitmap(); in fromDrawable()
286 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local287 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()289 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()