Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java61 BitmapDrawable bitmapDrawable = null; in onDraw() local
65 bitmapDrawable = (BitmapDrawable) drawable.getCurrent(); in onDraw()
68 bitmapDrawable = (BitmapDrawable) drawable; in onDraw()
71 if (bitmapDrawable == null) { in onDraw()
74 Bitmap bitmap = bitmapDrawable.getBitmap(); in onDraw()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java81 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local
82 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()
84 bitmapDrawable.setTargetDensity(mDisplayMetrics); in createIconBitmap()
/frameworks/base/core/java/android/view/
DPointerIcon.java440 private Bitmap getBitmapFromDrawable(BitmapDrawable bitmapDrawable) { in getBitmapFromDrawable() argument
441 Bitmap bitmap = bitmapDrawable.getBitmap(); in getBitmapFromDrawable()
442 final int scaledWidth = bitmapDrawable.getIntrinsicWidth(); in getBitmapFromDrawable()
443 final int scaledHeight = bitmapDrawable.getIntrinsicHeight(); in getBitmapFromDrawable()
525 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in loadResource() local
526 final Bitmap bitmap = getBitmapFromDrawable(bitmapDrawable); in loadResource()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java308 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local
309 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()
311 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics()); in createIconBitmap()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2820 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in getBadgedDrawable() local
2821 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()