Home
last modified time | relevance | path

Searched refs:getAttributeFloatValue (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DXmlResourceParserImplTest.java655 assertThat(parser.getAttributeFloatValue(RES_AUTO_NS, "bar", 0.0f)).isEqualTo(12.01f); in testGetAttributeFloatValue_StringStringFloat()
657 assertThat(parser.getAttributeFloatValue(RES_AUTO_NS, "foo", 0.0f)).isEqualTo(0.0f); in testGetAttributeFloatValue_StringStringFloat()
660 assertThat(parser.getAttributeFloatValue(RES_AUTO_NS, "bar", 0.0f)).isEqualTo(0.0f); in testGetAttributeFloatValue_StringStringFloat()
667 assertThat(parser.getAttributeFloatValue(0, 0.0f)).isEqualTo(12.01f); in testGetAttributeFloatValue_IntFloat()
669 assertThat(parser.getAttributeFloatValue( in testGetAttributeFloatValue_IntFloat()
673 assertThat(parser.getAttributeFloatValue(0, 0.0f)).isEqualTo(0.0f); in testGetAttributeFloatValue_IntFloat()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java286 assertThat(roboAttributeSet.getAttributeFloatValue(APP_NS, "aspectRatio", 78.9f)) in getAttributeFloatValue_shouldGetFloatValuesFromAttributes()
295 assertThat(roboAttributeSet.getAttributeFloatValue(APP_NS, "aspectRatio", 78.9f)) in getAttributeFloatValue_shouldReturnDefaultFloatValueWhenNotInAttributeSet()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java653 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() method in XmlResourceParserImpl
725 public float getAttributeFloatValue(int idx, float defaultValue) { in getAttributeFloatValue() method in XmlResourceParserImpl