OSDN Git Service

First pass at a WVGA skin.
authorXavier Ducrohet <xav@android.com>
Sat, 25 Jul 2009 02:19:32 +0000 (19:19 -0700)
committerXavier Ducrohet <xav@android.com>
Sat, 25 Jul 2009 02:23:23 +0000 (19:23 -0700)
22 files changed:
build/sdk.atree
emulator/skins/WVGA/arrow_down.png [new file with mode: 0644]
emulator/skins/WVGA/arrow_left.png [new file with mode: 0644]
emulator/skins/WVGA/arrow_right.png [new file with mode: 0644]
emulator/skins/WVGA/arrow_up.png [new file with mode: 0644]
emulator/skins/WVGA/back.png [new file with mode: 0644]
emulator/skins/WVGA/device.png [new file with mode: 0644]
emulator/skins/WVGA/device.pxi [new file with mode: 0644]
emulator/skins/WVGA/end.png [new file with mode: 0644]
emulator/skins/WVGA/hardware.ini [new file with mode: 0644]
emulator/skins/WVGA/home.png [new file with mode: 0644]
emulator/skins/WVGA/key.png [new file with mode: 0644]
emulator/skins/WVGA/keyboard.png [new file with mode: 0644]
emulator/skins/WVGA/layout [new file with mode: 0644]
emulator/skins/WVGA/menu.png [new file with mode: 0644]
emulator/skins/WVGA/power.png [new file with mode: 0644]
emulator/skins/WVGA/search.png [new file with mode: 0644]
emulator/skins/WVGA/select.png [new file with mode: 0644]
emulator/skins/WVGA/send.png [new file with mode: 0644]
emulator/skins/WVGA/spacebar.png [new file with mode: 0644]
emulator/skins/WVGA/volume_down.png [new file with mode: 0644]
emulator/skins/WVGA/volume_up.png [new file with mode: 0644]

index d9c7d2d..34e6399 100644 (file)
@@ -148,6 +148,7 @@ external/qemu/android/avd/hardware-properties.ini tools/lib/hardware-properties.
 # emulator skins
 development/emulator/skins/HVGA   platforms/${PLATFORM_NAME}/skins/HVGA
 development/emulator/skins/QVGA   platforms/${PLATFORM_NAME}/skins/QVGA
+development/emulator/skins/WVGA   platforms/${PLATFORM_NAME}/skins/WVGA
 
 # NOTICE files are copied by build/core/Makefile
 
