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#define LCD_DENSITY_400DPI 400 21#define LCD_DENSITY_XXHDPI 480 22#define LCD_DENSITY_XXXHDPI 640 23 24/* Sets the boot property corresponding to the emulated abstract LCD density */ 25extern void hwLcd_setBootProperty(int density); 26 27#endif /* _ANDROID_HW_LCD_H */ 28 29