aboutsummaryrefslogtreecommitdiffstats
path: root/android/hw-lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/hw-lcd.h')
-rw-r--r--android/hw-lcd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/android/hw-lcd.h b/android/hw-lcd.h
new file mode 100644
index 0000000..b9fdb72
--- /dev/null
+++ b/android/hw-lcd.h
@@ -0,0 +1,23 @@
+/* Copyright (C) 2009 The Android Open Source Project
+**
+** This software is licensed under the terms of the GNU General Public
+** License version 2, as published by the Free Software Foundation, and
+** may be copied, distributed, and modified under those terms.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+*/
+#ifndef _ANDROID_HW_LCD_H
+#define _ANDROID_HW_LCD_H
+
+#define LCD_DENSITY_MIN 120
+#define LCD_DENSITY_DEFAULT 160
+#define LCD_DENSITY_MAX 240
+
+/* Sets the boot property corresponding to the emulated abstract LCD density */
+extern void hwLcd_setBootProperty(int density);
+
+#endif /* _ANDROID_HW_LCD_H */
+