Package jadx.core.xmlgen
Class ParserConstants
- java.lang.Object
-
- jadx.core.xmlgen.ParserConstants
-
- Direct Known Subclasses:
CommonBinaryParser,ValuesParser
public class ParserConstants extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringANDROID_NS_URLprotected static java.lang.StringANDROID_NS_VALUEprotected static intATTR_FEWprotected static intATTR_L10Nprotected static intATTR_L10N_NOT_REQUIREDprotected static intATTR_L10N_SUGGESTEDprotected static intATTR_MANYprotected static intATTR_MAXprotected static intATTR_MINprotected static intATTR_ONEprotected static intATTR_OTHERprotected static intATTR_TWOprotected static intATTR_TYPEResTable_mapprotected static intATTR_TYPE_ANYprotected static intATTR_TYPE_BOOLEANprotected static intATTR_TYPE_COLORprotected static intATTR_TYPE_DIMENSIONprotected static intATTR_TYPE_ENUMprotected static intATTR_TYPE_FLAGSprotected static intATTR_TYPE_FLOATprotected static intATTR_TYPE_FRACTIONprotected static intATTR_TYPE_INTEGERprotected static intATTR_TYPE_REFERENCEprotected static intATTR_TYPE_STRINGprotected static intATTR_ZEROprotected static intCOMPLEX_MANTISSA_MASKprotected static intCOMPLEX_MANTISSA_SHIFTprotected static intCOMPLEX_RADIX_0P23protected static intCOMPLEX_RADIX_16P7protected static intCOMPLEX_RADIX_23P0protected static intCOMPLEX_RADIX_8P15protected static intCOMPLEX_RADIX_MASKprotected static intCOMPLEX_RADIX_SHIFTprotected static intCOMPLEX_UNIT_DIPprotected static intCOMPLEX_UNIT_FRACTIONprotected static intCOMPLEX_UNIT_FRACTION_PARENTprotected static intCOMPLEX_UNIT_INprotected static intCOMPLEX_UNIT_MASKprotected static intCOMPLEX_UNIT_MMprotected static intCOMPLEX_UNIT_PTprotected static intCOMPLEX_UNIT_PXprotected static intCOMPLEX_UNIT_SHIFTprotected static intCOMPLEX_UNIT_SPprotected static intFLAG_COMPACTprotected static intFLAG_COMPLEXResTable_entryprotected static intFLAG_OFFSET16protected static intFLAG_PUBLICprotected static intFLAG_SPARSEprotected static intFLAG_WEAKprotected static doubleMANTISSA_MULTprotected static intNO_ENTRYResTable_typeprotected static java.util.Map<java.lang.Integer,java.lang.String>PLURALS_MAPprotected static double[]RADIX_MULTSprotected static intRES_NULL_TYPEChunk types as defined in frameworks/base/libs/androidfw/include/androidfw/ResourceTypes.h (AOSP)protected static intRES_STRING_POOL_TYPEprotected static intRES_TABLE_PACKAGE_TYPEprotected static intRES_TABLE_TYPEprotected static intRES_TABLE_TYPE_LIBRARYprotected static intRES_TABLE_TYPE_OVERLAYprotected static intRES_TABLE_TYPE_OVERLAY_POLICYprotected static intRES_TABLE_TYPE_SPEC_TYPEprotected static intRES_TABLE_TYPE_STAGED_ALIASprotected static intRES_TABLE_TYPE_TYPEprotected static intRES_XML_CDATA_TYPEprotected static intRES_XML_END_ELEMENT_TYPEprotected static intRES_XML_END_NAMESPACE_TYPEprotected static intRES_XML_FIRST_CHUNK_TYPEprotected static intRES_XML_LAST_CHUNK_TYPEprotected static intRES_XML_RESOURCE_MAP_TYPEprotected static intRES_XML_START_ELEMENT_TYPEprotected static intRES_XML_START_NAMESPACE_TYPEprotected static intRES_XML_TYPEprotected static intSORTED_FLAGString pool flagsprotected static intTYPE_ATTRIBUTEprotected static intTYPE_DIMENSIONprotected static intTYPE_DYNAMIC_ATTRIBUTEAccording to the sources of apktool this type seem to be related to themes See https://github.com/skylot/jadx/issues/919protected static intTYPE_DYNAMIC_REFERENCEThe 'data' holds a dynamic reference, a reference to another resource table entry.protected static intTYPE_FIRST_COLOR_INTprotected static intTYPE_FIRST_INTprotected static intTYPE_FLOATprotected static intTYPE_FRACTIONprotected static intTYPE_INT_BOOLEANprotected static intTYPE_INT_COLOR_ARGB4protected static intTYPE_INT_COLOR_ARGB8protected static intTYPE_INT_COLOR_RGB4protected static intTYPE_INT_COLOR_RGB8protected static intTYPE_INT_DECprotected static intTYPE_INT_HEXprotected static intTYPE_LAST_COLOR_INTprotected static intTYPE_LAST_INTprotected static intTYPE_NULLType constantsprotected static intTYPE_REFERENCEprotected static intTYPE_STRINGprotected static intUTF8_FLAG
-
Constructor Summary
Constructors Modifier Constructor Description protectedParserConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static booleanisResInternalId(int resid)
-
-
-
Field Detail
-
ANDROID_NS_URL
protected static final java.lang.String ANDROID_NS_URL
- See Also:
- Constant Field Values
-
ANDROID_NS_VALUE
protected static final java.lang.String ANDROID_NS_VALUE
- See Also:
- Constant Field Values
-
RES_NULL_TYPE
protected static final int RES_NULL_TYPE
Chunk types as defined in frameworks/base/libs/androidfw/include/androidfw/ResourceTypes.h (AOSP)- See Also:
- Constant Field Values
-
RES_STRING_POOL_TYPE
protected static final int RES_STRING_POOL_TYPE
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE
protected static final int RES_TABLE_TYPE
- See Also:
- Constant Field Values
-
RES_XML_TYPE
protected static final int RES_XML_TYPE
- See Also:
- Constant Field Values
-
RES_XML_FIRST_CHUNK_TYPE
protected static final int RES_XML_FIRST_CHUNK_TYPE
- See Also:
- Constant Field Values
-
RES_XML_START_NAMESPACE_TYPE
protected static final int RES_XML_START_NAMESPACE_TYPE
- See Also:
- Constant Field Values
-
RES_XML_END_NAMESPACE_TYPE
protected static final int RES_XML_END_NAMESPACE_TYPE
- See Also:
- Constant Field Values
-
RES_XML_START_ELEMENT_TYPE
protected static final int RES_XML_START_ELEMENT_TYPE
- See Also:
- Constant Field Values
-
RES_XML_END_ELEMENT_TYPE
protected static final int RES_XML_END_ELEMENT_TYPE
- See Also:
- Constant Field Values
-
RES_XML_CDATA_TYPE
protected static final int RES_XML_CDATA_TYPE
- See Also:
- Constant Field Values
-
RES_XML_LAST_CHUNK_TYPE
protected static final int RES_XML_LAST_CHUNK_TYPE
- See Also:
- Constant Field Values
-
RES_XML_RESOURCE_MAP_TYPE
protected static final int RES_XML_RESOURCE_MAP_TYPE
- See Also:
- Constant Field Values
-
RES_TABLE_PACKAGE_TYPE
protected static final int RES_TABLE_PACKAGE_TYPE
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE_TYPE
protected static final int RES_TABLE_TYPE_TYPE
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE_SPEC_TYPE
protected static final int RES_TABLE_TYPE_SPEC_TYPE
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE_LIBRARY
protected static final int RES_TABLE_TYPE_LIBRARY
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE_OVERLAY
protected static final int RES_TABLE_TYPE_OVERLAY
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE_OVERLAY_POLICY
protected static final int RES_TABLE_TYPE_OVERLAY_POLICY
- See Also:
- Constant Field Values
-
RES_TABLE_TYPE_STAGED_ALIAS
protected static final int RES_TABLE_TYPE_STAGED_ALIAS
- See Also:
- Constant Field Values
-
TYPE_NULL
protected static final int TYPE_NULL
Type constants- See Also:
- Constant Field Values
-
TYPE_REFERENCE
protected static final int TYPE_REFERENCE
- See Also:
- Constant Field Values
-
TYPE_ATTRIBUTE
protected static final int TYPE_ATTRIBUTE
- See Also:
- Constant Field Values
-
TYPE_STRING
protected static final int TYPE_STRING
- See Also:
- Constant Field Values
-
TYPE_FLOAT
protected static final int TYPE_FLOAT
- See Also:
- Constant Field Values
-
TYPE_DIMENSION
protected static final int TYPE_DIMENSION
- See Also:
- Constant Field Values
-
TYPE_FRACTION
protected static final int TYPE_FRACTION
- See Also:
- Constant Field Values
-
TYPE_DYNAMIC_REFERENCE
protected static final int TYPE_DYNAMIC_REFERENCE
The 'data' holds a dynamic reference, a reference to another resource table entry. See https://github.com/skylot/jadx/issues/919- See Also:
- Constant Field Values
-
TYPE_DYNAMIC_ATTRIBUTE
protected static final int TYPE_DYNAMIC_ATTRIBUTE
According to the sources of apktool this type seem to be related to themes See https://github.com/skylot/jadx/issues/919- See Also:
- Constant Field Values
-
TYPE_FIRST_INT
protected static final int TYPE_FIRST_INT
- See Also:
- Constant Field Values
-
TYPE_INT_DEC
protected static final int TYPE_INT_DEC
- See Also:
- Constant Field Values
-
TYPE_INT_HEX
protected static final int TYPE_INT_HEX
- See Also:
- Constant Field Values
-
TYPE_INT_BOOLEAN
protected static final int TYPE_INT_BOOLEAN
- See Also:
- Constant Field Values
-
TYPE_FIRST_COLOR_INT
protected static final int TYPE_FIRST_COLOR_INT
- See Also:
- Constant Field Values
-
TYPE_INT_COLOR_ARGB8
protected static final int TYPE_INT_COLOR_ARGB8
- See Also:
- Constant Field Values
-
TYPE_INT_COLOR_RGB8
protected static final int TYPE_INT_COLOR_RGB8
- See Also:
- Constant Field Values
-
TYPE_INT_COLOR_ARGB4
protected static final int TYPE_INT_COLOR_ARGB4
- See Also:
- Constant Field Values
-
TYPE_INT_COLOR_RGB4
protected static final int TYPE_INT_COLOR_RGB4
- See Also:
- Constant Field Values
-
TYPE_LAST_COLOR_INT
protected static final int TYPE_LAST_COLOR_INT
- See Also:
- Constant Field Values
-
TYPE_LAST_INT
protected static final int TYPE_LAST_INT
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_SHIFT
protected static final int COMPLEX_UNIT_SHIFT
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_MASK
protected static final int COMPLEX_UNIT_MASK
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_PX
protected static final int COMPLEX_UNIT_PX
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_DIP
protected static final int COMPLEX_UNIT_DIP
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_SP
protected static final int COMPLEX_UNIT_SP
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_PT
protected static final int COMPLEX_UNIT_PT
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_IN
protected static final int COMPLEX_UNIT_IN
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_MM
protected static final int COMPLEX_UNIT_MM
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_FRACTION
protected static final int COMPLEX_UNIT_FRACTION
- See Also:
- Constant Field Values
-
COMPLEX_UNIT_FRACTION_PARENT
protected static final int COMPLEX_UNIT_FRACTION_PARENT
- See Also:
- Constant Field Values
-
COMPLEX_RADIX_SHIFT
protected static final int COMPLEX_RADIX_SHIFT
- See Also:
- Constant Field Values
-
COMPLEX_RADIX_MASK
protected static final int COMPLEX_RADIX_MASK
- See Also:
- Constant Field Values
-
COMPLEX_RADIX_23P0
protected static final int COMPLEX_RADIX_23P0
- See Also:
- Constant Field Values
-
COMPLEX_RADIX_16P7
protected static final int COMPLEX_RADIX_16P7
- See Also:
- Constant Field Values
-
COMPLEX_RADIX_8P15
protected static final int COMPLEX_RADIX_8P15
- See Also:
- Constant Field Values
-
COMPLEX_RADIX_0P23
protected static final int COMPLEX_RADIX_0P23
- See Also:
- Constant Field Values
-
COMPLEX_MANTISSA_SHIFT
protected static final int COMPLEX_MANTISSA_SHIFT
- See Also:
- Constant Field Values
-
COMPLEX_MANTISSA_MASK
protected static final int COMPLEX_MANTISSA_MASK
- See Also:
- Constant Field Values
-
MANTISSA_MULT
protected static final double MANTISSA_MULT
- See Also:
- Constant Field Values
-
RADIX_MULTS
protected static final double[] RADIX_MULTS
-
SORTED_FLAG
protected static final int SORTED_FLAG
String pool flags- See Also:
- Constant Field Values
-
UTF8_FLAG
protected static final int UTF8_FLAG
- See Also:
- Constant Field Values
-
NO_ENTRY
protected static final int NO_ENTRY
ResTable_type- See Also:
- Constant Field Values
-
FLAG_SPARSE
protected static final int FLAG_SPARSE
- See Also:
- Constant Field Values
-
FLAG_OFFSET16
protected static final int FLAG_OFFSET16
- See Also:
- Constant Field Values
-
FLAG_COMPLEX
protected static final int FLAG_COMPLEX
ResTable_entry- See Also:
- Constant Field Values
-
FLAG_PUBLIC
protected static final int FLAG_PUBLIC
- See Also:
- Constant Field Values
-
FLAG_WEAK
protected static final int FLAG_WEAK
- See Also:
- Constant Field Values
-
FLAG_COMPACT
protected static final int FLAG_COMPACT
- See Also:
- Constant Field Values
-
ATTR_TYPE
protected static final int ATTR_TYPE
ResTable_map
-
ATTR_MIN
protected static final int ATTR_MIN
-
ATTR_MAX
protected static final int ATTR_MAX
-
ATTR_L10N
protected static final int ATTR_L10N
-
ATTR_OTHER
protected static final int ATTR_OTHER
-
ATTR_ZERO
protected static final int ATTR_ZERO
-
ATTR_ONE
protected static final int ATTR_ONE
-
ATTR_TWO
protected static final int ATTR_TWO
-
ATTR_FEW
protected static final int ATTR_FEW
-
ATTR_MANY
protected static final int ATTR_MANY
-
PLURALS_MAP
protected static final java.util.Map<java.lang.Integer,java.lang.String> PLURALS_MAP
-
ATTR_TYPE_ANY
protected static final int ATTR_TYPE_ANY
- See Also:
- Constant Field Values
-
ATTR_TYPE_REFERENCE
protected static final int ATTR_TYPE_REFERENCE
- See Also:
- Constant Field Values
-
ATTR_TYPE_STRING
protected static final int ATTR_TYPE_STRING
- See Also:
- Constant Field Values
-
ATTR_TYPE_INTEGER
protected static final int ATTR_TYPE_INTEGER
- See Also:
- Constant Field Values
-
ATTR_TYPE_BOOLEAN
protected static final int ATTR_TYPE_BOOLEAN
- See Also:
- Constant Field Values
-
ATTR_TYPE_COLOR
protected static final int ATTR_TYPE_COLOR
- See Also:
- Constant Field Values
-
ATTR_TYPE_FLOAT
protected static final int ATTR_TYPE_FLOAT
- See Also:
- Constant Field Values
-
ATTR_TYPE_DIMENSION
protected static final int ATTR_TYPE_DIMENSION
- See Also:
- Constant Field Values
-
ATTR_TYPE_FRACTION
protected static final int ATTR_TYPE_FRACTION
- See Also:
- Constant Field Values
-
ATTR_TYPE_ENUM
protected static final int ATTR_TYPE_ENUM
- See Also:
- Constant Field Values
-
ATTR_TYPE_FLAGS
protected static final int ATTR_TYPE_FLAGS
- See Also:
- Constant Field Values
-
ATTR_L10N_NOT_REQUIRED
protected static final int ATTR_L10N_NOT_REQUIRED
- See Also:
- Constant Field Values
-
ATTR_L10N_SUGGESTED
protected static final int ATTR_L10N_SUGGESTED
- See Also:
- Constant Field Values
-
-