Commit Graph

32109 Commits

Author SHA1 Message Date
Adam Cohen e6cf55f40a Merge "Update drag and drop visualizations" into sc-dev am: 6adae06ed2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13663247

Change-Id: I01a466c52051edc7b3b1e36615dacf3f62d02137
2021-04-16 18:25:13 +00:00
Adam Cohen 6adae06ed2 Merge "Update drag and drop visualizations" into sc-dev 2021-04-16 18:06:54 +00:00
Sunny Goyal fb9905e706 Merge "Adding surface-release check for live-tiles" into sc-dev am: 4b162b1336
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14201429

Change-Id: I61683142de8ce7caa08d1e3c470241f769f8b43f
2021-04-16 17:37:22 +00:00
Sunny Goyal 4b162b1336 Merge "Adding surface-release check for live-tiles" into sc-dev 2021-04-16 17:10:43 +00:00
Alex Chau bf54c08fdd Merge "Handle page offset for grid overview" into sc-dev am: 84a1e40912
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14187223

Change-Id: Icf829b3ecc8544fa3a050c50d3c5ea10ce259140
2021-04-16 14:29:36 +00:00
Alex Chau 84a1e40912 Merge "Handle page offset for grid overview" into sc-dev 2021-04-16 14:09:33 +00:00
Steven Ng ef78bf9656 Merge "Fix app widget preview layout drag-n-drop & rendering" into sc-dev am: 681aa90325
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14199561

Change-Id: I0d15b68fdfb28625d4e8dcf00cc81efe8d2ccdf1
2021-04-16 12:44:20 +00:00
Steven Ng 681aa90325 Merge "Fix app widget preview layout drag-n-drop & rendering" into sc-dev 2021-04-16 12:27:15 +00:00
Cyrus Boadway 1a837f26ae Merge "Use Quickstep ActivityOptions when launching activities from App Widgets" into sc-dev am: 42431d5217
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14187206

Change-Id: I70cde77e391628a1c4a2cd319f3cce5d2fdead36
2021-04-16 11:57:47 +00:00
Cyrus Boadway 42431d5217 Merge "Use Quickstep ActivityOptions when launching activities from App Widgets" into sc-dev 2021-04-16 11:53:35 +00:00
Alex Chau 9594c6987f Handle page offset for grid overview
- Use TaskView's actual position with grid/fullscreen translation considered for taskPosition calculation
- Shift taskPosition by midpoint scroll, and no longer assumes midpoint is on middle of the screen
- Handle situation that TaskView is on left/right of midpoint, making the calculation generic to be able to handle grid situation

Bug: 175939487
Test: Launch modal view with wide/, RTL/non-RTL, orientation/simulated landscape combinations
Change-Id: Idd0cc9c5e24f453d830e1420319a38d3d784270d
2021-04-16 12:25:49 +01:00
Cyrus Boadway 0d309db47e Use Quickstep ActivityOptions when launching activities from App Widgets
Set a Quickstep specific InteractionHandler on QuickstepLauncher's
AppWidgetHost, which provides QuickstepTransitionManager-generated
ActivityOptions when starting activities from app widget interactions.

Bug: 169042867
Test: manual
Topic: quickstep-widget-app-launch
Change-Id: I231122b09aede940c047f19a5b5d1e7c562f6d3f
2021-04-16 09:42:46 +00:00
Steven Ng f089f741ad Fix app widget preview layout drag-n-drop & rendering
1. Before this CL, preview layouts are not rendered in both the
   BottomWidgetSheet and SearchPopupSheet because the preview
   width & height are not set correctly.
2. Also applies the right padding to preview layouts.

Bug: 185374336
Test: Drag-n-drop preview layout from the full widgets picker,
      the bottom widgets picker and the search widgets picker.

Change-Id: I2b6303bfe4eb86a4935a5569f6107e9d46448902
2021-04-16 10:41:33 +01:00
TreeHugger Robot 6dc31304e8 Merge "[Overview Sharing] Add logging events for overview sharing." into sc-dev am: def4ff1570
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14201348

Change-Id: Id6f79f8d076c30acc4f020522203c2adbdf6fa69
2021-04-16 04:09:14 +00:00
TreeHugger Robot def4ff1570 Merge "[Overview Sharing] Add logging events for overview sharing." into sc-dev 2021-04-16 03:47:14 +00:00
TreeHugger Robot b4a6981910 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f5d8851b56 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14201431

