diff options
author | Chris Li <lihongyu@google.com> | 2020-11-10 13:37:15 -0800 |
---|---|---|
committer | Chris Li <lihongyu@google.com> | 2020-11-16 17:55:26 +0000 |
commit | 15b8613a4a033033aae716da742942850e6e3f68 (patch) | |
tree | d44d48351bf02dbe21615a25a3f2a2501d820567 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | dc2fe53ee6f0b386a1212bbc1d9a550d02952670 (diff) |
Use the window surface position in parent's coordinate for InsetsSource
Window frames is based on the display coordinate, but the surface
position should be based on the surface parent's coordinate.
On single display device, the parent is at (0,0) for most case, so it
doesn't cause any issue. However, on multi-display device, the system
and IME window can be placed in a DisplayArea that is not at (0,0).
Bug: 156355859
Test: manual: open IME on single and dual display device.
Change-Id: I42de9b8a12db56b2a9e0c2de0c1e1d7c5d0f25ba
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions