summaryrefslogtreecommitdiff
path: root/libs/ui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Suchi Amalapurapu <> 2009-03-27 18:00:44 -0700
committer The Android Open Source Project <initial-contribution@android.com> 2009-03-27 18:00:44 -0700
commit94befd1be9b3a19fb2dda8badebb373806cb311c (patch)
tree42cb1fea300dbca265393770d3eeb782a9356ef0 /libs/ui/SurfaceComposerClient.cpp
parent3552f53c8370ced8680951f4ac811a126da02b0e (diff)
AI 143311: am: CL 143162 am: CL 142858 Fix framework orientation issues
Define orientation limits for various cases. Values between 235 and 295 are considered landscape, 0 - 60 are considered portrait. 0-235 are ignored since we don't support Surfaces for 180 and 270 yet. A linear threshold value is calculated for values between 265 and 355 to switch between landscape and portrait.(different for both cases) Based on current mode we not only calculate the threshold but also compare accordingly based on increasing or decreasing orientation BUG = 1734325 Original author: asuchitra Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143311
Diffstat (limited to 'libs/ui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions