Log Message: |
Transferred from the Adobe Open Source Subversion Repository
Revision: 19816
Author: rfrishbe@adobe.com
Date: 2011-01-20T00:06:35.709500Z
Log Message:
-----------
Cleaning up how virtualization works. Getting rid of an extra validateNow() and a setLayoutBoundsSize(0,0) call. Now when grabbing a virtual item renderer, we just "bring it up to speed" in that we are in the middle of an updateDisplayList() pass, so we force it to validateProperties() and validateSize(). It'll just validateDisplayList() naturally as part of the natural LayoutManager pass that it's already in the middle of.
The main performance boost comes from removing the setLayoutBoundsSize(0,0) call, which was already made in the justify layout case, so we shouldn't see a huge difference in Mobile performance; however, we should see a performance boost for scrolling virtual lists in general because of this.
QE notes: -
Doc notes:
Bugs: SDK-29057
Reviewer: Evtim, Hans
Tests run: checkintests, full mustella cyclone (tho I did make one minor change afterwards in DataGroup)
Is noteworthy for integration: No
Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
|