diff options
author | Xavier Ducrohet <xav@android.com> | 2011-05-17 10:59:24 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-05-17 10:59:24 -0700 |
commit | cdca5efd64ac52af0d780b38976884cc3439223a (patch) | |
tree | d1e8dcb4bd4ce3e9ce67484f13eef5945acb0881 /android/hw-lcd.h | |
parent | 2c013bfdc4f39492fd14f24c155252daaa5fdfde (diff) | |
download | external_qemu-cdca5efd64ac52af0d780b38976884cc3439223a.zip external_qemu-cdca5efd64ac52af0d780b38976884cc3439223a.tar.gz external_qemu-cdca5efd64ac52af0d780b38976884cc3439223a.tar.bz2 |
Add support for xhdpi when injecting a skin dpi into the emulator.
Change-Id: I58f06af3c39efc1fcc7dd4e53a701136229379de
Diffstat (limited to 'android/hw-lcd.h')
-rw-r--r-- | android/hw-lcd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/android/hw-lcd.h b/android/hw-lcd.h index b9fdb72..c902b13 100644 --- a/android/hw-lcd.h +++ b/android/hw-lcd.h @@ -12,9 +12,10 @@ #ifndef _ANDROID_HW_LCD_H #define _ANDROID_HW_LCD_H -#define LCD_DENSITY_MIN 120 -#define LCD_DENSITY_DEFAULT 160 -#define LCD_DENSITY_MAX 240 +#define LCD_DENSITY_LDPI 120 +#define LCD_DENSITY_MDPI 160 +#define LCD_DENSITY_HDPI 240 +#define LCD_DENSITY_XHDPI 320 /* Sets the boot property corresponding to the emulated abstract LCD density */ extern void hwLcd_setBootProperty(int density); |