diff options
| author | Chong Zhang <chz@google.com> | 2016-06-02 12:56:54 -0700 |
|---|---|---|
| committer | Chong Zhang <chz@google.com> | 2016-06-02 13:33:40 -0700 |
| commit | 67254723297442a7ac6a2479ec7f72f38f310c3c (patch) | |
| tree | 16db2b20525b217d410f6767c4c081410db4a305 /rs/java/android/renderscript/ProgramStore.java | |
| parent | c4f1bc40326c10fde55f07230e3fe3067d70fbfa (diff) | |
Fix scroll amount calculation in ViewRootImpl
When calculating scroll amount, we should check whehter focus
is visible using before-scrolling position.
It's possible that the view is already scrolled, then visible
insets changes (eg. IME went away). Previous scroll position
still makes the focus visible, but it will leave the focus
in a bad position when it should be scrolled back.
bug: 29025892
Change-Id: I091f16bebc4c1e5ba831616c51ab2ac75d4c4b3c
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions
