DescriptionSpecify a default display UI scale to reset the zoom to
For devices with 1.25 DSF, pressing Ctrl+Shift+0 used to reset zoom to
a full HD scale (1.0 = 1920x1080), which is not the default scale we decided for
these devices (0.8 = 1536x864).
This CL marks one of the modes as the default one, and use that default mode to
reset the scale to.
BUG=chrome-os-partner:58181
TEST=on an elm device, pressing Ctrl+Shift+0, the scale should remain at 1536x864.
TEST=ash_unittests --gtest_filter=DisplayManagerTest.ResetInternalDisplayZoomFor1_25x*
Committed: https://crrev.com/8571a9c3216de20afa714851c2268edb52f43a8d
Cr-Commit-Position: refs/heads/master@{#427837}
Patch Set 1 #Patch Set 2 : Clean up, simplify #
Total comments: 6
Patch Set 3 : Oshima's comments (no new test yet) #Patch Set 4 : Fix compile error #Patch Set 5 : Initial test [still failing] #
Total comments: 2
Patch Set 6 : Working test #Messages
Total messages: 29 (20 generated)
|