Searched refs:an_image (Results 1 – 6 of 6) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BitmapDrawableTest.java | 35 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in getBitmap_shouldReturnBitmapUsedToDraw() 41 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in draw_shouldCopyDescriptionToCanvas() 57 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas() 68 Drawable drawable1a = resources.getDrawable(R.drawable.an_image); in equals_shouldTestResourceId() 69 Drawable drawable1b = resources.getDrawable(R.drawable.an_image); in equals_shouldTestResourceId() 78 Drawable drawable1a = resources.getDrawable(R.drawable.an_image); in equals_shouldTestBounds() 79 Drawable drawable1b = resources.getDrawable(R.drawable.an_image); in equals_shouldTestBounds() 92 Drawable drawable = resources.getDrawable(R.drawable.an_image); in shouldStillHaveShadow() 93 …assertEquals(R.drawable.an_image, ((ShadowBitmapDrawable) Robolectric.shadowOf(drawable)).getLoade… in shouldStillHaveShadow() 98 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in shouldSetTileModeXY()
|
D | BitmapFactoryTest.java | 22 …bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescription() 31 … = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an_image, opts); in decodeResourceWithOpts_shouldSetDescription() 58 ShadowBitmapFactory.provideWidthAndHeightHints(R.drawable.an_image, 123, 456); in decodeResource_shouldGetWidthAndHeightFromHints() 60 …bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an_image); in decodeResource_shouldGetWidthAndHeightFromHints() 68 ShadowBitmapFactory.provideWidthAndHeightHints(R.drawable.an_image, 123, 456); in decodeResourceWithOpts_shouldGetWidthAndHeightFromHints() 71 … = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an_image, opts); in decodeResourceWithOpts_shouldGetWidthAndHeightFromHints() 83 …BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an_image, options); in decodeResource_canTakeOptions()
|
D | ImageViewTest.java | 35 R.drawable.an_image); in setUp()
|
D | ViewTest.java | 159 view.setBackgroundResource(R.drawable.an_image); in shouldSetBackgroundResource() 160 … assertThat(view.getBackground(), equalTo(view.getResources().getDrawable(R.drawable.an_image))); in shouldSetBackgroundResource()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
D | R.java | 99 public static final int an_image = nextId++; field in R.drawable
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
D | ViewLoaderTest.java | 269 … assertThat(shadowTextView.getCompoundDrawablesImpl().getTop(), equalTo(R.drawable.an_image)); in testTextViewCompoundDrawablesAreSet() 286 …View) shadowOf(mediaView.findViewById(R.id.image))).getResourceId(), equalTo(R.drawable.an_image)); in testImageViewSrcIsSet()
|