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/Launcher2/src/com/android/launcher2/
DUtilities.java109 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local
110 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()
112 bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics()); in createIconBitmap()
DWidgetPreviewLoader.java611 BitmapDrawable bitmapDrawable = (BitmapDrawable) badgedPreviewDrawable; in generateWidgetPreview() local
612 return bitmapDrawable.getBitmap(); in generateWidgetPreview()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java368 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconThumbnail() local
369 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconThumbnail()
371 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherIcons.java237 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local
238 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()
240 bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics()); in createIconBitmap()
/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()