From 95b9f5500a917d22b50d58e9ce70d1570757edfe Mon Sep 17 00:00:00 2001 From: Tim Strazzere Date: Mon, 25 Apr 2016 13:51:05 -0700 Subject: [PATCH] Add previously unknown attribute types. These are not actively used, however @CunningLogic pointed them out to me so I'm adding them for the time being. Will get around to instrumenting them as they pop up in the future. --- .../content/res/chunk/AttributeType.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/main/java/android/content/res/chunk/AttributeType.java b/src/main/java/android/content/res/chunk/AttributeType.java index c2d4972..202ac02 100644 --- a/src/main/java/android/content/res/chunk/AttributeType.java +++ b/src/main/java/android/content/res/chunk/AttributeType.java @@ -45,6 +45,48 @@ public int getIntType() { public int getIntType() { return 0x12000008; } + }, + ATTR { + @Override + public int getIntType() { + return 0x02000008; + } + }, + DIMEN { + @Override + public int getIntType() { + return 0x05000008; + } + }, + FRACTION { + @Override + public int getIntType() { + return 0x06000008; + } + }, + FLOAT { + @Override + public int getIntType() { + return 0x04000008; + } + }, + FLAGS { + @Override + public int getIntType() { + return 0x11000008; + } + }, + COLOR1 { + @Override + public int getIntType() { + return 0x1C000008; + } + }, + COLOR2 { + @Override + public int getIntType() { + return 0x1D000008; + } }; public abstract int getIntType();