Home
last modified time | relevance | path

Searched refs:getConverter (Results 1 – 19 of 19) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DConverterTest.java33 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asInt(resource)).isEqualTo(100); in fromCharSequence_asInt_shouldHandleSpacesInString()
39 …assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asCharSequence(resource)).isEqualTo("Robo… in fromCharSequence_asCharSequence_shouldHandleSpacesInString()
45 assertThat(Converter.getConverter(ResType.COLOR).asInt(resource)).isEqualTo(-5592406); in fromColor_asInt_shouldHandleSpacesInString()
51 assertThat(Converter.getConverter(ResType.DRAWABLE).asInt(resource)).isEqualTo(-5592406); in fromDrawableValue_asInt_shouldHandleSpacesInString()
57 assertThat(Converter.getConverter(ResType.INTEGER).asInt(resource)).isEqualTo(100); in fromInt_asInt_shouldHandleSpacesInString()
/external/desugar/java/com/google/devtools/common/options/
DOptionDefinition.java218 public Converter<?> getConverter() { in getConverter() method in OptionDefinition
251 || getConverter() instanceof BoolOrEnumConverter; in usesBooleanValueSyntax()
259 Converter<?> converter = getConverter(); in getDefaultValue()
DParsedOptionDescription.java168 Converter<?> converter = optionDefinition.getConverter(); in getConvertedValue()
DInvocationPolicyEnforcer.java698 Object convertedValue = optionDefinition.getConverter().convert(value); in apply()
706 convertedPolicyValues.add(optionDefinition.getConverter().convert(value)); in apply()
DOptionsUsage.java348 return optionsDefinition.getConverter().getTypeDescription(); in getTypeDescription()
/external/guice/core/src/com/google/inject/internal/
DState.java83 public TypeConverterBinding getConverter(
180 TypeConverterBinding getConverter( in getConverter() method
DInheritingState.java110 public TypeConverterBinding getConverter( in getConverter() method in InheritingState
DInjectorImpl.java457 state.getConverter(stringValue, type, errors, source);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyAssetManager.java197 … Converter.getConverter(dereferencedRef.getResType()).fillTypedValue(attribute.value, outValue); in convertAndFill()
235 Converter.getConverter(resType).fillTypedValue(attribute.value, outValue); in convertAndFill()
325 getConverter(value).fillTypedValue(value.getData(), outValue); in getResourceValue()
329 private Converter getConverter(TypedResource value) { in getConverter() method in ShadowLegacyAssetManager
335 return Converter.getConverter(value.getResType()); in getConverter()
342 List<TypedResource> items = getConverter(value).getItems(value); in getResourceTextArray()
346 charSequences[i] = getConverter(typedResource).asCharSequence(typedResource); in getResourceTextArray()
733 List<TypedResource> items = getConverter(value).getItems(value); in getArrayIntResource()
737 ints[i] = getConverter(typedResource).asInt(typedResource); in getArrayIntResource()
767 List<TypedResource> items = getConverter(value).getItems(value); in getTypedArrayResource()
[all …]
DConverter.java47 public static Converter getConverter(ResType resType) { in getConverter() method in Converter
/external/jcommander/src/main/java/com/beust/jcommander/
DIStringConverterFactory.java29 <T> Class<? extends IStringConverter<T>> getConverter(Class<T> forType); in getConverter() method
DJCommander.java1220 Class<? extends IStringConverter<T>> result = f.getConverter(cls); in findConverter()
/external/jcommander/src/test/java/com/beust/jcommander/
DConverterFactoryTest.java44 public Class<? extends IStringConverter<?>> getConverter(Class forType) {
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DDefaultConverterFactory.java75 public Class<? extends IStringConverter<?>> getConverter(Class forType) { in getConverter() method in DefaultConverterFactory
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py607 conv = conv.getConverter(reader.tableTag,
610 conv = conv.getConverter(reader.tableTag,
613 conv = conv.getConverter(reader["FeatureTag"])
615 conv = conv.getConverter(reader.tableTag,
DotConverters.py534 def getConverter(self, tableType, lookupType): member in SubStruct
542 def getConverter(self, tableType, lookupType): member in SubTable
557 def getConverter(self, featureTag): member in FeatureParams
/external/swiftshader/third_party/subzero/src/
DIceConverter.cpp75 Ice::Converter &getConverter() const { return Converter; } in getConverter() function in __anon0674e6300111::LLVM2ICEConverter
134 Ice::GlobalDeclaration *Decl = getConverter().getGlobalDeclaration(GV); in convertConstant()
713 Ice::GlobalDeclaration *Var = getConverter().getGlobalDeclaration(GV); in convertGlobalsToIce()
789 getConverter().getGlobalDeclaration(GV); in addGlobalInitializer()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java226 Converter.getConverter(resType).fillTypedValue(attribute.value, outValue); in parseValue()
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java492 public TypeConverterBinding getConverter( in getConverter() method in WeakKeySetTest.TestState