Home
last modified time | relevance | path

Searched refs:typedArray (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DTypedArrayTest.java18 private android.content.res.TypedArray typedArray; field in TypedArrayTest
22 typedArray = Robolectric.newInstanceOf(android.content.res.TypedArray.class); in setUp()
32 assertThat(typedArray.getBoolean(0, true), equalTo(true)); in testBooleanDefaultValue()
33 assertThat(typedArray.getBoolean(0, false), equalTo(false)); in testBooleanDefaultValue()
38 assertThat(typedArray.getInt(0, 15), equalTo(15)); in testIntDefaultValue()
39 assertThat(typedArray.getInteger(0, 24), equalTo(24)); in testIntDefaultValue()
44 assertThat(typedArray.getFloat(0, 0.5f), equalTo(0.5f)); in testFloatDefaultValue()
49 assertThat(typedArray.getDimension(0, 0.5f), equalTo(0.5f)); in testDimensionDefaultValue()
54 assertThat(typedArray.getDimensionPixelOffset(0, 2), equalTo(2)); in testDimensionPixelOffsetDefaultValue()
59 assertThat(typedArray.getDimensionPixelSize(0, 2), equalTo(2)); in testDimensionPixelSizeDefaultValue()
[all …]
/external/mockito/src/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSet.java109 public <T> T[] toArray(T[] typedArray) { in toArray() argument
110 T[] array = typedArray.length >= size() ? typedArray : in toArray()
111 (T[]) newInstance(typedArray.getClass().getComponentType(), size()); in toArray()
/external/skia/src/animator/
DSkAnimatorScript2.cpp430 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; in evalMemberCommon() local
431 original = typedArray->values.getType(); in evalMemberCommon()
DSkAnimatorScript.cpp253 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; in EvalMemberCommon() local
254 original = typedArray->values.getType(); in EvalMemberCommon()
/external/dexmaker/lib/
Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...