commit | 3f75d2fde77a587969b2a62579497ba6dfc88ca6 | [log] [tgz] |
---|---|---|
author | Hiroki Sato <hirokisato@google.com> | Thu Oct 21 18:39:42 2021 +0900 |
committer | Hiroki Sato <hirokisato@google.com> | Thu Oct 21 18:40:44 2021 +0900 |
tree | 02e48923a91a47df6b78d99c5ae992a20ca5a8d8 | |
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