X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/b5a473dad502a67a09d3978b455dc4cbfafcc920..c1b83bdbc6526f4c8f366bc3716f46b4ad93b0fd:/AaptAssets.h diff --git a/AaptAssets.h b/AaptAssets.h index 9fafab4..82dfd71 100644 --- a/AaptAssets.h +++ b/AaptAssets.h @@ -42,6 +42,9 @@ enum { AXIS_NAVHIDDEN, AXIS_NAVIGATION, AXIS_SCREENSIZE, + AXIS_SMALLESTSCREENWIDTHDP, + AXIS_SCREENWIDTHDP, + AXIS_SCREENHEIGHTDP, AXIS_VERSION }; @@ -52,6 +55,7 @@ enum { SDK_ECLAIR_0_1 = 6, SDK_MR1 = 7, SDK_FROYO = 8, + SDK_HONEYCOMB_MR2 = 13, }; /** @@ -69,6 +73,9 @@ public: String8 mnc; String8 locale; String8 vendor; + String8 smallestScreenWidthDp; + String8 screenWidthDp; + String8 screenHeightDp; String8 screenLayoutSize; String8 screenLayoutLong; String8 orientation; @@ -102,6 +109,9 @@ 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 getSmallestScreenWidthDpName(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;