blob: 22e53c958455d1fd3213380ad6dcdbc050287447 [file] [log] [blame]
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +02001/* 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 Ducrohetcdca5ef2011-05-17 10:59:24 -070015#define LCD_DENSITY_LDPI 120
16#define LCD_DENSITY_MDPI 160
Xavier Ducrohet049c72f2011-06-03 11:24:32 -070017#define LCD_DENSITY_TVDPI 213
Xavier Ducrohetcdca5ef2011-05-17 10:59:24 -070018#define LCD_DENSITY_HDPI 240
19#define LCD_DENSITY_XHDPI 320
Deepanshu Gupta7703f552013-11-11 18:33:35 +053020#define LCD_DENSITY_XXHDPI 480
21#define LCD_DENSITY_XXXHDPI 640
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +020022
23/* Sets the boot property corresponding to the emulated abstract LCD density */
24extern void hwLcd_setBootProperty(int density);
25
26#endif /* _ANDROID_HW_LCD_H */
27