Commit Graph

49925 Commits

Author SHA1 Message Date
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 d0ef27b70c 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: I5d0559af2c8d63d31c6226f57f7c73832babb3fc
2021-04-16 12:19:31 +00:00
Cyrus Boadway 85377a5402 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: Ic420a0956e37927229d22c64d4c517666e074f45
2021-04-16 11:59:16 +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 90ad717aa4 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: I656c309f109f0923bdee63192d968799ca188a82
2021-04-16 04:10:55 +00: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 1f7f9e36d1 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: I514ffafc8bd2d278de2a0280b65634b8c6878c1a
2021-04-16 04:09:00 +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
android-build-team Robot 6308a314db Snap for 7286185 from 0a19747cae to sc-v2-release
Change-Id: I2591b7c9666c1baccf2f1e43162cc99b58cc20e5
2021-04-16 01:08:31 +00:00
android-build-team Robot 8f4fdfb3a3 Snap for 7286185 from 0a19747cae to sc-release
Change-Id: I8ce1f077abcba0e464cea7328b33aff6dadf0935
2021-04-16 01:08:16 +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 82618a5eec [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: Ic8d6ae07a62daa104a65aab2c4058f2be606b9b4
2021-04-16 01:06:29 +00:00
TreeHugger Robot e643ccf916 [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: I94a521cd06ea97a1ec6eaf1dd231af2fb1057223
2021-04-16 00:58:35 +00:00
Bill Yi 49b5cf1b7a [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: If60eafeab926749e9b1ae58dd9478b48ba8b99e7
2021-04-16 00:57:37 +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 8256fd894b [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: I753f86627e9e8796e7ac849658d601952995b64f
2021-04-16 00:53:18 +00:00
Sunny Goyal 9f2acdd552 Unifying icon loading methods
Bug: 183641907
Test: Presubmit
Change-Id: I255e81a128635910b531b3d00f707fa352050f2e
2021-04-15 16:48:04 -07: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 7bf9fd2bc8 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: I7d90df479174f7bc182a109112d6bae4f7bed654
2021-04-15 19:27:25 +00: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
Alex Chau 42f9dbaa43 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: I5d6959a821bc69c30e90ce18a332fa645d4c6c10
2021-04-15 19:21:14 +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 cceef3db64 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: I89b42d813b76ca643b29fab43712ca314339cffd
2021-04-15 18:37:12 +00:00
Jon Spivack 5c3a8eca81 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: Iefb666b88d12c0d69744f5e281067220a81769a3
2021-04-15 18:22:04 +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 eb59bf11f4 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: Idef2d9ed9701917ad6994b345ba3073cc146ba36
2021-04-15 17:59:13 +00:00
TreeHugger Robot 1deb88be84 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: I7f91bcf38827107dcf6f0ac5afb393285708ef18
2021-04-15 17:58:54 +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 a82a21797b 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: I336a75b6419d75470e1899771ec9bad5d626c46f
2021-04-15 17:53:58 +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 b05750a5b0 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: I6e8127c33b26d2e8ce71e1d41c61b1718e065a56
2021-04-15 17:52:52 +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 0f035593e8 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: I3f4ccfd3217d82259770a96241fb57e8d5d06eeb
2021-04-15 06:37:41 +00:00
Vinit Nayak 1150a84d03 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: I07fee6ca7036a321dcb3ee6f1d49434cb7ce2d5f
2021-04-15 06:31:21 +00: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
TreeHugger Robot bdbb17be05 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-04-15 02:27:23 +00:00