From e8f7f5fe9f08c2381908d13a63fc34b12d6f95c3 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Thu, 21 Jun 2012 19:32:48 -0700 Subject: [PATCH] Fix WXGA800-7in to be portrait by default. Bug: 6712001 Change-Id: I047e023e726f83ff63f8fe00fb3f43698ad1db37 --- tools/emulator/skins/WXGA800-7in/layout | 65 +++++++++++++------------ 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/tools/emulator/skins/WXGA800-7in/layout b/tools/emulator/skins/WXGA800-7in/layout index 0aaeb1ed0..c0050e9a4 100755 --- a/tools/emulator/skins/WXGA800-7in/layout +++ b/tools/emulator/skins/WXGA800-7in/layout @@ -12,8 +12,8 @@ parts { device { display { - width 1280 - height 800 + width 800 + height 1280 x 0 y 0 } @@ -23,11 +23,40 @@ parts { layouts { + portrait { + width 853 + height 1334 + color 0xe0e0e0 + event EV_SW:0:1 + + + part1 { + name portrait + x 0 + y 0 + } + + part2 { + name landscape + x 1400 + y 0 + } + + part3 { + name device + x 27 + y 27 + } + } + landscape { width 1333 height 855 color 0xe0e0e0 - event EV_SW:0:1 + + event EV_SW:0:0 + + dpad-rotation 3 part1 { name portrait @@ -44,38 +73,10 @@ layouts { part3 { name device x 26 - y 29 - } - } - - portrait { - width 853 - height 1334 - color 0xe0e0e0 - event EV_SW:0:0 - - dpad-rotation 3 - - part1 { - name portrait - x 0 - y 0 - } - - part2 { - name landscape - x 1400 - y 0 - } - - part3 { - name device - x 27 - y 1307 + y 829 rotation 3 } } - } keyboard {