Home | History | Annotate | Download | only in android-dream
      1 <?xml version="1.0" ?>
      2 <!-- Copyright 2006 The Android Open Source Project -->
      3 
      4 <device name="Dream">
      5     <!-- title for menus -->
      6     <title>Android Dream</title>
      7 
      8     <display name="main" width="320" height="480" format="rgb565" refresh="30"/>
      9 
     10     <keyboard qwerty="1" keycharmap="qwerty2" />
     11     
     12     <mode name="closed">
     13         <view display="main" x="75" y="84" rotate="0">
     14 
     15             <!-- surrounding device image and "patches", drawn in order -->
     16             <image src="background.png" x="0" y="0"/>
     17 
     18             <!-- buttons for which we have highlight images -->
     19             <button keyCode="1"             src="key.png"           x="468" y="276"/>
     20             <button keyCode="q"             src="key.png"           x="468" y="312"/>
     21             <button keyCode="power"         src="power.png"         x="7"   y="66"/>
     22             <button keyCode="volume-up"     src="volume_up.png"     x="407" y="274"/>
     23             <button keyCode="volume-down"   src="volume_down.png"   x="407" y="324"/>
     24 
     25             <button keyCode="home"          src="home.png"          x="93"  y="602"/>
     26             <button keyCode="back"          src="back.png"          x="331" y="602"/>
     27             <button keyCode="dpad-up"       src="arrow_up.png"      x="185" y="608"/>
     28             <button keyCode="dpad-down"     src="arrow_down.png"    x="185" y="669"/>
     29             <button keyCode="dpad-left"     src="arrow_left.png"    x="155" y="610"/>
     30             <button keyCode="dpad-right"    src="arrow_right.png"   x="266" y="610"/>
     31             <button keyCode="dpad-center"   src="select.png"        x="186" y="637"/>
     32             <button keyCode="phone-dial"    src="send.png"          x="93"  y="658"/>
     33             <button keyCode="phone-hangup"  src="end.png"           x="331" y="658"/>
     34             <button keyCode="soft-left"     src="menu.png"          x="192" y="569"/>
     35 
     36 <!--
     37             1 {
     38                image  key.png
     39                x  468
     40                y  302
     41             }
     42             2 {
     43                image  key.png
     44                x 505
     45                y 302
     46             }
     47             3 {
     48                image  key.png
     49                x 543
     50                y 302
     51             }
     52             4 {
     53                image  key.png
     54                x 579
     55                y 302
     56             }
     57             5 {
     58                image  key.png
     59                x 616
     60                y 302
     61             }
     62             6 {
     63                image  key.png
     64                x 653
     65                y 302
     66             }
     67             7 {
     68                image  key.png
     69                x 690
     70                y 302
     71             }
     72             8 {
     73                image  key.png
     74                x 727
     75                y 302
     76             }
     77             9 {
     78                image  key.png
     79                x 763
     80                y 302
     81             }
     82             0 {
     83                image  key.png
     84                x 801
     85                y 302
     86             }
     87 
     88             q {
     89                image  key.png
     90                x  468
     91                y  338
     92             }
     93             w {
     94                image  key.png
     95                x 505
     96                y 338
     97             }
     98             e {
     99                image  key.png
    100                x 543
    101                y 338
    102             }
    103             r {
    104                image  key.png
    105                x 579
    106                y 338
    107             }
    108             t {
    109                image  key.png
    110                x 616
    111                y 338
    112             }
    113             y {
    114                image  key.png
    115                x 653
    116                y 338
    117             }
    118             u {
    119                image  key.png
    120                x 690
    121                y 338
    122             }
    123             i {
    124                image  key.png
    125                x 727
    126                y 338
    127             }
    128             o {
    129                image  key.png
    130                x 763
    131                y 338
    132             }
    133             p {
    134                image  key.png
    135                x 801
    136                y 338
    137             }
    138 
    139             a {
    140                image  key.png
    141                x  468
    142                y  374
    143             }
    144             s {
    145                image  key.png
    146                x 505
    147                y 374
    148             }
    149             d {
    150                image  key.png
    151                x 543
    152                y 374
    153             }
    154             f {
    155                image  key.png
    156                x 579
    157                y 374
    158             }
    159             g {
    160                image  key.png
    161                x 616
    162                y 374
    163             }
    164             h {
    165                image  key.png
    166                x 653
    167                y 374
    168             }
    169             j {
    170                image  key.png
    171                x 690
    172                y 374
    173             }
    174             k {
    175                image  key.png
    176                x 727
    177                y 374
    178             }
    179             l {
    180                image  key.png
    181                x 763
    182                y 374
    183             }
    184             DEL {
    185                image  key.png
    186                x 801
    187                y 374
    188             }
    189 
    190             CAP {
    191                image  key.png
    192                x  468
    193                y  410
    194             }
    195             z {
    196                image  key.png
    197                x 505
    198                y 410
    199             }
    200             x {
    201                image  key.png
    202                x 543
    203                y 410
    204             }
    205             c {
    206                image  key.png
    207                x 579
    208                y 410
    209             }
    210             v {
    211                image  key.png
    212                x 616
    213                y 410
    214             }
    215             b {
    216                image  key.png
    217                x 653
    218                y 410
    219             }
    220             n {
    221                image  key.png
    222                x 690
    223                y 410
    224             }
    225             m {
    226                image  key.png
    227                x 727
    228                y 410
    229             }
    230             PERIOD {
    231                image  key.png
    232                x 763
    233                y 410
    234             }
    235             ENTER {
    236                image  key.png
    237                x 801
    238                y 410
    239             }
    240 
    241             ALT {
    242                image  key.png
    243                x  468
    244                y  446
    245             }
    246             SYM {
    247                image  key.png
    248                x 505
    249                y 446
    250             }
    251             AT {
    252                image  key.png
    253                x 543
    254                y 446
    255             }
    256             SPACE {
    257                image  spacebar.png
    258                x 579
    259                y 446
    260             }
    261             SLASH {
    262                image  key.png
    263                x 727
    264                y 446
    265             }
    266             COMMA {
    267                image  key.png
    268                x 763
    269                y 446
    270             }
    271             ALT2 {
    272                image  key.png
    273                x 801
    274                y 446
    275             }
    276 
    277             soft-left {
    278                 image menu.png
    279                 x 192
    280                 y 623
    281             }
    282             home {
    283                 image home.png
    284                 x 93
    285                 y 656
    286             }
    287             back {
    288                 image back.png
    289                 x 331
    290                 y 656
    291             }
    292             dpad-up {
    293                 image arrow_up.png
    294                 x 185
    295                 y 662
    296             }
    297             dpad-down {
    298                 image arrow_down.png
    299                 x 185
    300                 y 723
    301             }
    302             dpad-left {
    303                 image arrow_left.png
    304                 x 155
    305                 y 664
    306             }
    307             dpad-right {
    308                 image arrow_right.png
    309                 x 266
    310                 y 664
    311             }
    312             dpad-center {
    313                 image select.png
    314                 x 186
    315                 y 691
    316             }
    317             phone-dial {
    318                 image send.png
    319                 x 93
    320                 y 712
    321             }
    322             phone-hangup {
    323                 image end.png
    324                 x 331
    325                 y 712
    326             }
    327 
    328             power {
    329                 image power.png
    330                 x 7
    331                 y 120
    332             }
    333 
    334             volume-up {
    335                 image volume_up.png
    336                 x 407
    337                 y 328
    338             }
    339 
    340             volume-down {
    341                 image volume_down.png
    342                 x 407
    343                 y 378
    344             }
    345 -->
    346         </view>
    347     </mode>
    348 
    349 <!--
    350     <mode name="open">
    351         <view display="main" x="0" y="0" rotate="90">
    352         </view>
    353     </mode>
    354 -->
    355 
    356 </device>
    357