commit | fbb93fa2f3abf8b50ea945a319c0a190f2aae213 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Dec 03 18:50:35 2012 -0800 |
committer | Romain Guy <romainguy@google.com> | Mon Dec 03 18:51:57 2012 -0800 |
tree | cba2812c7389161db916a753ebf5ade5ac2d4ce4 | |
parent | 3614394c85da011c2899f2a8877573186707e7e4 [diff] |
Optimize onAttachedTo/onDetachedFromWindow Apps detaching/attaching large subtrees would waste a few milliseconds dealing with dirty display lists. This change removes the need to do ArrayList.remove() on every detachedFromWindow(). Change-Id: Icee72516c40d48ff0fd9d6f3128589f99bf61428