OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ShadowBitmap
(Results
1 - 25
of
27
) sorted by null
1
2
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBitmap.java
16
public class
ShadowBitmap
{
41
ShadowBitmap
shadowBitmap
= shadowOf(scaledBitmap);
42
shadowBitmap
.appendDescription("Bitmap (" + width + " x " + height + ")");
43
shadowBitmap
.setWidth(width);
44
shadowBitmap
.setHeight(height);
45
shadowBitmap
.setConfig(config);
51
ShadowBitmap
shadowBitmap
= shadowOf(bitmap);
52
shadowBitmap
.appendDescription(" created from Bitmap object")
[
all
...]
ShadowBitmapFactory.java
71
ShadowBitmap
shadowBitmap
= shadowOf(bitmap);
72
shadowBitmap
.appendDescription("Bitmap for " + name);
76
shadowBitmap
.appendDescription(" with options ");
77
shadowBitmap
.appendDescription(optionsString);
85
shadowBitmap
.setWidth(widthAndHeight.x);
86
shadowBitmap
.setHeight(widthAndHeight.y);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
BitmapTest.java
62
assertFalse(
ShadowBitmap
.create("bitmap A").equals(
ShadowBitmap
.create("bitmap B")));
64
assertTrue(
ShadowBitmap
.create("bitmap A").equals(
ShadowBitmap
.create("bitmap A")));
69
Bitmap bitmapA1 =
ShadowBitmap
.create("bitmap A");
73
Bitmap bitmapA2 =
ShadowBitmap
.create("bitmap A");
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBitmap.java
24
public class
ShadowBitmap
{
207
ShadowBitmap
shadowBitmap
= shadowOf(scaledBitmap);
208
shadowBitmap
.setDescription("Bitmap (" + width + " x " + height + ")");
210
shadowBitmap
.width = width;
211
shadowBitmap
.height = height;
212
shadowBitmap
.config = config;
213
shadowBitmap
.setMutable(true);
215
shadowBitmap
.density = displayMetrics.densityDpi;
217
shadowBitmap
.setPixels(new int[shadowBitmap.getHeight() * shadowBitmap.getWidth()], 0, shadowBitmap.getWidth(), (…)
[
all
...]
ShadowBitmapFactory.java
78
ShadowBitmap
shadowBitmap
= Shadows.shadowOf(bitmap);
79
shadowBitmap
.createdFromPath = pathName;
86
ShadowBitmap
shadowBitmap
= Shadows.shadowOf(bitmap);
87
shadowBitmap
.createdFromFileDescriptor = fd;
113
ShadowBitmap
shadowBitmap
= Shadows.shadowOf(bitmap);
114
shadowBitmap
.createdFromStream = is;
121
ShadowBitmap
shadowBitmap = Shadows.shadowOf(bitmap)
[
all
...]
ShadowResources.java
280
if (bitmap != null && Shadow.extract(bitmap) instanceof
ShadowBitmap
) {
281
ShadowBitmap
shadowBitmap
= shadowOf(bitmap);
282
if (
shadowBitmap
.createdFromResId == -1) {
283
shadowBitmap
.setCreatedFromResId(id, shadowOf(resources.getAssets()).getResourceName(id));
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBitmapFactoryTest.java
28
ShadowBitmap
shadowBitmap
= shadowOf(bitmap);
29
assertEquals("Bitmap for resource:org.robolectric:drawable/an_image",
shadowBitmap
.getDescription());
30
assertEquals(R.drawable.an_image,
shadowBitmap
.getCreatedFromResId());
58
ShadowBitmap
shadowBitmap
= shadowOf(bitmap);
59
assertEquals("Bitmap for file:/some/file.jpg",
shadowBitmap
.getDescription());
60
assertEquals("/some/file.jpg",
shadowBitmap
.getCreatedFromPath());
69
ShadowBitmap
shadowBitmap
= shadowOf(bitmap)
[
all
...]
ShadowBitmapTest.java
172
assertThat(
ShadowBitmap
.visualize(bitmap))
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
Robolectric.java
154
ShadowBitmap
.class,
485
public static
ShadowBitmap
shadowOf(Bitmap other) {
486
return (
ShadowBitmap
) Robolectric.shadowOf_(other);
[
all
...]
/external/ImageMagick/MagickCore/
animate.c
199
ShadowBitmap
[8] =
[
all
...]
/external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar
shadows-core-3.1-SNAPSHOT-17.jar
shadows-core-3.1-SNAPSHOT-18.jar
shadows-core-3.1-SNAPSHOT-19.jar
shadows-core-3.1-SNAPSHOT-21.jar
shadows-core-3.1-SNAPSHOT-22.jar
/prebuilts/misc/common/robolectric/3.1.1/lib/
shadows-core-v16-3.1.1.jar
shadows-core-v17-3.1.1.jar
shadows-core-v18-3.1.1.jar
shadows-core-v19-3.1.1.jar
shadows-core-v21-3.1.1.jar
shadows-core-v22-3.1.1.jar
shadows-core-v23-3.1.1.jar
/prebuilts/misc/common/robolectric/3.4.2/lib/
framework-3.4.2.jar
/prebuilts/misc/common/robolectric/3.5.1/lib/
shadows-framework-3.5.1.jar
Completed in 196 milliseconds
1
2