summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2010-02-08 15:49:35 -0800
committer Mathias Agopian <mathias@google.com> 2010-02-08 15:49:35 -0800
commit2b92d89e23e1a2a07d0e0d01c00eed33ea580aff (patch)
treee48a80222a08d42335c728ecf493e6288c34a75d /libs/ui/FramebufferNativeWindow.cpp
parent1b26c6ae58f9f0e37fd0e3ae7c03a74efcdec904 (diff)
Add support for physically rotated displays
This feature is currently controled by a system property. "ro.sf.hwrotation" can be set to either 90 or 270. It'll cause SF to rotate the screen by 90 and 270 degres respectively. That is, if the driver reports 800x480 for instance, and ro.sf.hwrotation is set to 90, applications will "see" a 480x800 display and will run in portrait. This is implemented by introducing an extra "display" transformation in the GraphicPlane.
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions