Searched defs:typedArray (Results 1 - 15 of 15) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTypedArrayTest.java18 private android.content.res.TypedArray typedArray; field in class:TypedArrayTest
22 typedArray = Robolectric.newInstanceOf(android.content.res.TypedArray.class);
32 assertThat(typedArray.getBoolean(0, true), equalTo(true));
33 assertThat(typedArray.getBoolean(0, false), equalTo(false));
38 assertThat(typedArray.getInt(0, 15), equalTo(15));
39 assertThat(typedArray.getInteger(0, 24), equalTo(24));
44 assertThat(typedArray.getFloat(0, 0.5f), equalTo(0.5f));
49 assertThat(typedArray.getDimension(0, 0.5f), equalTo(0.5f));
54 assertThat(typedArray.getDimensionPixelOffset(0, 2), equalTo(2));
59 assertThat(typedArray
[all...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowTypedArray.java30 TypedArray typedArray;
32 typedArray = ReflectionHelpers.callConstructor(TypedArray.class,
34 ReflectionHelpers.setField(typedArray, "mData", data);
35 ReflectionHelpers.setField(typedArray, "mLength", len);
36 ReflectionHelpers.setField(typedArray, "mIndices", indices);
38 typedArray = ReflectionHelpers.callConstructor(TypedArray.class,
45 Shadows.shadowOf(typedArray).stringData = stringData;
46 return typedArray;
69 public static void dump(TypedArray typedArray) { argument
70 int[] data = ReflectionHelpers.getField(typedArray, "mDat
[all...]
/external/mockito/src/main/java/org/mockito/internal/util/collections/
H A DHashCodeAndEqualsSafeSet.java110 public <T> T[] toArray(T[] typedArray) { argument
111 T[] array = typedArray.length >= size() ? typedArray : (T[]) newInstance(typedArray.getClass().getComponentType(), size());
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 167 milliseconds