/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 29 import android.graphics.drawable.BitmapDrawable; 87 assertThat(drawable).isInstanceOf(BitmapDrawable.class); in setIcon_resourceId_shouldSetIcon() 119 final BitmapDrawable expected = in testSetIconFromXml() 120 (BitmapDrawable) mContext.getResources().getDrawable(android.R.drawable.ic_menu_add); in testSetIconFromXml() 121 final BitmapDrawable actual = (BitmapDrawable) mIconView.getDrawable(); in testSetIconFromXml()
|
/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 | 28 import android.graphics.drawable.BitmapDrawable; 124 if (drawable instanceof BitmapDrawable && scale == 1f) { in createDrawableBitmap() 126 return ((BitmapDrawable) drawable).getBitmap(); in createDrawableBitmap()
|
/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/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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 20 import android.graphics.drawable.BitmapDrawable; 146 new BitmapDrawable(mContext.getResources(), placeholderBitmap)); in createIconBitmap() 153 icon = createIconBitmap(new BitmapDrawable(mContext.getResources(), icon), 1f); in createIconBitmap() 229 BitmapDrawable drawable = new FixedSizeBitmapDrawable(bitmap); in createBadgedIconBitmap() 231 if (badged instanceof BitmapDrawable) { in createBadgedIconBitmap() 232 bitmap = ((BitmapDrawable) badged).getBitmap(); in createBadgedIconBitmap() 249 if (badgedDrawable instanceof BitmapDrawable) { in getUserBadgeBitmap() 250 mUserBadgeBitmap = ((BitmapDrawable) badgedDrawable).getBitmap(); in getUserBadgeBitmap() 371 if (icon instanceof BitmapDrawable) { in createIconBitmap() 372 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() [all …]
|
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInlineImageResolverTest.java | 28 import android.graphics.drawable.BitmapDrawable; 48 BitmapDrawable mBitmapDrawable; 55 mBitmapDrawable = new BitmapDrawable(mContext.getResources(), mBitmap); in setup()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | SetupWizardLayout.java | 25 import android.graphics.drawable.BitmapDrawable; 316 if (backgroundTile instanceof BitmapDrawable) { in setBackgroundTile() 317 ((BitmapDrawable) backgroundTile).setTileModeXY(TileMode.REPEAT, TileMode.REPEAT); in setBackgroundTile() 334 if (horizontalTile instanceof BitmapDrawable) { in getIllustration() 335 ((BitmapDrawable) horizontalTile).setTileModeX(TileMode.REPEAT); in getIllustration() 336 ((BitmapDrawable) horizontalTile).setGravity(Gravity.TOP); in getIllustration() 338 if (asset instanceof BitmapDrawable) { in getIllustration() 340 ((BitmapDrawable) asset).setGravity(Gravity.TOP | Gravity.LEFT); in getIllustration()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 13 import android.graphics.drawable.BitmapDrawable; 148 if (pair.first instanceof BitmapDrawable) { in getBtRainbowDrawableWithDescription() 150 resources, ((BitmapDrawable) pair.first).getBitmap()), pair.second); in getBtRainbowDrawableWithDescription() 207 return new Pair<>(new BitmapDrawable(resources, in getBtDrawableWithDescription() 255 if (drawable instanceof BitmapDrawable) { in createIconWithDrawable() 256 bitmap = ((BitmapDrawable) drawable).getBitmap(); in createIconWithDrawable() 276 if (drawable instanceof BitmapDrawable) { in buildAdvancedDrawable() 277 bitmap = ((BitmapDrawable) drawable).getBitmap(); in buildAdvancedDrawable()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 26 import android.graphics.drawable.BitmapDrawable; 114 ? new BitmapDrawable(context.getResources(), bitmap) in ImageSpan() 115 : new BitmapDrawable(bitmap); in ImageSpan() 238 drawable = new BitmapDrawable(mContext.getResources(), bitmap); in getDrawable()
|
/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/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 79 public class BitmapDrawable extends Drawable { class 117 public BitmapDrawable() { in BitmapDrawable() method in BitmapDrawable 130 public BitmapDrawable(Resources res) { in BitmapDrawable() method in BitmapDrawable 140 public BitmapDrawable(Bitmap bitmap) { in BitmapDrawable() method in BitmapDrawable 148 public BitmapDrawable(Resources res, Bitmap bitmap) { in BitmapDrawable() method in BitmapDrawable 158 public BitmapDrawable(String filepath) { in BitmapDrawable() method in BitmapDrawable 166 public BitmapDrawable(Resources res, String filepath) { in BitmapDrawable() method in BitmapDrawable 191 public BitmapDrawable(java.io.InputStream is) { in BitmapDrawable() method in BitmapDrawable 199 public BitmapDrawable(Resources res, java.io.InputStream is) { in BitmapDrawable() method in BitmapDrawable 774 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.BitmapDrawable); in inflate() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 30 import android.graphics.drawable.BitmapDrawable; 102 if (drawable.getInnerDrawable() instanceof BitmapDrawable) { in onDrawPlaceholderOrProgress() 103 BitmapDrawable placeholder = in onDrawPlaceholderOrProgress() 104 (BitmapDrawable) drawable.getInnerDrawable(); in onDrawPlaceholderOrProgress()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | SysUiResources.java | 35 import android.graphics.drawable.BitmapDrawable; 93 BitmapDrawable drawable = new BitmapDrawable(context.getResources(), bitmap); in loadIcon()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 33 import android.graphics.drawable.BitmapDrawable; 441 private Bitmap getBitmapFromDrawable(BitmapDrawable bitmapDrawable) { in getBitmapFromDrawable() 506 if (!(drawableFrame instanceof BitmapDrawable)) { in loadResource() 516 BitmapDrawable bitmapDrawableFrame = (BitmapDrawable) drawableFrame; in loadResource() 521 if (!(drawable instanceof BitmapDrawable)) { in loadResource() 526 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in loadResource()
|
/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/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 44 import android.graphics.drawable.BitmapDrawable; 214 BitmapDrawable drawable = new FixedSizeBitmapDrawable(bitmap); in createUserBadgedIconBitmap() 216 if (badged instanceof BitmapDrawable) { in createUserBadgedIconBitmap() 217 result = ((BitmapDrawable) badged).getBitmap(); in createUserBadgedIconBitmap() 259 icon = new BitmapDrawable(mContext.getResources(), bitmap); in createAppBadgedIconBitmap() 372 if (icon instanceof BitmapDrawable) { in createIconBitmap() 373 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() 737 private static class FixedSizeBitmapDrawable extends BitmapDrawable {
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 31 import android.graphics.drawable.BitmapDrawable; 147 (drawable instanceof BitmapDrawable)) { in buildScaledBitmap() 148 return ((BitmapDrawable) drawable).getBitmap(); in buildScaledBitmap()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaDevice.java | 21 import android.graphics.drawable.BitmapDrawable; 62 if (!(drawable instanceof BitmapDrawable)) { in getIcon()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PageContentView.java | 20 import android.graphics.drawable.BitmapDrawable; 65 public void onPageContentAvailable(BitmapDrawable renderedPage) { in onPageContentAvailable()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
D | BlingyNotification.kt | 27 import android.graphics.drawable.BitmapDrawable 40 image = if (drawable is BitmapDrawable) {
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaDeviceTest.java | 27 import android.graphics.drawable.BitmapDrawable; 111 assertThat(mBluetoothMediaDevice.getIcon() instanceof BitmapDrawable).isFalse(); in getIcon_isNotFastPairDevice_drawableTypeIsNotBitmapDrawable()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | BitmapDrawable.java | 24 public class BitmapDrawable extends Activity { class
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 37 import android.graphics.drawable.BitmapDrawable; 128 BitmapDrawable drawable = new BitmapDrawable(getContext().getResources(), bitmap); in loadIcon()
|