Searched refs:inferFromValue (Results 1 – 4 of 4) sorted by relevance
18 assertThat(ResType.inferFromValue("#802C76AD")).isEqualTo(ResType.COLOR); in testInferFromValue()20 assertThat(ResType.inferFromValue("true")).isEqualTo(ResType.BOOLEAN); in testInferFromValue()21 assertThat(ResType.inferFromValue("false")).isEqualTo(ResType.BOOLEAN); in testInferFromValue()23 assertThat(ResType.inferFromValue("10dp")).isEqualTo(ResType.DIMEN); in testInferFromValue()24 assertThat(ResType.inferFromValue("10sp")).isEqualTo(ResType.DIMEN); in testInferFromValue()25 assertThat(ResType.inferFromValue("10pt")).isEqualTo(ResType.DIMEN); in testInferFromValue()26 assertThat(ResType.inferFromValue("10px")).isEqualTo(ResType.DIMEN); in testInferFromValue()27 assertThat(ResType.inferFromValue("10in")).isEqualTo(ResType.DIMEN); in testInferFromValue()29 assertThat(ResType.inferFromValue("10")).isEqualTo(ResType.INTEGER); in testInferFromValue()31 assertThat(ResType.inferFromValue("10.9")).isEqualTo(ResType.FRACTION); in testInferFromValue()
29 ResType itemResType = ResType.inferFromValue(itemString); in inferType()46 public static ResType inferFromValue(String value) { in inferFromValue() method in ResType
225 ResType resType = ResType.inferFromValue(attribute.value); in parseValue()
234 ResType resType = ResType.inferFromValue(attribute.value); in convertAndFill()