Package org.robolectric.android
Class AttributeSetBuilderImpl.ArscResourceResolver
- java.lang.Object
-
- org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
-
- All Implemented Interfaces:
AttributeSetBuilderImpl.ResourceResolver
- Enclosing class:
- AttributeSetBuilderImpl
public static class AttributeSetBuilderImpl.ArscResourceResolver extends Object implements AttributeSetBuilderImpl.ResourceResolver
-
-
Constructor Summary
Constructors Constructor Description ArscResourceResolver(Context context)
-
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
-
ArscResourceResolver
public ArscResourceResolver(Context context)
-
-
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
-
-