diff --git a/emulator/skins/WVGA/arrow_down.png b/emulator/skins/WVGA/arrow_down.png
new file mode 100644 (file)
index 0000000..19b3764
Binary files /dev/null and b/emulator/skins/WVGA/arrow_down.png differ
diff --git a/emulator/skins/WVGA/arrow_left.png b/emulator/skins/WVGA/arrow_left.png
new file mode 100644 (file)
index 0000000..113e584
Binary files /dev/null and b/emulator/skins/WVGA/arrow_left.png differ
diff --git a/emulator/skins/WVGA/arrow_right.png b/emulator/skins/WVGA/arrow_right.png
new file mode 100644 (file)
index 0000000..ffe3356
Binary files /dev/null and b/emulator/skins/WVGA/arrow_right.png differ
diff --git a/emulator/skins/WVGA/arrow_up.png b/emulator/skins/WVGA/arrow_up.png
new file mode 100644 (file)
index 0000000..81c54df
Binary files /dev/null and b/emulator/skins/WVGA/arrow_up.png differ
diff --git a/emulator/skins/WVGA/back.png b/emulator/skins/WVGA/back.png
new file mode 100644 (file)
index 0000000..41034d9
Binary files /dev/null and b/emulator/skins/WVGA/back.png differ
diff --git a/emulator/skins/WVGA/device.png b/emulator/skins/WVGA/device.png
new file mode 100644 (file)
index 0000000..3657294
Binary files /dev/null and b/emulator/skins/WVGA/device.png differ
diff --git a/emulator/skins/WVGA/device.pxi b/emulator/skins/WVGA/device.pxi
new file mode 100644 (file)
index 0000000..a6bc6a0
Binary files /dev/null and b/emulator/skins/WVGA/device.pxi differ
diff --git a/emulator/skins/WVGA/end.png b/emulator/skins/WVGA/end.png
new file mode 100644 (file)
index 0000000..6830a60
Binary files /dev/null and b/emulator/skins/WVGA/end.png differ
diff --git a/emulator/skins/WVGA/hardware.ini b/emulator/skins/WVGA/hardware.ini
new file mode 100644 (file)
index 0000000..02e9d89
--- /dev/null
@@ -0,0 +1,2 @@
+# skin-specific hardware values
+hw.lcd.density=240
\ No newline at end of file
diff --git a/emulator/skins/WVGA/home.png b/emulator/skins/WVGA/home.png
new file mode 100644 (file)
index 0000000..7d02136
Binary files /dev/null and b/emulator/skins/WVGA/home.png differ
diff --git a/emulator/skins/WVGA/key.png b/emulator/skins/WVGA/key.png
new file mode 100644 (file)
index 0000000..7a3f563
Binary files /dev/null and b/emulator/skins/WVGA/key.png differ
diff --git a/emulator/skins/WVGA/keyboard.png b/emulator/skins/WVGA/keyboard.png
new file mode 100644 (file)
index 0000000..bb076d3
Binary files /dev/null and b/emulator/skins/WVGA/keyboard.png differ
diff --git a/emulator/skins/WVGA/layout b/emulator/skins/WVGA/layout
new file mode 100644 (file)
index 0000000..c33c354
--- /dev/null
@@ -0,0 +1,385 @@
+parts {
+    device {
+        background {
+            image   device.png
+        }
+        display {
+            width   480
+            height  800
+            x       65
+            y       135
+        }
+
+        buttons {
+            soft-left {
+                    image menu.png
+                    x 222
+                    y 945
+            }
+            home {
+                    image home.png
+                    x 106
+                    y 945
+            }
+            back {
+                    image back.png
+                    x 341
+                    y 945
+            }
+            search {
+                    image search.png
+                    x 460
+                    y 945
+            }
+            dpad-up {
+                    image arrow_up.png
+                    x 260
+                    y 1019
+            }
+            dpad-down {
+                    image arrow_down.png
+                    x 260
+                    y 1081
+            }
+            dpad-left {
+                    image arrow_left.png
+                    x 223
+                    y 1023
+            }
+            dpad-right {
+                    image arrow_right.png
+                    x 343
+                    y 1023
+            }
+            dpad-center {
+                    image select.png
+                    x 259
+                    y 1049
+            }
+            phone-dial {
+                    image send.png
+                    x 107
+                    y 1043
+            }
+            phone-hangup {
+                    image end.png
+                    x 458
+                    y 1043
+            }
+
+            power {
+                    image power.png
+                    x -10
+                    y 120
+            }
+
+            volume-up {
+                    image volume_up.png
+                    x 570
+                    y 260
+            }
+
+            volume-down {
+                    image volume_down.png
+                    x 570
+                    y 310
+            }
+        }
+    }
+
+    keyboard {
+        background {
+            image   keyboard.png
+        }
+        buttons {
+            1 {
+                image  key.png
+                x  0
+                y  0
+            }
+            2 {
+                image  key.png
+                x 37
+                y 0
+            }
+            3 {
+                image  key.png
+                x 74
+                y 0
+            }
+            4 {
+                image  key.png
+                x 111
+                y 0
+            }
+            5 {
+                image  key.png
+                x 148
+                y 0
+            }
+            6 {
+                image  key.png
+                x 185
+                y 0
+            }
+            7 {
+                image  key.png
+                x 222
+                y 0
+            }
+            8 {
+                image  key.png
+                x 259
+                y 0
+            }
+            9 {
+                image  key.png
+                x 296
+                y 0
+            }
+            0 {
+                image  key.png
+                x 333
+                y 0
+            }
+
+            q {
+                image  key.png
+                x  0
+                y  36
+            }
+            w {
+                image  key.png
+                x 37
+                y 36
+            }
+            e {
+                image  key.png
+                x 74
+                y 36
+            }
+            r {
+                image  key.png
+                x 111
+                y 36
+            }
+            t {
+                image  key.png
+                x 148
+                y 36
+            }
+            y {
+                image  key.png
+                x 185
+                y 36
+            }
+            u {
+                image  key.png
+                x 222
+                y 36
+            }
+            i {
+                image  key.png
+                x 259
+                y 36
+            }
+            o {
+                image  key.png
+                x 296
+                y 36
+            }
+            p {
+                image  key.png
+                x 333
+                y 36
+            }
+
+            a {
+                image  key.png
+                x  0
+                y  72
+            }
+            s {
+                image  key.png
+                x 37
+                y 72
+            }
+            d {
+                image  key.png
+                x 74
+                y 72
+            }
+            f {
+                image  key.png
+                x 111
+                y 72
+            }
+            g {
+                image  key.png
+                x 148
+                y 72
+            }
+            h {
+                image  key.png
+                x 185
+                y 72
+            }
+            j {
+                image  key.png
+                x 222
+                y 72
+            }
+            k {
+                image  key.png
+                x 259
+                y 72
+            }
+            l {
+                image  key.png
+                x 296
+                y 72
+            }
+            DEL {
+                image  key.png
+                x 333
+                y 72
+            }
+
+            CAP {
+                image  key.png
+                x  0
+                y  108
+            }
+            z {
+                image  key.png
+                x 37
+                y 108
+            }
+            x {
+                image  key.png
+                x 74
+                y 108
+            }
+            c {
+                image  key.png
+                x 111
+                y 108
+            }
+            v {
+                image  key.png
+                x 148
+                y 108
+            }
+            b {
+                image  key.png
+                x 185
+                y 108
+            }
+            n {
+                image  key.png
+                x 222
+                y 108
+            }
+            m {
+                image  key.png
+                x 259
+                y 108
+            }
+            PERIOD {
+                image  key.png
+                x 296
+                y 108
+            }
+            ENTER {
+                image  key.png
+                x 333
+                y 108
+            }
+
+            ALT {
+                image  key.png
+                x  0
+                y  144
+            }
+            SYM {
+                image  key.png
+                x 37
+                y 144
+            }
+            AT {
+                image  key.png
+                x 74
+                y 144
+            }
+            SPACE {
+                image  spacebar.png
+                x 111
+                y 144
+            }
+            SLASH {
+                image  key.png
+                x 259
+                y 144
+            }
+            COMMA {
+                image  key.png
+                x 296
+                y 144
+            }
+            ALT2 {
+                image  key.png
+                x 333
+                y 144
+            }
+
+        }
+    }
+}
+
+layouts {
+    portrait {
+        width     975
+        height    1080
+        color     0xffffff
+        event     EV_SW:0:1
+
+        part1 {
+            name    device
+            x       10
+            y       -70
+        }
+        part2 {
+            name    keyboard
+            x       600
+            y       400
+        }
+    }
+
+    landscape {
+        width     1080
+        height    810
+        color     0xffffff
+        event     EV_SW:0:0
+
+        part1 {
+            name      device
+            x         -70
+            y         640
+            rotation  3
+        }
+        part2 {
+            name     keyboard
+            x        250
+            y        620
+        }
+    }
+}
+
+keyboard {
+    charmap qwerty2
+}
+
+network {
+    speed  full
+    delay  none
+}
diff --git a/emulator/skins/WVGA/menu.png b/emulator/skins/WVGA/menu.png
new file mode 100644 (file)
index 0000000..41034d9
Binary files /dev/null and b/emulator/skins/WVGA/menu.png differ
diff --git a/emulator/skins/WVGA/power.png b/emulator/skins/WVGA/power.png
new file mode 100644 (file)
index 0000000..5894288
Binary files /dev/null and b/emulator/skins/WVGA/power.png differ
diff --git a/emulator/skins/WVGA/search.png b/emulator/skins/WVGA/search.png
new file mode 100644 (file)
index 0000000..41034d9
Binary files /dev/null and b/emulator/skins/WVGA/search.png differ
diff --git a/emulator/skins/WVGA/select.png b/emulator/skins/WVGA/select.png
new file mode 100644 (file)
index 0000000..803d493
Binary files /dev/null and b/emulator/skins/WVGA/select.png differ
diff --git a/emulator/skins/WVGA/send.png b/emulator/skins/WVGA/send.png
new file mode 100644 (file)
index 0000000..f547c88
Binary files /dev/null and b/emulator/skins/WVGA/send.png differ
diff --git a/emulator/skins/WVGA/spacebar.png b/emulator/skins/WVGA/spacebar.png
new file mode 100644 (file)
index 0000000..19fe604
Binary files /dev/null and b/emulator/skins/WVGA/spacebar.png differ
diff --git a/emulator/skins/WVGA/volume_down.png b/emulator/skins/WVGA/volume_down.png
new file mode 100644 (file)
index 0000000..f8a88de
Binary files /dev/null and b/emulator/skins/WVGA/volume_down.png differ
diff --git a/emulator/skins/WVGA/volume_up.png b/emulator/skins/WVGA/volume_up.png
new file mode 100644 (file)
index 0000000..940457f
Binary files /dev/null and b/emulator/skins/WVGA/volume_up.png differ