From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:AXML" |
|---|
| claim | "Res_value.dataType values: 0 NULL, 1 REFERENCE, 2 ATTRIBUTE, 3 STRING (data = global string pool index), 4 FLOAT, 5 DIMENSION, 6 FRACTION, 7 DYNAMIC_REFERENCE, 8 DYNAMIC_ATTRIBUTE, 0x10 INT_DEC, 0x11 INT_HEX, 0x12 INT_BOOLEAN (0xFFFFFFFF true, 0 false), 0x1C-0x1F colors ARGB8, RGB8, ARGB4, RGB4." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:AXML" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Res_value dataType" |
|---|
| underlying_type | "uint8" |
|---|
| complete | true |
|---|
| values | | 0x00 | "TYPE_NULL" |
|---|
| 0x01 | "TYPE_REFERENCE" |
|---|
| 0x02 | "TYPE_ATTRIBUTE" |
|---|
| 0x03 | "TYPE_STRING" |
|---|
| 0x04 | "TYPE_FLOAT" |
|---|
| 0x05 | "TYPE_DIMENSION" |
|---|
| 0x06 | "TYPE_FRACTION" |
|---|
| 0x07 | "TYPE_DYNAMIC_REFERENCE" |
|---|
| 0x08 | "TYPE_DYNAMIC_ATTRIBUTE" |
|---|
| 0x10 | "TYPE_INT_DEC" |
|---|
| 0x11 | "TYPE_INT_HEX" |
|---|
| 0x12 | "TYPE_INT_BOOLEAN" |
|---|
| 0x1c | "TYPE_INT_COLOR_ARGB8" |
|---|
| 0x1d | "TYPE_INT_COLOR_RGB8" |
|---|
| 0x1e | "TYPE_INT_COLOR_ARGB4" |
|---|
| 0x1f | "TYPE_INT_COLOR_RGB4" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum : uint8_t with TYPE_NULL .. TYPE_LAST_INT = 0x1f." |
|---|
| repo | "https://android.googlesource.com/platform/frameworks/base" |
|---|
| commit | "1cdfff555f4a21f71ccc978290e2e212e2f8b168" |
|---|
| path | "libs/androidfw/include/androidfw/ResourceTypes.h" |
|---|
| lines | "296-350" |
|---|
|
| type | "source" |
|---|
| detail | "same constants." |
|---|
| repo | "https://github.com/skylot/jadx" |
|---|
| commit | "c4c45fde27b4f3386dc2ff016ff187229a60a716" |
|---|
| path | "jadx-core/src/main/java/jadx/core/xmlgen/ParserConstants.java" |
|---|
| lines | "43-89" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Res_value dataType" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T06:34:57.115Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:58:45.939Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ResourceTypes.h at 1cdfff555f4a lines 299-349: all TYPE_* values 0-8, 0x10-0x12, 0x1c-0x1f match." |
|---|
|
|
|---|