OSDN Git Service

Give disappearing children a chance to recreate DisplayLists
authorChet Haase <chet@google.com>
Fri, 1 Aug 2014 20:32:27 +0000 (13:32 -0700)
committerChet Haase <chet@google.com>
Mon, 4 Aug 2014 18:56:21 +0000 (18:56 +0000)
commit6c0665fd0f7717dc3301b0612860a5007d4ba2f3
tree8f98f3566ee3710a8d4e887c384b582f680708f4
parentf6b0c2f31b5ff08358f23cd30a743a741f345a1b
Give disappearing children a chance to recreate DisplayLists

Views which are on the secondary "disappearingChildren" list in a
ViewGroup can be displayed and animated, but are unable to properly
update their underlying DisplayLists. This change processes these
children the same as other children in a ViewGroup, enabling changes
in those children to be reflected in their DisplayLists.

Issue #11551606 disappearing views don't invalidate/redraw correctly

Change-Id: I8d016ada7b73f6a5e74c2f21c979c0b6f84703b1
core/java/android/view/ViewGroup.java