Home
last modified time | relevance | path

Searched refs:decodeResource (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLayerDrawableTest.java38 drawable1000 = new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.an_image)); in setUp()
40 new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.an_other_image)); in setUp()
42 new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.third_image)); in setUp()
44 new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.fourth_image)); in setUp()
DShadowBitmapFactoryTest.java37 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescriptionAndCreatedFrom()
47 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDefaultBitmapConfig()
54 assertThat(BitmapFactory.decodeResource(context.getResources(), 0)).isNull(); in withResId0_decodeResource_shouldReturnNull()
62 BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image, options); in decodeResource_shouldPassABitmapConfig()
114 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldGetWidthAndHeightFromHints()
125 BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image, options); in decodeResource_canTakeOptions()
DShadowImageViewTest.java23 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image); in getDrawableResourceId_shouldWorkWhenTheDrawableWasCreatedFromAResource()
DShadowNotificationBuilderTest.java239 BitmapFactory.decodeResource( in withBigPictureStyle()
/external/libchrome/base/android/java/src/org/chromium/base/
DPackageUtils.java47 return BitmapFactory.decodeResource(resources, resourceId); in decodeImageResource()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
DPinView.java34 pin = BitmapFactory.decodeResource(this.getResources(), drawable.pushpin_blue); in initialise()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageDecoder.java79 bitmap = BitmapFactory.decodeResource(context.getResources(), id, options); in decode()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYPlotWithBgImgActivity.java111 BitmapFactory.decodeResource( in onGraphStyleToggle()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmapFactory.java56 protected static Bitmap decodeResource(Resources res, int id, BitmapFactory.Options options) { in decodeResource() method in ShadowBitmapFactory