splitview: Animate the snapping after dragging the split view divider.
I am implementing the "Divider snapping" animation specified here: https://mccanny.users.x20web.corp.google.com/www/splitscreen-motion/index.html#project-resizing Notice that the window bounds update continuously with the snap animation. That is what makes it so much more complicated to implement than the "Divider selection" part and the "Divider deselection" part. Test: ash_unittests SplitViewOverviewSessionTest.SplitViewOverviewBothActiveTest Test: ash_unittests SplitViewOverviewSessionTest.DragDividerToExitTest Test: ash_unittests SplitViewOverviewSessionTest.SnappedWindowBoundsTest Test: ash_unittests SplitViewOverviewSessionTest.OverviewHasMinimumBoundsWhenDividerDragged Test: ash_unittests SplitViewControllerTest.SplitDividerWindowBounds Test: ash_unittests SplitViewControllerTest.InternalDisplayConfigurationChange* Test: ash_unittests SplitViewControllerTest.SwapWindows Test: ash_unittests SplitViewControllerTest.DoubleTapDivider Test: ash_unittests SplitViewControllerTest.DragAndDouble*Divider Test: ash_unittests SplitViewControllerTest.SnapWindowDuringDividerSnapAnimation Test: ash_unittests SplitViewControllerTest.StartDraggingDividerDuringSnapAnimation Test: ash_unittests SplitViewControllerTest.DividerPositionOnResizingSnappedWindowWithMinimumSizeTest Test: ash_unittests SplitViewControllerTest.EndSplitViewDuringDividerSnapAnimation Bug: 884930 Change-Id: I2494998606a340d75a87bf96fb5f83d38c751bb3 Reviewed-on: https://chromium-review.googlesource.com/c/1480869Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Commit-Queue: Avery Musbach <amusbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#636145}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment