public class AttributeResolution
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AttributeResolution.BagAttributeFinder |
static class |
AttributeResolution.XmlAttributeFinder |
Modifier and Type | Field and 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 and Description |
---|
AttributeResolution() |
Modifier and Type | Method and Description |
---|---|
static 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) |
public static final boolean kThrowOnBadId
public static final int STYLE_NUM_ENTRIES
public static final int STYLE_TYPE
public static final int STYLE_DATA
public static final int STYLE_ASSET_COOKIE
public static final int STYLE_RESOURCE_ID
public static final int STYLE_CHANGING_CONFIGURATIONS
public static final int STYLE_DENSITY
public static boolean ResolveAttrs(ResTableTheme theme, int defStyleAttr, int defStyleRes, int[] srcValues, int srcValuesLength, int[] attrs, int attrsLength, int[] outValues, int[] outIndices)
public static void ApplyStyle(ResTableTheme theme, ResXMLParser xmlParser, int defStyleAttr, int defStyleRes, int[] attrs, int attrsLength, int[] outValues, int[] outIndices)
public static boolean RetrieveAttributes(ResTable res, ResXMLParser xmlParser, int[] attrs, int attrsLength, int[] outValues, int[] outIndices)