Change-Id: I775c2bb635aefa30f116e4db5983b88422efd3aa
2021-04-16 01:07:09 +00:00
TreeHugger Robot f5d8851b56 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 00:56:38 +00:00
Bill Yi 80414dfe16 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a1817425d3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14201430

Change-Id: I6f8cd086358490c2057b5f76260498ecdf67be7c
2021-04-16 00:53:46 +00:00
Bill Yi 0cfa744c8a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I063d8e9209e92bd5941af2597c180923e759252c
2021-04-15 20:40:19 +00:00
Bill Yi a1817425d3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I601faa07c1a2ff65abe3fe14f9aef89b553c12b2
2021-04-15 20:39:39 +00:00
Sunny Goyal eb104ad9fe Adding surface-release check for live-tiles
Bug: 181615944
Test: Will wait for newer more bugreports
Change-Id: If82efbfa738ceb9890a9994607b13fd2bde096c4
2021-04-15 12:58:40 -07:00
Adam Cohen f7ca3b4e3f Update drag and drop visualizations
=> Remove the bitmap-based icon outline
=> Add simple cell based location preview of drop location
=> Round corners of page outlines
=> Get rid of page background for focused page
=> Update colors to use system accent color

Bug: 185163323

Test: manual

Change-Id: Id604c59201536967e25236f305eeeb0aafc9c022
2021-04-15 12:45:24 -07:00
Alex Chau 85c88d4be9 Merge "Handle swipe up after quick switch in overview grid" into sc-dev am: d2ec22c3f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14130325

Change-Id: If09bb39ad0aa4e0b16149ee11834c07e0732e46b
2021-04-15 19:22:46 +00:00
Becky Qiu 27e6c78fee [Overview Sharing] Add logging events for overview sharing.
Event IDs were generated by command line on my workstation using uieventscli.
Manually added events to StatsLogManager. Will be used in Overview events.

Bug: 179831990
Test: will test in overview when add to code implementation.
Change-Id: If6ad7f42c899b78b53fb4a54d33a6c8df264dff2
2021-04-15 11:58:04 -07:00
Alex Chau d2ec22c3f6 Merge "Handle swipe up after quick switch in overview grid" into sc-dev 2021-04-15 18:50:14 +00:00
Jon Spivack e43ef90468 Merge "Go Launcher: Update Overview Actions buttons" into sc-dev am: 6460e678a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14192887

Change-Id: I827af2409791520eeff7f46b90857d7177a3bc32
2021-04-15 18:16:02 +00:00
Jon Spivack 6460e678a9 Merge "Go Launcher: Update Overview Actions buttons" into sc-dev 2021-04-15 18:04:37 +00:00
TreeHugger Robot 7c86c2cfa3 Merge "Fix regression where StaggeredWorkspaceAnim didn't respect animateScrim" into sc-dev am: c874ccc163
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14189989

Change-Id: If2267faa93428527ea68e902c16af6f19ebfc25b
2021-04-15 17:54:28 +00:00
TreeHugger Robot 05be7a377f Merge "Add logs to verify receiver is unregistered" into sc-dev am: 0ad2caeaf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14192066

Change-Id: I6844aa584794e4211c237d2bfa97bf18fa7ac81a
2021-04-15 17:53:32 +00:00
TreeHugger Robot c874ccc163 Merge "Fix regression where StaggeredWorkspaceAnim didn't respect animateScrim" into sc-dev 2021-04-15 17:39:01 +00:00
TreeHugger Robot 0ad2caeaf9 Merge "Add logs to verify receiver is unregistered" into sc-dev 2021-04-15 17:22:15 +00:00
Alex Chau f4cf80ea73 Handle swipe up after quick switch in overview grid
- If swipe up after task launches, move the task to be the first and focused it
- If swipe up before task launches, make sure the task can be sanpped to by moving ClearAllButton further away
- Before snapping to page on swipe up, make sure scroll calculation is up to date and consider the target gesture state
- Removed home task special casing in fallback recents, as the snapped page logic handles invariant scroll generically
- Invoke reset when launching home in fallback recents

