| commit | 39d4aa5bb18a14680347f6f6d1a34eed918e274b | [log] [tgz] |
|---|---|---|
| author | Riddle Hsu <riddlehsu@google.com> | Fri Nov 30 20:46:53 2018 +0800 |
| committer | Riddle Hsu <riddlehsu@google.com> | Fri Nov 30 12:49:00 2018 +0000 |
| tree | 40d06173e8d45207ad57cf3fae1c4d72bd8f4c8e | |
| parent | 75cc36e4924601444c75b24a59fac117ead00ee2 [diff] |
Fix empty region if the scale is smaller than 1
It may be used by Layer of SurfaceFlinger to calculate
touchable region. It should be able to scale a window
to a smaller size.
Bug: 111440400
Test: manual - An input-associated surface with a scaling
matrix that has dsdx, dsdy < 1. Use "dumpsys input"
to observe its touchable region.
Change-Id: I495bd16acec77f913fd39dcac90404eddc71cabb