diff options
author | Jorim Jaggi <jjaggi@google.com> | 2016-01-07 17:39:12 +0100 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2016-01-15 14:31:08 -0800 |
commit | 4846ee3cc378001128680f2a3309c7e60bfcac75 (patch) | |
tree | fd9ebd6481e953e864814f1f18b91d6ac1b7f1d1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8a47292e1c853f9b0d2f1436df84a7db365ced23 (diff) |
Optimize window relayouts when dragging divider
- Communicate the resize mode to ViewRootImpl. If it is a docked
divider resize, do not call relayout for every traversal.
- Do not call Task.resizeWindows() unconditionally when changing
Stack bounds. It might be just a move.
- However, not calling relayout breaks layout bounds while
relaunching. To fix that, do the following:
-- Inform ViewRootImpl that the activity just relaunched, and force
a relayout call in the next traversal so the client can pick up
the unfrozen bounds.
-- When unfreezing the bounds, cause a traversal in window manager.
Bug: 25015474
Change-Id: Iab9a445dabce4f6ec1e25957038fe40a4be65246
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions