Support set window size API
It provides resize api which constraint the minimum and
maximum window size.
Since the magnification window could be an arbitary rectangle,
We need to change the window size and the center based on
the transformation result.
Bug: 188136191
Test: atest WindowMagnificationControllerTest
Change-Id: I63abe89d087988460efc7d0586c5a309e6142768
(cherry picked from commit 9555ceb3945f38e32473b29ab0cebd31f92ecf0b)
Merged-In: I63abe89d087988460efc7d0586c5a309e6142768
4 files changed