Package org.robolectric.res.android
Class ResourceTypes.Res_value
java.lang.Object
org.robolectric.res.android.ResourceTypes.Res_value
- Enclosing class:
- ResourceTypes
Representation of a value in a resource, supplying type
information.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
final int
static final int
static final int
final byte
static final ResourceTypes.Res_value
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionRes_value
(byte dataType, int data) Res_value
(ByteBuffer buf, int offset) Res_value
(ResourceTypes.Res_value other) -
Method Summary
-
Field Details
-
TYPE_NULL
public static final int TYPE_NULL- See Also:
-
TYPE_REFERENCE
public static final int TYPE_REFERENCE- See Also:
-
TYPE_ATTRIBUTE
public static final int TYPE_ATTRIBUTE- See Also:
-
TYPE_STRING
public static final int TYPE_STRING- See Also:
-
TYPE_FLOAT
public static final int TYPE_FLOAT- See Also:
-
TYPE_DIMENSION
public static final int TYPE_DIMENSION- See Also:
-
TYPE_FRACTION
public static final int TYPE_FRACTION- See Also:
-
TYPE_DYNAMIC_REFERENCE
public static final int TYPE_DYNAMIC_REFERENCE- See Also:
-
TYPE_DYNAMIC_ATTRIBUTE
public static final int TYPE_DYNAMIC_ATTRIBUTE- See Also:
-
TYPE_FIRST_INT
public static final int TYPE_FIRST_INT- See Also:
-
TYPE_INT_DEC
public static final int TYPE_INT_DEC- See Also:
-
TYPE_INT_HEX
public static final int TYPE_INT_HEX- See Also:
-
TYPE_INT_BOOLEAN
public static final int TYPE_INT_BOOLEAN- See Also:
-
TYPE_FIRST_COLOR_INT
public static final int TYPE_FIRST_COLOR_INT- See Also:
-
TYPE_INT_COLOR_ARGB8
public static final int TYPE_INT_COLOR_ARGB8- See Also:
-
TYPE_INT_COLOR_RGB8
public static final int TYPE_INT_COLOR_RGB8- See Also:
-
TYPE_INT_COLOR_ARGB4
public static final int TYPE_INT_COLOR_ARGB4- See Also:
-
TYPE_INT_COLOR_RGB4
public static final int TYPE_INT_COLOR_RGB4- See Also:
-
TYPE_LAST_COLOR_INT
public static final int TYPE_LAST_COLOR_INT- See Also:
-
TYPE_LAST_INT
public static final int TYPE_LAST_INT- See Also:
-
dataType
public final byte dataType -
COMPLEX_UNIT_SHIFT
public static final int COMPLEX_UNIT_SHIFT- See Also:
-
COMPLEX_UNIT_MASK
public static final int COMPLEX_UNIT_MASK- See Also:
-
COMPLEX_UNIT_PX
public static final int COMPLEX_UNIT_PX- See Also:
-
COMPLEX_UNIT_DIP
public static final int COMPLEX_UNIT_DIP- See Also:
-
COMPLEX_UNIT_SP
public static final int COMPLEX_UNIT_SP- See Also:
-
COMPLEX_UNIT_PT
public static final int COMPLEX_UNIT_PT- See Also:
-
COMPLEX_UNIT_IN
public static final int COMPLEX_UNIT_IN- See Also:
-
COMPLEX_UNIT_MM
public static final int COMPLEX_UNIT_MM- See Also:
-
COMPLEX_UNIT_FRACTION
public static final int COMPLEX_UNIT_FRACTION- See Also:
-
COMPLEX_UNIT_FRACTION_PARENT
public static final int COMPLEX_UNIT_FRACTION_PARENT- See Also:
-
COMPLEX_RADIX_SHIFT
public static final int COMPLEX_RADIX_SHIFT- See Also:
-
COMPLEX_RADIX_MASK
public static final int COMPLEX_RADIX_MASK- See Also:
-
COMPLEX_RADIX_23p0
public static final int COMPLEX_RADIX_23p0- See Also:
-
COMPLEX_RADIX_16p7
public static final int COMPLEX_RADIX_16p7- See Also:
-
COMPLEX_RADIX_8p15
public static final int COMPLEX_RADIX_8p15- See Also:
-
COMPLEX_RADIX_0p23
public static final int COMPLEX_RADIX_0p23- See Also:
-
COMPLEX_MANTISSA_SHIFT
public static final int COMPLEX_MANTISSA_SHIFT- See Also:
-
COMPLEX_MANTISSA_MASK
public static final int COMPLEX_MANTISSA_MASK- See Also:
-
DATA_NULL_UNDEFINED
public static final int DATA_NULL_UNDEFINED- See Also:
-
DATA_NULL_EMPTY
public static final int DATA_NULL_EMPTY- See Also:
-
NULL_VALUE
-
data
public final int data
-
-
Constructor Details
-
Res_value
public Res_value() -
Res_value
-
Res_value
-
Res_value
public Res_value(byte dataType, int data)
-
-
Method Details