HomeSort by relevance Sort by last modified time
    Searched refs:getAttributeIntValue (Results 1 - 3 of 3) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
AttributeSetBuilderTest.java 185 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "sugarinessPercent", 0))
195 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "sugarinessPercent", 0))
205 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "numColumns", 0))
214 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "sugarinessPercent", 42))
223 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "itemType", 24))
233 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "itemType", 24))
240 assertThat(roboAttributeSet2.getAttributeIntValue(APP_NS, "itemType", 24))
276 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "scrollBars", 24))
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
XmlResourceParserImplTest.java 605 assertThat(parser.getAttributeIntValue(RES_AUTO_NS, "bar", 0)).isEqualTo(-12);
606 assertThat(parser.getAttributeIntValue(RES_AUTO_NS, "foo", 0)).isEqualTo(0);
613 assertThat(parser.getAttributeIntValue(0, 0)).isEqualTo(-12);
615 assertThat(parser.getAttributeIntValue(attributeIndexOutOfIndex(), 0)).isEqualTo(0);
618 assertThat(parser.getAttributeIntValue(0, 0)).isEqualTo(0);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
XmlResourceParserImpl.java 639 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) {
645 int value = getAttributeIntValue(namespace, attribute, defaultValue);
705 public int getAttributeIntValue(int idx, int defaultValue) {
717 int value = getAttributeIntValue(idx, defaultValue);

Completed in 53 milliseconds