aboutsummaryrefslogtreecommitdiffstats
path: root/android/avd
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-03-21 09:29:16 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-03-21 09:29:16 -0700
commit26f4784a1cc9214e6a99eb20cf41862b704d326d (patch)
tree78692ae4b719a9dda080b4964f30cd0d502a66bf /android/avd
parent541a7b25951ed30c7411eda50cce3ff9fa0289e4 (diff)
downloadexternal_qemu-26f4784a1cc9214e6a99eb20cf41862b704d326d.zip
external_qemu-26f4784a1cc9214e6a99eb20cf41862b704d326d.tar.gz
external_qemu-26f4784a1cc9214e6a99eb20cf41862b704d326d.tar.bz2
Use enum where appropriate in hw.ini
Change-Id: I8a85de939a89d373724cfb977141ca01e7d1ff34
Diffstat (limited to 'android/avd')
-rw-r--r--android/avd/hardware-properties.ini11
1 files changed, 8 insertions, 3 deletions
diff --git a/android/avd/hardware-properties.ini b/android/avd/hardware-properties.ini
index 4ea63ca..582083c 100644
--- a/android/avd/hardware-properties.ini
+++ b/android/avd/hardware-properties.ini
@@ -49,9 +49,10 @@ description = The amount of physical RAM on the device, in megabytes.
# Touch screen type
name = hw.screen
type = string
+enum = touch, multi-touch, no-touch
default = touch
abstract = Touch screen type
-description = Defines type of the screen. Can be 'touch', 'multi-touch', or 'no-touch'.
+description = Defines type of the screen.
# Hardware main keys (back/home)
name = hw.mainKeys
@@ -192,16 +193,18 @@ abstract = LCD pixel height
name = hw.lcd.depth
type = integer
+enum = 16, 32
default = 16
abstract = LCD color depth
-description = Must be 16 or 32. Color bit depth of emulated framebuffer.
+description = Color bit depth of emulated framebuffer.
# LCD density
name = hw.lcd.density
type = integer
+enum = 120, 160, 240, 213, 320
default = 160
abstract = Abstracted LCD density
-description = Must be one of 120 / 160 / 240 / 213/ 320. A value used to roughly describe the density of the LCD screen for automatic resource/asset selection.
+description = A value used to roughly describe the density of the LCD screen for automatic resource/asset selection.
# LCD backlight - Enable/Disable LCD backlight simulation
# default = no : Disabled
@@ -224,6 +227,7 @@ description = Enable/Disable emulated OpenGLES GPU
#
name = hw.camera.back
type = string
+enum = emulated, none, webcam0, ...
default = emulated
abstract = Configures camera facing back
description = Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if back camera is disabled.
@@ -232,6 +236,7 @@ description = Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera
#
name = hw.camera.front
type = string
+enum = emulated, none, webcam0, ...
default = none
abstract = Configures camera facing front
description = Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if front camera is disabled.