Package org.robolectric.res.android
Class AttributeResolution9
java.lang.Object
org.robolectric.res.android.AttributeResolution9
public class AttributeResolution9 extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttributeResolution9.BagAttributeFinder
static class
AttributeResolution9.XmlAttributeFinder
-
Field Summary
Fields Modifier and Type Field Description static boolean
kThrowOnBadId
static int
STYLE_ASSET_COOKIE
static int
STYLE_CHANGING_CONFIGURATIONS
static int
STYLE_DATA
static int
STYLE_DENSITY
static int
STYLE_NUM_ENTRIES
static int
STYLE_RESOURCE_ID
static int
STYLE_TYPE
-
Constructor Summary
Constructors Constructor Description AttributeResolution9()
-
Method Summary
Modifier and Type Method Description static void
ApplyStyle(CppAssetManager2.Theme theme, ResXMLParser xml_parser, int def_style_attr, int def_style_resid, int[] attrs, int attrs_length, int[] out_values, int[] out_indices)
static boolean
ResolveAttrs(CppAssetManager2.Theme theme, int def_style_attr, int def_style_res, int[] src_values, int src_values_length, int[] attrs, int attrs_length, int[] out_values, int[] out_indices)
static boolean
RetrieveAttributes(CppAssetManager2 assetmanager, ResXMLParser xml_parser, int[] attrs, int attrs_length, int[] out_values, int[] out_indices)
-
Field Details
-
kThrowOnBadId
public static final boolean kThrowOnBadId- See Also:
- Constant Field Values
-
STYLE_NUM_ENTRIES
public static final int STYLE_NUM_ENTRIES- See Also:
- Constant Field Values
-
STYLE_TYPE
public static final int STYLE_TYPE- See Also:
- Constant Field Values
-
STYLE_DATA
public static final int STYLE_DATA- See Also:
- Constant Field Values
-
STYLE_ASSET_COOKIE
public static final int STYLE_ASSET_COOKIE- See Also:
- Constant Field Values
-
STYLE_RESOURCE_ID
public static final int STYLE_RESOURCE_ID- See Also:
- Constant Field Values
-
STYLE_CHANGING_CONFIGURATIONS
public static final int STYLE_CHANGING_CONFIGURATIONS- See Also:
- Constant Field Values
-
STYLE_DENSITY
public static final int STYLE_DENSITY- See Also:
- Constant Field Values
-
-
Constructor Details
-
AttributeResolution9
public AttributeResolution9()
-
-
Method Details
-
ResolveAttrs
public static boolean ResolveAttrs(CppAssetManager2.Theme theme, int def_style_attr, int def_style_res, int[] src_values, int src_values_length, int[] attrs, int attrs_length, int[] out_values, int[] out_indices) -
ApplyStyle
public static void ApplyStyle(CppAssetManager2.Theme theme, ResXMLParser xml_parser, int def_style_attr, int def_style_resid, int[] attrs, int attrs_length, int[] out_values, int[] out_indices) -
RetrieveAttributes
public static boolean RetrieveAttributes(CppAssetManager2 assetmanager, ResXMLParser xml_parser, int[] attrs, int attrs_length, int[] out_values, int[] out_indices)
-