Package org.robolectric.res.android
Class AttributeResolution
java.lang.Object
org.robolectric.res.android.AttributeResolution
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
ApplyStyle
(ResTableTheme theme, ResXMLParser xmlParser, int defStyleAttr, int defStyleRes, int[] attrs, int attrsLength, int[] outValues, int[] outIndices) static boolean
ResolveAttrs
(ResTableTheme theme, int defStyleAttr, int defStyleRes, int[] srcValues, int srcValuesLength, int[] attrs, int attrsLength, int[] outValues, int[] outIndices) static boolean
RetrieveAttributes
(ResTable res, ResXMLParser xmlParser, int[] attrs, int attrsLength, int[] outValues, int[] outIndices)
-
Field Details
-
kThrowOnBadId
public static final boolean kThrowOnBadId- See Also:
-
STYLE_NUM_ENTRIES
public static final int STYLE_NUM_ENTRIES- See Also:
-
STYLE_TYPE
public static final int STYLE_TYPE- See Also:
-
STYLE_DATA
public static final int STYLE_DATA- See Also:
-
STYLE_ASSET_COOKIE
public static final int STYLE_ASSET_COOKIE- See Also:
-
STYLE_RESOURCE_ID
public static final int STYLE_RESOURCE_ID- See Also:
-
STYLE_CHANGING_CONFIGURATIONS
public static final int STYLE_CHANGING_CONFIGURATIONS- See Also:
-
STYLE_DENSITY
public static final int STYLE_DENSITY- See Also:
-
-
Constructor Details
-
AttributeResolution
public AttributeResolution()
-
-
Method Details
-
ResolveAttrs
public static boolean ResolveAttrs(ResTableTheme theme, int defStyleAttr, int defStyleRes, int[] srcValues, int srcValuesLength, int[] attrs, int attrsLength, int[] outValues, int[] outIndices) -
ApplyStyle
public static void ApplyStyle(ResTableTheme theme, ResXMLParser xmlParser, int defStyleAttr, int defStyleRes, int[] attrs, int attrsLength, int[] outValues, int[] outIndices) -
RetrieveAttributes
public static boolean RetrieveAttributes(ResTable res, ResXMLParser xmlParser, int[] attrs, int attrsLength, int[] outValues, int[] outIndices)
-