commit | 88c1cf67c6437e5e0f386b65b9e79605a111bd03 | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Tue May 31 13:36:40 2016 -0700 |
committer | Dake Gu <dake@google.com> | Wed Jun 08 14:36:01 2016 -0700 |
tree | f2273e0bd8f7e6ea3000396d069c0ae859aba8dc | |
parent | a8f75dedeb1f8debfeb5ef18be2feeb3930b5570 [diff] |
GridLayoutManager: call focusableViewAvailable() inside layout pass Onboard fragment layouts VerticalGridView, then starts a transition. focusableViewAvailable() is called in a post runnable, causing a scroll animation run together with transition. Move focusableViewAvailable() call into layout pass, if framework focuses to the view, gridview will align to the view in layout pass, avoids extra scroll animation. Bug: 28274171 Change-Id: Id348746c4d93a23527e7e829801e0a63e4622d77