Fix physical display ratio incorrect

ScreenDecorations' physical display ratio is incorrect on rotation value
1 or 2. Change calculation base for physicalDisplayRatio()

Bug: 231407521

Test: atest ScreenDecorationsTest
Test: Manually check rounded corner display for every rotation and every
    resolution on device.
Change-Id: I573636f5b889a0ef6e77eba7c6a5bac6e0dfb07d
1 file changed