Searched refs:typedArray (Results 1 – 4 of 4) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TypedArrayTest.java | 18 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/ |
D | HashCodeAndEqualsSafeSet.java | 109 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/ |
D | SkAnimatorScript2.cpp | 430 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; in evalMemberCommon() local 431 original = typedArray->values.getType(); in evalMemberCommon()
|
D | SkAnimatorScript.cpp | 253 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; in EvalMemberCommon() local 254 original = typedArray->values.getType(); in EvalMemberCommon()
|