diff options
| author | 2021-10-21 18:39:42 +0900 | |
|---|---|---|
| committer | 2021-10-21 18:40:44 +0900 | |
| commit | 3f75d2fde77a587969b2a62579497ba6dfc88ca6 (patch) | |
| tree | 02e48923a91a47df6b78d99c5ae992a20ca5a8d8 /api/api.go | |
| parent | 6adeab2b5c88cb44a1792ae294c7eede4a58418f (diff) | |
Fix rotation bounds calculation in WindowMagnificationControllerTest
On display WxH, a point (x,y) after 90 degree rotation is (y, W-x) in a
new coordinate.
Bug: 203361026
Test: atest com.android.systemui.accessibility.WindowMagnificationControllerTest#onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition
Change-Id: I6fbe248873cd49a3ec52a56a060ade2620fe8710
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions