OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:an_image
(Results
1 - 6
of
6
) sorted by null
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
BitmapDrawableTest.java
35
BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.
an_image
);
36
assertEquals("Bitmap for resource:drawable/
an_image
", shadowOf(drawable.getBitmap()).getDescription());
41
BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.
an_image
);
45
assertEquals("Bitmap for resource:drawable/
an_image
", shadowOf(canvas).getDescription());
57
BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.
an_image
);
62
assertEquals("Bitmap for resource:drawable/
an_image
with ColorMatrixColorFilter<1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0>",
68
Drawable drawable1a = resources.getDrawable(R.drawable.
an_image
);
69
Drawable drawable1b = resources.getDrawable(R.drawable.
an_image
);
78
Drawable drawable1a = resources.getDrawable(R.drawable.
an_image
);
79
Drawable drawable1b = resources.getDrawable(R.drawable.
an_image
);
[
all
...]
BitmapFactoryTest.java
22
Bitmap bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.
an_image
);
23
assertEquals("Bitmap for resource:drawable/
an_image
", shadowOf(bitmap).getDescription());
31
Bitmap bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.
an_image
, opts);
32
assertEquals("Bitmap for resource:drawable/
an_image
", shadowOf(bitmap).getDescription());
58
ShadowBitmapFactory.provideWidthAndHeightHints(R.drawable.
an_image
, 123, 456);
60
Bitmap bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.
an_image
);
61
assertEquals("Bitmap for resource:drawable/
an_image
", shadowOf(bitmap).getDescription());
68
ShadowBitmapFactory.provideWidthAndHeightHints(R.drawable.
an_image
, 123, 456);
71
Bitmap bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.
an_image
, opts);
72
assertEquals("Bitmap for resource:drawable/
an_image
", shadowOf(bitmap).getDescription())
[
all
...]
ImageViewTest.java
35
R.drawable.
an_image
);
43
assertEquals("Bitmap for resource:drawable/
an_image
",
49
assertEquals("Bitmap for resource:drawable/
an_image
at (15,20)",
58
assertEquals("Bitmap for resource:drawable/
an_image
at (15,20)",
62
assertEquals("Bitmap for resource:drawable/
an_image
at (15,20)",
66
assertEquals("Bitmap for resource:drawable/
an_image
at (30,40)",
ViewTest.java
159
view.setBackgroundResource(R.drawable.
an_image
);
160
assertThat(view.getBackground(), equalTo(view.getResources().getDrawable(R.drawable.
an_image
)));
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
R.java
99
public static final int
an_image
= nextId++;
field in class:R.drawable
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
ViewLoaderTest.java
269
assertThat(shadowTextView.getCompoundDrawablesImpl().getTop(), equalTo(R.drawable.
an_image
));
286
assertThat(((ShadowImageView) shadowOf(mediaView.findViewById(R.id.image))).getResourceId(), equalTo(R.drawable.
an_image
));
Completed in 163 milliseconds