[GridNG] Auto placement for sparsely placed items.
This change brings the placement algorithm out of NGGridLayoutAlgorithm and into NGGridAutoPlacement. NGGridAutoPlacement exists only to encapsulate the placement logic, and has a short lifetime on the stack. NGGridAutoPlacement will resolve each GridItemData's position and will ensure track coverage for that position. Currently Auto Placement is implemented only for sparsely packed grids. Bug: 1045599 Change-Id: I5e1889ad5b4ea12cf3526736f71ffc512ae05bb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404110 Commit-Queue: Jacques Newman <janewman@microsoft.com> Reviewed-by:Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#810793}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment