Searched refs:typedArray (Results 1 – 5 of 5) sorted by relevance
18 private android.content.res.TypedArray typedArray; field in TypedArrayTest22 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 …]
109 public <T> T[] toArray(T[] typedArray) { in toArray() argument110 T[] array = typedArray.length >= size() ? typedArray : in toArray()111 (T[]) newInstance(typedArray.getClass().getComponentType(), size()); in toArray()
430 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; in evalMemberCommon() local431 original = typedArray->values.getType(); in evalMemberCommon()
253 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; in EvalMemberCommon() local254 original = typedArray->values.getType(); in EvalMemberCommon()
META-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...