Home
last modified time | relevance | path

Searched refs:DIMEN (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DResTypeTest.java23 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()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResType.java12 DIMEN, enumConstant
52 return DIMEN; in inferFromValue()
DResourceTableFactory.java129 .addHandler("dimen", new StaxValueLoader(resourceTable, "dimen", ResType.DIMEN))
130 … .addHandler("item[@type='dimen']", new StaxValueLoader(resourceTable, "dimen", ResType.DIMEN))
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter.java58 case DIMEN: in getConverter()
DShadowAssetManager.java718 } else if (resType == ResType.DIMEN) { in getResourceType()