Bug: 175939487
Fixes: 184262404
Fixes: 185468049
Test: Manual
Change-Id: I5a6c581f15cd62748cfe6c77342d959f4dd1bfaf
2021-04-15 18:13:50 +01:00
Winson Chung 8d8383ab40 Add logs to verify receiver is unregistered
Bug: 185385047
Test: Adding logs
Change-Id: I0ab5a819902bfa4e836f59e854c53f70c4ca877b
2021-04-14 23:53:20 -07:00
Vinit Nayak b2cbfc98d1 Merge "Revert "Make RotationTouchHelper singleton to report single rotation state"" into sc-dev am: 0a19747cae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14192651

Change-Id: Id98ab150d0f26bad82673ee22144489a5a10588b
2021-04-15 06:31:00 +00:00
Vinit Nayak 0a19747cae Merge "Revert "Make RotationTouchHelper singleton to report single rotation state"" into sc-dev 2021-04-15 05:38:18 +00:00
Vinit Nayak 08f3d4d675 Revert "Make RotationTouchHelper singleton to report single rotation state"
This reverts commit d8ad6b25f4.

Reason for revert: b/185382799, b/185383656

Change-Id: Ie500fd5c4f2937df56fbd8afe5556f1a71b90d87
2021-04-15 01:50:02 +00:00
Jon Spivack 23a76dae18 Go Launcher: Update Overview Actions buttons
This updates the layout of the overview buttons to better match more recent UX mocks. It also restores the buttons' captions, which had gone missing.

Bug: 183448909
Test: Manual (verified on Wembley and Sargo)
Change-Id: I931df92cd0d255289168694d4a950649eec7da75
2021-04-14 18:46:32 -07:00
TreeHugger Robot 97faaa9eab [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 24545fdb1e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14191053

Change-Id: I8462c54aee494e53fb1f58f0050cbfba2d4aef6b
2021-04-15 01:46:03 +00:00
TreeHugger Robot 1dce7caa6c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3d819a9d19 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14191054

Change-Id: I95bffd5b3aea8cbdd17cc957a674c0bc00873d8d
2021-04-15 01:45:40 +00:00
TreeHugger Robot 24545fdb1e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-15 00:57:46 +00:00
TreeHugger Robot 3d819a9d19 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-15 00:52:16 +00:00
Bill Yi 83e481e56b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5bed8e41dee73591239d1685237ec70a2df5e08c
2021-04-14 23:32:26 +00:00
Bill Yi 1e8bf03140 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0987416705613c144daee763376970859601484c
2021-04-14 23:32:04 +00:00
Tony Wickham 01320be908 Fix regression where StaggeredWorkspaceAnim didn't respect animateScrim
Before, this happened to work because we skipped setting the scrim when
doing an atomic animation, but the atomic animation code has been
removed. Add an explicit SKIP_SCRIM config flag instead.

Test: swipe up from overview to home, ensure scrim animates nicely

Bug: 185411781
Change-Id: I7bc14a11d9d416cc7336ea29d21107dcdbdbf782
2021-04-14 14:54:44 -07:00
TreeHugger Robot 2a7bea4483 Merge "Add logs to help debug TwoButtonNavBarTouchController" into sc-dev am: 9a7281c51e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13732342

Change-Id: I401b0aafcb2ac386ab0931912243ac7b78084e9b
2021-04-14 19:53:59 +00:00
Samuel Fufa 9f0de7ca4c Merge "[Search] Update specs per UX" into sc-dev am: 99c6927dbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14108332

Change-Id: Id42238ea389b5758d4ca0adef8339936a6560483
2021-04-14 19:53:17 +00:00
TreeHugger Robot 9a7281c51e Merge "Add logs to help debug TwoButtonNavBarTouchController" into sc-dev 2021-04-14 19:40:54 +00:00
Samuel Fufa 99c6927dbb Merge "[Search] Update specs per UX" into sc-dev 2021-04-14 19:05:45 +00:00
Steven Ng 70eb9e3359 Merge "Fix drag-n-drop from the pin widget flow" into sc-dev am: 63365cf034
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14167730

Change-Id: I5fc38ba1b8e3394b3b2d644ba0c3a767f2454977
2021-04-14 09:23:38 +00:00
Steven Ng 63365cf034 Merge "Fix drag-n-drop from the pin widget flow" into sc-dev 2021-04-14 08:47:06 +00:00