summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <winsonc@google.com>2016-01-22 15:53:00 -0800
committerWinson <winsonc@google.com>2016-01-23 16:07:24 -0800
commit3c107166fc1f719f3b94a706fdf52a23b1820761 (patch)
tree65c768279b0f37e75400c47dbacb3c3a95efea14 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1c8461402bd25912b61c166552cd60be4b7089d9 (diff)
Fixing layout issue causing overlay to sometimes not appear.
- We were incorrectly making calls that could request layout after the view was detached from the parent, causing a messed up layout-invalidation hierarchy path. Now ensuring that we always reset the view before detaching, and after attaching. As a result of this, we need to ensure that the same optimization as before applies, which is that children of TaskView don’t affect the relayout of TaskView. We do so by making TaskView a subclass of FixedSizeFrameLayout which only takes layout updates uni-directionally down the view hierarchy. - This CL also fixes an issue with missing task bar buttons due to an optimization which did not update the visibility and translation of buttons if a view is laid out after the task view size has changed. - Removing double measurement of TaskView sub-children - Removing unnecessary invalidate after marking the thumbnail as invisible Change-Id: If8a330733941add1f4214af792227345d6a26309
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions