1 /* Copyright (C) 2009 The Android Open Source Project 2 ** 3 ** This software is licensed under the terms of the GNU General Public 4 ** License version 2, as published by the Free Software Foundation, and 5 ** may be copied, distributed, and modified under those terms. 6 ** 7 ** This program is distributed in the hope that it will be useful, 8 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 9 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 ** GNU General Public License for more details. 11 */ 12 #ifndef _ANDROID_HW_LCD_H 13 #define _ANDROID_HW_LCD_H 14 15 #define LCD_DENSITY_LDPI 120 16 #define LCD_DENSITY_MDPI 160 17 #define LCD_DENSITY_TVDPI 213 18 #define LCD_DENSITY_HDPI 240 19 #define LCD_DENSITY_XHDPI 320 20 21 /* Sets the boot property corresponding to the emulated abstract LCD density */ 22 extern void hwLcd_setBootProperty(int density); 23 24 #endif /* _ANDROID_HW_LCD_H */ 25 26