commit | 6e91ccbe82889fcb2e56b15da6dcceb2ab22dc94 | [log] [tgz] |
---|---|---|
author | sfufa@google.com <sfufa@google.com> | Sun Sep 19 22:31:23 2021 -0700 |
committer | sfufa@google.com <sfufa@google.com> | Sun Sep 19 22:37:06 2021 -0700 |
tree | f4aaea88a5671627779ebd9e0287d32f341df5ac | |
parent | 305d0463b18303a67aea26c59538c774db879e95 [diff] |
[Search] Sync header Y translation with AllApps y scroll Instead of calling scrollToTop directly, calling mHeader.reset scrolls recylcerview to top and reset headerView y translation Bug: 195365449 Test: enable three button mode, open AllApps, slightly scroll so predictions are partially visible, tap on search box and then outside; verify AllApps is scrolled to top and header is reset appropriately. Change-Id: I9ba7cf019cb23dd259356243dc2a6294ca5481fe