app list: Start translating background shiled up at kHalf height
During app list drag, the app list background shield is gradually translated up so it ends up with rounded corners above the display in the full screen state. The translation is currently applied during drag between peeking and fullscreen state. Given that kHalf state (i.e. extended peeking state for search results UI) is above peeking state, starting drag from kHalf state would immediately apply non-identity transform on the background shield, causing the app list view to jump up. This CL changes the starting height at which the background shield starts getting translated up at the larger, kHalf height, thus avoiding the background shield jump when drag starts. BUG=None Change-Id: I47ea834f87cfd2836058a91954a7aad5bda36a8a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824077 Commit-Queue: Toni Baržić <tbarzic@chromium.org> Reviewed-by:Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#699646}
Showing
Please register or sign in to comment