Home
last modified time | relevance | path

Searched refs:bitmapDrawable (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/widget/
DQuickContactImageView.java64 final BitmapDrawable bitmapDrawable; in setImageDrawable() local
66 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()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java193 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in drawableToBitmap() local
194 if (bitmapDrawable.getBitmap() != null) { in drawableToBitmap()
195 return bitmapDrawable.getBitmap(); in drawableToBitmap()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java279 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local
280 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()
282 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics()); in createIconBitmap()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DActivityPicker.java372 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconThumbnail() local
373 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconThumbnail()
375 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java372 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconThumbnail() local
373 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconThumbnail()
375 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java194 BitmapDrawable bitmapDrawable = new BitmapDrawable(res, buffer); in getMoreSuggestionsHint() local
195 bitmapDrawable.setTargetDensity(canvas); in getMoreSuggestionsHint()
196 return bitmapDrawable; in getMoreSuggestionsHint()