Searched refs:CHAR_SEQUENCE (Results 1 – 12 of 12) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ConverterTest.java | 32 …final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.CHAR_SEQUENCE, xmlCont… in fromCharSequence_asInt_shouldHandleSpacesInString() 33 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asInt(resource)).isEqualTo(100); in fromCharSequence_asInt_shouldHandleSpacesInString() 38 …esource<String> resource = new TypedResource<>(" Robolectric ", ResType.CHAR_SEQUENCE, xmlContext); in fromCharSequence_asCharSequence_shouldHandleSpacesInString() 39 …assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asCharSequence(resource)).isEqualTo("Robo… in fromCharSequence_asCharSequence_shouldHandleSpacesInString()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | ResourceTableFactory.java | 137 … .addHandler("plurals", new StaxPluralsLoader(resourceTable, "plurals", ResType.CHAR_SEQUENCE)) 138 … .addHandler("string", new StaxValueLoader(resourceTable, "string", ResType.CHAR_SEQUENCE)) 139 …andler("item[@type='string']", new StaxValueLoader(resourceTable, "string", ResType.CHAR_SEQUENCE)) 140 …", new StaxArrayLoader(resourceTable, "array", ResType.CHAR_SEQUENCE_ARRAY, ResType.CHAR_SEQUENCE)) 142 .addHandler("id", new StaxValueLoader(resourceTable, "id", ResType.CHAR_SEQUENCE)) 143 … .addHandler("item[@type='id']", new StaxValueLoader(resourceTable, "id", ResType.CHAR_SEQUENCE))
|
D | ResType.java | 19 CHAR_SEQUENCE, enumConstant 30 if (itemResType == ResType.CHAR_SEQUENCE) { in inferType() 65 return CHAR_SEQUENCE; in inferFromValue()
|
D | StaxValueLoader.java | 13 if (resType == ResType.CHAR_SEQUENCE) { in StaxValueLoader() 32 if (resType == ResType.CHAR_SEQUENCE) { in onEnd()
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/ |
D | StaxValueLoaderTest.java | 33 .addHandler("string", new StaxValueLoader(resourceTable, "string", ResType.CHAR_SEQUENCE)) in ignoresXliffTags() 47 …andler("item[@type='string']", new StaxValueLoader(resourceTable, "string", ResType.CHAR_SEQUENCE)) in ignoresBTags()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | ResBundleTest.java | 174 … TypedResource firstValue = new TypedResource<>("first_value", ResType.CHAR_SEQUENCE, xmlContext); in shouldNotOverwriteValuesWithMatchingQualifiers() 175 …TypedResource secondValue = new TypedResource<>("second_value", ResType.CHAR_SEQUENCE, xmlContext); in shouldNotOverwriteValuesWithMatchingQualifiers() 200 return new TypedResource<>(str, ResType.CHAR_SEQUENCE, mockXmlContext); in createStringTypedResource()
|
D | ResourceParserTest.java | 56 assertThat(value.getResType()).isEqualTo(ResType.CHAR_SEQUENCE); in shouldLoadIdResourcesDefinedByItemTag()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscResourcesImpl.java | 101 …new TypedResource<>(plural.getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), shado… in getQuantityString()
|
D | ShadowLegacyResourcesImpl.java | 76 …new TypedResource<>(plural.getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), shado… in getQuantityString()
|
D | Converter.java | 53 case CHAR_SEQUENCE: in getConverter()
|
D | ShadowResources.java | 121 … new TypedResource<>(plural.getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), in getQuantityString()
|
D | ShadowLegacyAssetManager.java | 845 } else if (resType == ResType.CHAR_SEQUENCE || resType == ResType.DRAWABLE) { in getResourceType()
|