blob: b8abb5836fba8e7f12cef58bbcf4547bd5548bf5 [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
Stuart Scott77fe7642014-01-13 10:25:20 -080020#define LCD_DENSITY_400DPI 400
Deepanshu Gupta7703f552013-11-11 18:33:35 +053021#define LCD_DENSITY_XXHDPI 480
22#define LCD_DENSITY_XXXHDPI 640
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +020023
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