X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/65e6371ed104cb80ea8a0cee0f31c07362bc1fff..d10e5a1efbe4c21a2b09884abb44e94830d3d0b3:/AaptAssets.h?ds=sidebyside diff --git a/AaptAssets.h b/AaptAssets.h index 9a848e4..e5afd1b 100644 --- a/AaptAssets.h +++ b/AaptAssets.h @@ -42,9 +42,21 @@ enum { AXIS_NAVHIDDEN, AXIS_NAVIGATION, AXIS_SCREENSIZE, + AXIS_SCREENWIDTHDP, + AXIS_SCREENHEIGHTDP, AXIS_VERSION }; +enum { + SDK_CUPCAKE = 3, + SDK_DONUT = 4, + SDK_ECLAIR = 5, + SDK_ECLAIR_0_1 = 6, + SDK_MR1 = 7, + SDK_FROYO = 8, + SDK_ICS = 13, +}; + /** * This structure contains a specific variation of a single file out * of all the variations it can have that we can have. @@ -62,6 +74,8 @@ public: String8 vendor; String8 screenLayoutSize; String8 screenLayoutLong; + String8 screenWidthDp; + String8 screenHeightDp; String8 orientation; String8 uiModeType; String8 uiModeNight; @@ -93,6 +107,8 @@ public: static bool getNavigationName(const char* name, ResTable_config* out = NULL); static bool getNavHiddenName(const char* name, ResTable_config* out = NULL); static bool getScreenSizeName(const char* name, ResTable_config* out = NULL); + static bool getScreenWidthDpName(const char* name, ResTable_config* out = NULL); + static bool getScreenHeightDpName(const char* name, ResTable_config* out = NULL); static bool getVersionName(const char* name, ResTable_config* out = NULL); int compare(const AaptGroupEntry& o) const;