/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRow.java | 27 import android.graphics.drawable.BitmapDrawable; 431 BitmapDrawable repeatDrawable = (BitmapDrawable) getStyledDrawable(context, 433 BitmapDrawable repeatOneDrawable = (BitmapDrawable) getStyledDrawable(context, 436 drawables[ALL] = new BitmapDrawable(context.getResources(), 438 drawables[ONE] = new BitmapDrawable(context.getResources(), 474 BitmapDrawable uncoloredDrawable = (BitmapDrawable) getStyledDrawable(context, 478 drawables[ON] = new BitmapDrawable(context.getResources(), 512 BitmapDrawable uncoloredDrawable = (BitmapDrawable) getStyledDrawable(context, 516 drawables[ON] = new BitmapDrawable(context.getResources(), 550 BitmapDrawable uncoloredDrawable = (BitmapDrawable) getStyledDrawable(context, [all …]
|
D | DetailsOverviewRow.java | 18 import android.graphics.drawable.BitmapDrawable; 71 mImageDrawable = new BitmapDrawable(context.getResources(), bm); in setImageBitmap()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | IconUtilities.java | 19 import android.graphics.drawable.BitmapDrawable; 92 new BitmapDrawable(createSelectedBitmap(scaled, false))); in createIconDrawable() 94 new BitmapDrawable(createSelectedBitmap(scaled, true))); in createIconDrawable() 95 result.addState(new int[0], new BitmapDrawable(scaled)); in createIconDrawable() 113 } else if (icon instanceof BitmapDrawable) { in createIconBitmap() 115 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap()
|
/frameworks/base/core/java/android/transition/ |
D | Crossfade.java | 28 import android.graphics.drawable.BitmapDrawable; 180 final BitmapDrawable startDrawable = (BitmapDrawable) startVals.get(PROPNAME_DRAWABLE); in createAnimator() 181 final BitmapDrawable endDrawable = (BitmapDrawable) endVals.get(PROPNAME_DRAWABLE); in createAnimator() 281 BitmapDrawable drawable = new BitmapDrawable(bitmap); in captureValues()
|
D | TransitionUtils.java | 27 import android.graphics.drawable.BitmapDrawable; 123 if (drawable instanceof BitmapDrawable && scale == 1f) { in createDrawableBitmap() 125 return ((BitmapDrawable) drawable).getBitmap(); in createDrawableBitmap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FixedSizeImageView.java | 20 import android.graphics.drawable.BitmapDrawable; 66 boolean isNullBitmapDrawable = (drawable instanceof BitmapDrawable) && in setImageDrawable() 67 (((BitmapDrawable) drawable).getBitmap() == null); in setImageDrawable()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 26 import android.graphics.drawable.BitmapDrawable; 42 private BitmapDrawable mDrawable; 47 public DrawableHolder(BitmapDrawable drawable) { in DrawableHolder() 51 public DrawableHolder(BitmapDrawable drawable, float x, float y) { in DrawableHolder() 198 public BitmapDrawable getDrawable() { in getDrawable()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | BoundsCheckTest.java | 23 import android.graphics.drawable.BitmapDrawable; 37 private final BitmapDrawable mBitmap1; 43 mBitmap1 = (BitmapDrawable) res.getDrawable(R.drawable.icon); in BitmapsView()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 22 import android.graphics.drawable.BitmapDrawable; 64 ? new BitmapDrawable(context.getResources(), b) in ImageSpan() 65 : new BitmapDrawable(b); in ImageSpan() 139 drawable = new BitmapDrawable(mContext.getResources(), bitmap); in getDrawable()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CircularImageView.java | 12 import android.graphics.drawable.BitmapDrawable; 61 BitmapDrawable bitmapDrawable = null; in onDraw() 65 bitmapDrawable = (BitmapDrawable) drawable.getCurrent(); in onDraw() 68 bitmapDrawable = (BitmapDrawable) drawable; in onDraw()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 74 public class BitmapDrawable extends Drawable { class 111 public BitmapDrawable() { in BitmapDrawable() method in BitmapDrawable 124 public BitmapDrawable(Resources res) { in BitmapDrawable() method in BitmapDrawable 135 public BitmapDrawable(Bitmap bitmap) { in BitmapDrawable() method in BitmapDrawable 143 public BitmapDrawable(Resources res, Bitmap bitmap) { in BitmapDrawable() method in BitmapDrawable 154 public BitmapDrawable(String filepath) { in BitmapDrawable() method in BitmapDrawable 165 public BitmapDrawable(Resources res, String filepath) { in BitmapDrawable() method in BitmapDrawable 179 public BitmapDrawable(java.io.InputStream is) { in BitmapDrawable() method in BitmapDrawable 190 public BitmapDrawable(Resources res, java.io.InputStream is) { in BitmapDrawable() method in BitmapDrawable 717 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.BitmapDrawable); in inflate() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
D | PhotoBitmapLoaderInterface.java | 5 import android.graphics.drawable.BitmapDrawable; 43 return new BitmapDrawable(resources, bitmap); in getDrawable()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 25 import android.graphics.drawable.BitmapDrawable; 117 } else if (d instanceof BitmapDrawable) { in isGrayscaleIcon() 118 BitmapDrawable bd = (BitmapDrawable) d; in isGrayscaleIcon()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 112 private static class BitmapDrawable extends Drawable { class in BackgroundManager 121 return new BitmapDrawable(null, mBitmap, mMatrix); in newDrawable() 132 BitmapDrawable(Resources resources, Bitmap bitmap) { in BitmapDrawable() method in BackgroundManager.BitmapDrawable 136 BitmapDrawable(Resources resources, Bitmap bitmap, Matrix matrix) { in BitmapDrawable() method in BackgroundManager.BitmapDrawable 694 BitmapDrawable bitmapDrawable = new BitmapDrawable(mContext.getResources(), bitmap, matrix); in setBitmap() 773 if (first instanceof BitmapDrawable && second instanceof BitmapDrawable) { in sameDrawable() 774 … if (((BitmapDrawable) first).getBitmap().sameAs(((BitmapDrawable) second).getBitmap())) { in sameDrawable() 838 return new BitmapDrawable(mContext.getResources(), bitmap); in createEmptyDrawable()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | AssetsAtlasActivity.java | 25 import android.graphics.drawable.BitmapDrawable; 46 mBitmap = ((BitmapDrawable) d).getBitmap(); in BitmapsView()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 30 import android.graphics.drawable.BitmapDrawable; 101 BitmapDrawable placeholder = (BitmapDrawable) drawable.getInnerDrawable(); in onDrawPlaceholderOrProgress()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | TintRatingBar.java | 24 import android.graphics.drawable.BitmapDrawable; 106 } else if (drawable instanceof BitmapDrawable) { in tileify() 107 final Bitmap tileBitmap = ((BitmapDrawable) drawable).getBitmap(); in tileify()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 23 import android.graphics.drawable.BitmapDrawable; 172 if (originalIcon instanceof BitmapDrawable) { in getBadgedIcon()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PageContentView.java | 20 import android.graphics.drawable.BitmapDrawable; 60 public void onPageContentAvailable(BitmapDrawable content) { in onPageContentAvailable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoader.java | 25 import android.graphics.drawable.BitmapDrawable; 110 BitmapDrawable mDefaultApplicationIcon; 118 BitmapDrawable defaultApplicationIcon) { in TaskResourceLoader() 257 return ssp.getBadgedIcon(new BitmapDrawable(res, tdIcon), taskKey.userId); in getTaskDescriptionIcon() 285 BitmapDrawable mDefaultApplicationIcon; 305 mDefaultApplicationIcon = new BitmapDrawable(context.getResources(), icon); in RecentsTaskLoader()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 25 import android.graphics.drawable.BitmapDrawable; 201 if (drawable instanceof BitmapDrawable && scale == 1f) { in createDrawableBitmap() 203 return ((BitmapDrawable) drawable).getBitmap(); in createDrawableBitmap()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 37 import android.graphics.drawable.BitmapDrawable; 122 BitmapDrawable drawable = new BitmapDrawable(getContext().getResources(), in loadIcon()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 23 import android.graphics.drawable.BitmapDrawable; 220 view.setBackground(new BitmapDrawable(resources, bitmap)); in onCreateSnapshotView()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 26 import android.graphics.drawable.BitmapDrawable; 406 if (!(drawable instanceof BitmapDrawable)) { in loadResource() 412 mBitmap = ((BitmapDrawable)drawable).getBitmap(); in loadResource()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 26 import android.graphics.drawable.BitmapDrawable; 78 public void onPageContentAvailable(BitmapDrawable content); in onPageContentAvailable() 397 final BitmapDrawable content; 402 RenderedPage(BitmapDrawable content) { in RenderedPage() 810 BitmapDrawable content = new BitmapDrawable(mContext.getResources(), bitmap); in onPreExecute()
|