Package org.robolectric.android
Class AttributeSetBuilderImpl.LegacyResourceResolver
- java.lang.Object
-
- org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
-
- All Implemented Interfaces:
AttributeSetBuilderImpl.ResourceResolver
- Enclosing class:
- AttributeSetBuilderImpl
public static class AttributeSetBuilderImpl.LegacyResourceResolver extends Object implements AttributeSetBuilderImpl.ResourceResolver
-
-
Constructor Summary
Constructors Constructor Description LegacyResourceResolver(Context context, ResourceTable compileTimeResourceTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getIdentifier(String name, String type, String packageName)
String
getPackageName()
String
getResourceName(Integer attrId)
void
parseValue(Integer attrId, ResName attrResName, AttributeResource attribute, TypedValue outValue)
-
-
-
Constructor Detail
-
LegacyResourceResolver
public LegacyResourceResolver(Context context, ResourceTable compileTimeResourceTable)
-
-
Method Detail
-
getPackageName
public String getPackageName()
- Specified by:
getPackageName
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
getResourceName
public String getResourceName(Integer attrId)
- Specified by:
getResourceName
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
getIdentifier
public Integer getIdentifier(String name, String type, String packageName)
- Specified by:
getIdentifier
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
parseValue
public void parseValue(Integer attrId, ResName attrResName, AttributeResource attribute, TypedValue outValue)
- Specified by:
parseValue
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
-