David 'Digit' Turner | c5b1270 | 2009-06-19 00:36:12 +0200 | [diff] [blame] | 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 | |
Xavier Ducrohet | cdca5ef | 2011-05-17 10:59:24 -0700 | [diff] [blame] | 15 | #define LCD_DENSITY_LDPI 120 |
| 16 | #define LCD_DENSITY_MDPI 160 |
Xavier Ducrohet | 049c72f | 2011-06-03 11:24:32 -0700 | [diff] [blame] | 17 | #define LCD_DENSITY_TVDPI 213 |
Xavier Ducrohet | cdca5ef | 2011-05-17 10:59:24 -0700 | [diff] [blame] | 18 | #define LCD_DENSITY_HDPI 240 |
| 19 | #define LCD_DENSITY_XHDPI 320 |
Stuart Scott | 77fe764 | 2014-01-13 10:25:20 -0800 | [diff] [blame] | 20 | #define LCD_DENSITY_400DPI 400 |
Deepanshu Gupta | 7703f55 | 2013-11-11 18:33:35 +0530 | [diff] [blame] | 21 | #define LCD_DENSITY_XXHDPI 480 |
| 22 | #define LCD_DENSITY_XXXHDPI 640 |
David 'Digit' Turner | c5b1270 | 2009-06-19 00:36:12 +0200 | [diff] [blame] | 23 | |
| 24 | /* Sets the boot property corresponding to the emulated abstract LCD density */ |
| 25 | extern void hwLcd_setBootProperty(int density); |
| 26 | |
| 27 | #endif /* _ANDROID_HW_LCD_H */ |
| 28 | |