Merge change 22493 into eclair

* changes:
  Add resources to specify display rotation when in keyboard open or docked state.
This commit is contained in:
Android (Google) Code Review
2009-08-24 15:41:30 -07:00
2 changed files with 9 additions and 0 deletions

View File

@ -171,6 +171,9 @@ public class RawInputEvent {
public static final int ABS_MT_BLOB_ID = 0x38;
public static final int ABS_MAX = 0x3f;
// Switch events
public static final int SW_LID = 0x00;
public static final int SYN_REPORT = 0;
public static final int SYN_CONFIG = 1;
public static final int SYN_MT_REPORT = 2;

View File

@ -57,4 +57,10 @@
<item>"wifi,1,1"</item>
<item>"mobile,0,1"</item>
</string-array>
<!-- The number of degrees to rotate the display when the keyboard is open. -->
<integer name="config_lidOpenRotation">90</integer>
<!-- The number of degrees to rotate the display when the device is in a dock. -->
<integer name="config_dockedRotation">90</integer>
</resources>