Keeps the Y position with the same height ratio before the window height is changed

It's UI polishment.
When the device is rotated, the Y position of magnification switch button should have the same height ratio (Y position / Window height).

Bug: 189715285
Test: atest MagnificationModeSwitchTest
Change-Id: I3f4b0d14bc0f59487e43298d6425171f299a6a72
3 files changed