diff --git a/build/sdk.atree b/build/sdk.atree index 24ec73fd2..e3468dd63 100644 --- a/build/sdk.atree +++ b/build/sdk.atree @@ -159,6 +159,7 @@ external/qemu/android/avd/hardware-properties.ini tools/lib/hardware-properties. # emulator skins development/emulator/skins/QVGA platforms/${PLATFORM_NAME}/skins/QVGA development/emulator/skins/WQVGA432 platforms/${PLATFORM_NAME}/skins/WQVGA432 +development/emulator/skins/WQVGA400 platforms/${PLATFORM_NAME}/skins/WQVGA400 development/emulator/skins/HVGA platforms/${PLATFORM_NAME}/skins/HVGA development/emulator/skins/WVGA800 platforms/${PLATFORM_NAME}/skins/WVGA800 development/emulator/skins/WVGA854 platforms/${PLATFORM_NAME}/skins/WVGA854 diff --git a/emulator/skins/WQVGA400/arrow_down.png b/emulator/skins/WQVGA400/arrow_down.png new file mode 100644 index 000000000..b9fde223d Binary files /dev/null and b/emulator/skins/WQVGA400/arrow_down.png differ diff --git a/emulator/skins/WQVGA400/arrow_left.png b/emulator/skins/WQVGA400/arrow_left.png new file mode 100644 index 000000000..281b1923a Binary files /dev/null and b/emulator/skins/WQVGA400/arrow_left.png differ diff --git a/emulator/skins/WQVGA400/arrow_right.png b/emulator/skins/WQVGA400/arrow_right.png new file mode 100644 index 000000000..4cbc65d33 Binary files /dev/null and b/emulator/skins/WQVGA400/arrow_right.png differ diff --git a/emulator/skins/WQVGA400/arrow_up.png b/emulator/skins/WQVGA400/arrow_up.png new file mode 100644 index 000000000..29c712151 Binary files /dev/null and b/emulator/skins/WQVGA400/arrow_up.png differ diff --git a/emulator/skins/WQVGA400/background_land.png b/emulator/skins/WQVGA400/background_land.png new file mode 100644 index 000000000..c3fbee9c7 Binary files /dev/null and b/emulator/skins/WQVGA400/background_land.png differ diff --git a/emulator/skins/WQVGA400/background_port.png b/emulator/skins/WQVGA400/background_port.png new file mode 100644 index 000000000..c88edb821 Binary files /dev/null and b/emulator/skins/WQVGA400/background_port.png differ diff --git a/emulator/skins/WQVGA400/button.png b/emulator/skins/WQVGA400/button.png new file mode 100644 index 000000000..8281d20fb Binary files /dev/null and b/emulator/skins/WQVGA400/button.png differ diff --git a/emulator/skins/WQVGA400/controls.png b/emulator/skins/WQVGA400/controls.png new file mode 100644 index 000000000..04b85e2ba Binary files /dev/null and b/emulator/skins/WQVGA400/controls.png differ diff --git a/emulator/skins/WQVGA400/hardware.ini b/emulator/skins/WQVGA400/hardware.ini new file mode 100644 index 000000000..2efe617a1 --- /dev/null +++ b/emulator/skins/WQVGA400/hardware.ini @@ -0,0 +1,2 @@ +# skin-specific hardware values +hw.lcd.density=120 \ No newline at end of file diff --git a/emulator/skins/WQVGA400/key.png b/emulator/skins/WQVGA400/key.png new file mode 100644 index 000000000..40b03bf3f Binary files /dev/null and b/emulator/skins/WQVGA400/key.png differ diff --git a/emulator/skins/WQVGA400/keyboard.png b/emulator/skins/WQVGA400/keyboard.png new file mode 100644 index 000000000..ca49dcf85 Binary files /dev/null and b/emulator/skins/WQVGA400/keyboard.png differ diff --git a/emulator/skins/WQVGA400/layout b/emulator/skins/WQVGA400/layout new file mode 100644 index 000000000..4d71adffc --- /dev/null +++ b/emulator/skins/WQVGA400/layout @@ -0,0 +1,438 @@ +parts { + portrait { + background { + image background_port.png + } + } + landscape { + background { + image background_land.png + } + } + + device { + display { + width 240 + height 400 + x 0 + y 0 + } + } + + controls { + background { + image controls.png + } + buttons { + soft-left { + image button.png + x 56 + y 142 + } + home { + image button.png + x 0 + y 142 + } + back { + image button.png + x 112 + y 142 + } + dpad-up { + image arrow_up.png + x 77 + y 53 + } + dpad-down { + image arrow_down.png + x 77 + y 106 + } + dpad-left { + image arrow_left.png + x 53 + y 53 + } + dpad-right { + image arrow_right.png + x 123 + y 53 + } + dpad-center { + image select.png + x 77 + y 81 + } + phone-dial { + image button.png + x 0 + y 71 + } + phone-hangup { + image button.png + x 168 + y 71 + } + + power { + image button.png + x 168 + y 0 + } + + volume-up { + image button.png + x 112 + y 0 + } + + volume-down { + image button.png + x 56 + y 0 + } + + search { + image button.png + x 168 + y 142 + } + + } + } + + keyboard { + background { + image keyboard.png + } + buttons { + 1 { + image key.png + x 5 + y 5 + } + 2 { + image key.png + x 42 + y 5 + } + 3 { + image key.png + x 79 + y 5 + } + 4 { + image key.png + x 116 + y 5 + } + 5 { + image key.png + x 153 + y 5 + } + 6 { + image key.png + x 190 + y 5 + } + 7 { + image key.png + x 227 + y 5 + } + 8 { + image key.png + x 264 + y 5 + } + 9 { + image key.png + x 301 + y 5 + } + 0 { + image key.png + x 338 + y 5 + } + + q { + image key.png + x 5 + y 41 + } + w { + image key.png + x 42 + y 41 + } + e { + image key.png + x 79 + y 41 + } + r { + image key.png + x 116 + y 41 + } + t { + image key.png + x 153 + y 41 + } + y { + image key.png + x 190 + y 41 + } + u { + image key.png + x 227 + y 41 + } + i { + image key.png + x 264 + y 41 + } + o { + image key.png + x 301 + y 41 + } + p { + image key.png + x 338 + y 41 + } + + a { + image key.png + x 5 + y 77 + } + s { + image key.png + x 42 + y 77 + } + d { + image key.png + x 79 + y 77 + } + f { + image key.png + x 116 + y 77 + } + g { + image key.png + x 153 + y 77 + } + h { + image key.png + x 190 + y 77 + } + j { + image key.png + x 227 + y 77 + } + k { + image key.png + x 264 + y 77 + } + l { + image key.png + x 301 + y 77 + } + DEL { + image key.png + x 338 + y 77 + } + + CAP { + image key.png + x 5 + y 113 + } + z { + image key.png + x 42 + y 113 + } + x { + image key.png + x 79 + y 113 + } + c { + image key.png + x 116 + y 113 + } + v { + image key.png + x 153 + y 113 + } + b { + image key.png + x 190 + y 113 + } + n { + image key.png + x 227 + y 113 + } + m { + image key.png + x 264 + y 113 + } + PERIOD { + image key.png + x 301 + y 113 + } + ENTER { + image key.png + x 338 + y 113 + } + + ALT { + image key.png + x 5 + y 149 + } + SYM { + image key.png + x 42 + y 149 + } + AT { + image key.png + x 79 + y 149 + } + SPACE { + image spacebar.png + x 116 + y 149 + } + SLASH { + image key.png + x 264 + y 149 + } + COMMA { + image key.png + x 301 + y 149 + } + ALT2 { + image key.png + x 338 + y 149 + } + + } + } +} + +layouts { + portrait { + width 711 + height 454 + color 0xe0e0e0 + event EV_SW:0:1 + + part1 { + name portrait + x 0 + y 0 + } + + part2 { + name landscape + x 800 + y 0 + } + + part3 { + name device + x 28 + y 27 + } + part4 { + name controls + x 396 + y 37 + } + part5 { + name keyboard + x 315 + y 248 + } + } + + landscape { + width 640 + height 522 + color 0xe0e0e0 + event EV_SW:0:0 + + dpad-rotation 3 + + part1 { + name portrait + x 800 + y 0 + } + + part2 { + name landscape + x 0 + y 0 + } + + part3 { + name device + x 120 + y 270 + rotation 3 + } + + part4 { + name controls + x 410 + y 317 + } + + part5 { + name keyboard + x 18 + y 317 + } + } +} + +keyboard { + charmap qwerty2 +} + +network { + speed full + delay none +} diff --git a/emulator/skins/WQVGA400/select.png b/emulator/skins/WQVGA400/select.png new file mode 100644 index 000000000..f4a65d3b5 Binary files /dev/null and b/emulator/skins/WQVGA400/select.png differ diff --git a/emulator/skins/WQVGA400/spacebar.png b/emulator/skins/WQVGA400/spacebar.png new file mode 100644 index 000000000..aa459bd13 Binary files /dev/null and b/emulator/skins/WQVGA400/spacebar.png differ