/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 23 import android.graphics.drawable.BitmapDrawable; 64 BitmapDrawable bmp = new BitmapDrawable(getResources(), bitmap);
|
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 23 import android.graphics.drawable.BitmapDrawable; 64 BitmapDrawable bmp = new BitmapDrawable(getResources(), bitmap);
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
ThumbnailRadioButton.java | 22 import android.graphics.drawable.BitmapDrawable; 62 BitmapDrawable bmp = new BitmapDrawable(getResources(), bitmap);
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
ActivityAnimations.java | 27 import android.graphics.drawable.BitmapDrawable; 73 BitmapDrawable thumbnailDrawable = 74 new BitmapDrawable(resources, pictureData.thumbnail);
|
BitmapUtils.java | 26 import android.graphics.drawable.BitmapDrawable;
|
PictureDetailsActivity.java | 26 import android.graphics.drawable.BitmapDrawable; 55 private BitmapDrawable mBitmapDrawable; 89 mBitmapDrawable = new BitmapDrawable(getResources(), bitmap);
|
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/ |
WindowAnimations.java | 23 import android.graphics.drawable.BitmapDrawable; 94 BitmapDrawable drawable = (BitmapDrawable) thumbnail.getDrawable();
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
DrawableResourceLoaderTest.java | 15 import android.graphics.drawable.BitmapDrawable; 56 assertThat(resources.getDrawable(R.drawable.l7_white)).isInstanceOf(BitmapDrawable.class); 57 assertThat(resources.getDrawable(R.drawable.l0_red)).isInstanceOf(BitmapDrawable.class); 64 assertThat(resources.getDrawable(R.drawable.an_image_or_vector)).isInstanceOf(BitmapDrawable.class);
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ContactPhotoBinder.java | 25 import android.graphics.drawable.BitmapDrawable; 80 d = new BitmapDrawable(mResources, bitmap);
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
TestUtils.java | 28 import android.graphics.drawable.BitmapDrawable; 424 return ((BitmapDrawable) getDrawable(context, resid)).getBitmap(); 436 ((BitmapDrawable) compoundDrawables[0]).getBitmap()); 442 ((BitmapDrawable) compoundDrawables[1]).getBitmap()); 448 ((BitmapDrawable) compoundDrawables[2]).getBitmap()); 454 ((BitmapDrawable) compoundDrawables[3]).getBitmap()); 467 ((BitmapDrawable) compoundDrawablesRelative[0]).getBitmap()); 473 ((BitmapDrawable) compoundDrawablesRelative[1]).getBitmap()); 479 ((BitmapDrawable) compoundDrawablesRelative[2]).getBitmap()); 485 ((BitmapDrawable) compoundDrawablesRelative[3]).getBitmap()) [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 25 import android.graphics.drawable.BitmapDrawable; 78 private LruCache<String, BitmapDrawable> mMemoryCache; 152 mMemoryCache = new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) { 159 BitmapDrawable oldValue, BitmapDrawable newValue) { 165 // The removed entry is a standard BitmapDrawable 180 protected int sizeOf(String key, BitmapDrawable value) { 235 public void addBitmapToCache(String data, BitmapDrawable value) { 292 public BitmapDrawable getBitmapFromMemCache(String data) { 294 BitmapDrawable memValue = null [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 25 import android.graphics.drawable.BitmapDrawable; 78 private LruCache<String, BitmapDrawable> mMemoryCache; 152 mMemoryCache = new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) { 159 BitmapDrawable oldValue, BitmapDrawable newValue) { 165 // The removed entry is a standard BitmapDrawable 180 protected int sizeOf(String key, BitmapDrawable value) { 235 public void addBitmapToCache(String data, BitmapDrawable value) { 292 public BitmapDrawable getBitmapFromMemCache(String data) { 294 BitmapDrawable memValue = null [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 25 import android.graphics.drawable.BitmapDrawable; 78 private LruCache<String, BitmapDrawable> mMemoryCache; 152 mMemoryCache = new LruCache<String, BitmapDrawable>(mCacheParams.memCacheSize) { 159 BitmapDrawable oldValue, BitmapDrawable newValue) { 165 // The removed entry is a standard BitmapDrawable 180 protected int sizeOf(String key, BitmapDrawable value) { 235 public void addBitmapToCache(String data, BitmapDrawable value) { 292 public BitmapDrawable getBitmapFromMemCache(String data) { 294 BitmapDrawable memValue = null [all...] |
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertionListView.java | 33 import android.graphics.drawable.BitmapDrawable; 69 private List<BitmapDrawable> mCellBitmapDrawables; 89 mCellBitmapDrawables = new ArrayList<BitmapDrawable>(); 107 final HashMap<Long, BitmapDrawable> listViewItemDrawables = new HashMap<Long, 108 BitmapDrawable>(); 230 BitmapDrawable bitmapDrawable = listViewItemDrawables.get(itemId); 232 bitmapDrawable.setBounds(startBounds); 238 ObjectAnimator animation = ObjectAnimator.ofObject(bitmapDrawable, 258 mCellBitmapDrawables.add(bitmapDrawable); [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ScaleDrawableTest.java | 46 import android.graphics.drawable.BitmapDrawable; 80 Drawable d = new BitmapDrawable(); 90 ScaleDrawable scaleDrawable = new ScaleDrawable(new BitmapDrawable(), 99 scaleDrawable.invalidateDrawable(new BitmapDrawable()); 111 ScaleDrawable scaleDrawable = new ScaleDrawable(new BitmapDrawable(), 120 scaleDrawable.scheduleDrawable(new BitmapDrawable(), () -> {}, 1000L); 132 ScaleDrawable scaleDrawable = new ScaleDrawable(new BitmapDrawable(), 141 scaleDrawable.unscheduleDrawable(new BitmapDrawable(), () -> {}); 423 ScaleDrawable scaleDrawable = new ScaleDrawable(new BitmapDrawable(), 439 ScaleDrawable scaleDrawable = new ScaleDrawable(new BitmapDrawable(), [all...] |
ClipDrawableTest.java | 44 import android.graphics.drawable.BitmapDrawable; 74 BitmapDrawable bmpDrawable = new BitmapDrawable(); 140 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap); 155 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap); 207 BitmapDrawable bmpDrawable = new BitmapDrawable(); 238 BitmapDrawable bmpDrawable [all...] |
DrawableWrapperTest.java | 44 import android.graphics.drawable.BitmapDrawable; 72 Drawable d = new BitmapDrawable(); 82 Drawable d = new BitmapDrawable(); 90 Drawable d = new BitmapDrawable(); 101 DrawableWrapper wrapper = new MyWrapper(new BitmapDrawable()); 109 wrapper.invalidateDrawable(new BitmapDrawable()); 121 DrawableWrapper wrapper = new MyWrapper(new BitmapDrawable()); 129 wrapper.scheduleDrawable(new BitmapDrawable(), () -> {}, 1000L); 141 DrawableWrapper wrapper = new MyWrapper(new BitmapDrawable()); 149 wrapper.unscheduleDrawable(new BitmapDrawable(), () -> {}) [all...] |
DefaultFocusHighlightTest.java | 33 import android.graphics.drawable.BitmapDrawable; 310 static BitmapDrawable createBitmapDrawable(Context context) { 312 BitmapDrawable bitmapDrawable = new BitmapDrawable(context.getResources(), bitmap); 313 return bitmapDrawable;
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
SetupWizardLayout.java | 25 import android.graphics.drawable.BitmapDrawable; 321 if (backgroundTile instanceof BitmapDrawable) { 322 ((BitmapDrawable) backgroundTile).setTileModeXY(TileMode.REPEAT, TileMode.REPEAT); 339 if (horizontalTile instanceof BitmapDrawable) { 340 ((BitmapDrawable) horizontalTile).setTileModeX(TileMode.REPEAT); 341 ((BitmapDrawable) horizontalTile).setGravity(Gravity.TOP); 343 if (asset instanceof BitmapDrawable) { 345 ((BitmapDrawable) asset).setGravity(Gravity.TOP | Gravity.LEFT);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageViewTest.java | 55 import android.graphics.drawable.BitmapDrawable; 218 BitmapDrawable testimageBitmap = (BitmapDrawable) drawable; 220 BitmapDrawable imageViewBitmap = (BitmapDrawable) imageViewDrawable; 234 BitmapDrawable testimageBitmap = (BitmapDrawable) drawable; 236 BitmapDrawable imageViewBitmap = (BitmapDrawable) imageViewDrawable; 258 BitmapDrawable imageViewBitmap = (BitmapDrawable) imageViewDrawable [all...] |
SimpleCursorTreeAdapterTest.java | 27 import android.graphics.drawable.BitmapDrawable; 154 BitmapDrawable d = (BitmapDrawable) mContext.getResources().getDrawable( 157 ((BitmapDrawable) view.getDrawable()).getBitmap()); 182 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap();
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
CardPresenter.java | 19 import android.graphics.drawable.BitmapDrawable; 122 Drawable bitmapDrawable = new BitmapDrawable(mContext.getResources(), bitmap); 123 mImageCardView.setMainImage(bitmapDrawable);
|
/developers/build/prebuilts/gradle/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/ |
GridExampleActivity.java | 30 import android.graphics.drawable.BitmapDrawable; 98 drawable = new BitmapDrawable(mContext.getResources(), bm);
|
/developers/samples/android/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/ |
GridExampleActivity.java | 30 import android.graphics.drawable.BitmapDrawable; 98 drawable = new BitmapDrawable(mContext.getResources(), bm);
|
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/ |
GridExampleActivity.java | 30 import android.graphics.drawable.BitmapDrawable; 98 drawable = new BitmapDrawable(mContext.getResources(), bm);
|