summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-11-04 15:33:52 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-11-04 07:38:08 +0000
commite290bd061ddc892736cca4123a8a012abb53b448 (patch)
treec35dfa88f11a45e5eb724bdbb31db9eb95e3aef0 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentcc110e6aeaef998b0a09b295eb247ad0a5b99896 (diff)
Use 180 degree as general upside down for rotation choice
The "UpsideDown" field of DisplayRotation stands for reverse portrait. So the general up side down rotation should be ROTATION_180. Otherwise a landscape display will get 90 as invalid and 180 as valid. Portrait display (default h>w) mLandscapeRotation=ROTATION_90 mSeascapeRotation=ROTATION_270 mPortraitRotation=ROTATION_0 mUpsideDownRotation=ROTATION_180 Landscape display (default w>h) mLandscapeRotation=ROTATION_0 mSeascapeRotation=ROTATION_180 mPortraitRotation=ROTATION_270 mUpsideDownRotation=ROTATION_90 Bug: 204197290 Test: adb shell wm size 2000x1000 Disable auto-rotation. Rotate the device 90-degree counterclockwise. The rotation hint button should show. Change-Id: Iea6ae5d9ac1ffdf7333f7cc52e644f10ed5311a8
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions