OSDN Git Service
(root)
/
android-x86
/
development.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50992e8
)
Fix the skins to do proper dpad rotation in landscape mode.
author
David 'Digit' Turner
<digit@google.com>
Fri, 18 Sep 2009 00:19:09 +0000
(17:19 -0700)
committer
Xavier Ducrohet
<xav@android.com>
Tue, 29 Sep 2009 20:19:40 +0000
(13:19 -0700)
emulator/skins/HVGA/layout
patch
|
blob
|
history
emulator/skins/QVGA/layout
patch
|
blob
|
history
emulator/skins/WQVGA432/layout
patch
|
blob
|
history
emulator/skins/WVGA800/layout
patch
|
blob
|
history
emulator/skins/WVGA854/layout
patch
|
blob
|
history
diff --git
a/emulator/skins/HVGA/layout
b/emulator/skins/HVGA/layout
index
7117824
..
cc82dde
100644
(file)
--- a/
emulator/skins/HVGA/layout
+++ b/
emulator/skins/HVGA/layout
@@
-18,7
+18,7
@@
parts {
y 0
}
}
-
+
controls {
background {
image controls.png
@@
-357,7
+357,7
@@
layouts {
height 534
color 0xe0e0e0
event EV_SW:0:1
-
+
part1 {
name portrait
x 0
@@
-394,6
+394,12
@@
layouts {
color 0xe0e0e0
event EV_SW:0:0
+ # the framework _always_ assume that the DPad
+ # has been physically rotated in landscape mode.
+ # however, with this skin, this is not the case
+ #
+ dpad-rotation 3
+
part1 {
name portrait
x 800
diff --git
a/emulator/skins/QVGA/layout
b/emulator/skins/QVGA/layout
index
f98e7bd
..
96f2133
100644
(file)
--- a/
emulator/skins/QVGA/layout
+++ b/
emulator/skins/QVGA/layout
@@
-393,6
+393,9
@@
layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
+
part1 {
name portrait
x 800
diff --git
a/emulator/skins/WQVGA432/layout
b/emulator/skins/WQVGA432/layout
index
7e52b53
..
006e955
100644
(file)
--- a/
emulator/skins/WQVGA432/layout
+++ b/
emulator/skins/WQVGA432/layout
@@
-393,6
+393,8
@@
layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
part1 {
name portrait
x 800
diff --git
a/emulator/skins/WVGA800/layout
b/emulator/skins/WVGA800/layout
index
6037ab8
..
63647f3
100644
(file)
--- a/
emulator/skins/WVGA800/layout
+++ b/
emulator/skins/WVGA800/layout
@@
-394,6
+394,8
@@
layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
part1 {
name portrait
x 900
diff --git
a/emulator/skins/WVGA854/layout
b/emulator/skins/WVGA854/layout
index
ab0784d
..
b086ddc
100644
(file)
--- a/
emulator/skins/WVGA854/layout
+++ b/
emulator/skins/WVGA854/layout
@@
-394,6
+394,8
@@
layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
part1 {
name portrait
x 900