Commit Graph

45949 Commits

Author SHA1 Message Date
Tony Wickham 4fda59a0cc No longer stash taskbar when swiping up all apps
Instead, scale down hotseat behind all apps alongside workspace.

Test: Swipe up to all apps from home; all apps button in an app works as before
Fixes: 221094533
Change-Id: Ia6f1e7bac86849018dc8d0b1d95f0bab963835a8
2022-02-23 22:04:35 +00:00
TreeHugger Robot c089baa668 Merge "Remove Taskbar and Taskbar EDU flags." into tm-dev 2022-02-23 20:10:02 +00:00
Alex Chau d8f81e9bf4 Merge changes from topic "allapps_bottomsheet_motion" into tm-dev
* changes:
  Tune AllApps bottom sheet VisD and motion
  Put taskbar all apps in separate overlay window and stash taskbar.
2022-02-23 19:11:51 +00:00
Vinit Nayak 58c27cce73 Remove Taskbar and Taskbar EDU flags.
Bug: 219035565
Change-Id: I643b5d006b5759723418901ffeb463fa04a82cbc
(cherry picked from commit ec4adc1d5a)
2022-02-23 18:14:28 +00:00
Thales Lima bfb275bf21 Merge "Create new logic for grid migration" into tm-dev 2022-02-23 18:07:06 +00:00
Alex Chau b8c22e1155 Tune AllApps bottom sheet VisD and motion
- Make AllApps bottom sheet solid and appears from bottom
- Teleport AllApps bottom sheet as user drag to reduce drag range
  - Consider teleport interpolation for state transition sdetection
- Tuned workspace motions for AllApps bottom sheet (no translate, shrink)
- Add portrait vertical translate for tablet portrait including taskbar AllApps
- Updated bottom sheet handle and created common variables for other bottom sheets

Bug: 208599118
Test: manual on tablet AllApps, taskbar Allapps and handheld AllApps
Change-Id: I69dba5f155914cd012cc8ef3be1ef71fb2be5a40
2022-02-23 17:08:06 +00:00
Thales Lima 0a7ff8780f Create new logic for grid migration
Fixes 217564863
Test: manual, changing grids from Wallpaper & Style and checking against spec

Change-Id: I94cf77111b37810282527f1a212b6e4126d3eba1
2022-02-23 15:20:50 +00:00
Brian Isganitis a1370bfc5f Put taskbar all apps in separate overlay window and stash taskbar.
All apps should display below system UI components such as the
notification tray and power menu, so an overlay window is more
appropriate. As a result, all apps has a separate window activity
context, but some properties are delegated to the taskbar activity
context. Taskbar should also be stashed while all apps is open.

Change-Id: I593457708779d84a0ab8b949a966d247d0a2e1b7
Test: Manual
Bug: 216843189
Fix: 217383817
(cherry picked from commit 473b980bf9)
2022-02-23 15:06:56 +00:00
TreeHugger Robot 0f3b6511aa Merge "Fix Launcher icons not animated during unfold" into tm-dev 2022-02-23 14:03:39 +00:00
Alex Chau 82166fa6d8 Merge "Disable flakey fallback recents test" into tm-dev 2022-02-23 10:58:26 +00:00
Winson Chung 4c2e3310e6 Disable flakey fallback recents test
- Seems to be an existing failure in the recents animation not
  finishing, should disable to unblock folks

Bug: 218403080
Test: Presubmit
Change-Id: Ia42009666c67c29c1a78a2fe197bdce53dcb2ec8
2022-02-23 06:44:55 +00:00
TreeHugger Robot 49cb99a420 Merge "Fix jump in animation for hotseat while re-arranging icons" into tm-dev 2022-02-23 02:40:11 +00:00
Schneider Victor-tulias 2763365eb6 Fix icon loading null pointer.
Filtering out icon itemInfos with null component names when loading icons in bulk

Test: manual
Fixes: 220380324
Fixes: 220345439
Change-Id: I0e6f9ae0a363d17497207c92eadcac64ca42693f
(cherry picked from commit 5597e4825d)
2022-02-22 18:38:07 +00:00
TreeHugger Robot 66ac96cd63 Merge "Fix crash when loading string cache" into tm-dev 2022-02-22 17:29:08 +00:00
Nicolo' Mazzucato 5765d42ada Fix jump in animation for hotseat while re-arranging icons
While re-arranging icons the hotseat remains in scale 1.0f, while the workspace reduces it's scale (as defined by SpringLoadedState.java). Previously, the code to aggregate animations was assuming hotseat and workspace always had the same scale.

MultiScaleProperty.get() was being used to set the starting value of the animation. Previously, it was returning the last aggregated value. However, this value was correct only for the workspace, but not for the hotseat. Returning the current view scale makes it always correct.

Bug: 220271046
Test: Dragged icons from hotseat to workspace, and verified animation didn't jump
Change-Id: Ic01776c1d8e3967624626ed7c44d194a06295790
2022-02-22 18:27:26 +01:00
Nicolo' Mazzucato d4a5bb244a Fix Launcher icons not animated during unfold
If icons are re-bound during the animation, they were not moved. I was able to reproduce this case 100% of times by folding, restarting launcher and unfolding. From a perfetto trace it seems that in this case `finishBindingItems` was called after the animation already started, therefore not registering any view.

With this cl, items are animated also after they are rebound.

Bug: 197834977
Test: folded -> restarted launcher -> unfolded -> verified icons are now moving towards the center
Change-Id: I5b001c502860c17d6ea5d54d099f04b2ddf1820a
2022-02-22 13:48:35 +01:00
Jordan Demeulenaere 78ef3a5348 Enable back gesture when a SyUI dialog is showing (2/2)
Test: Manual
Bug: 210270549
Change-Id: I8fbf9a90287cbd8d9ddad354e24bbc4d074bd0ef
2022-02-22 11:09:03 +01:00
kholoud mohamed 9b38947b32 Fix crash when loading string cache
Crash was caused by a null context in ModelDelegate

Fixes: 218305827
Test: manual
Change-Id: I1b046e24427dbdc6752ac100f488c428838ac31f
2022-02-21 11:29:24 +00:00
Winson Chung e424f57dcb Merge "Allow split with an existing split task" into tm-dev 2022-02-18 21:07:58 +00:00
TreeHugger Robot 5fdbc89b27 Merge changes from topic "presubmit-am-a3e3a46016284fa6bec11af293474cfb" into sc-qpr1-dev am: ae4b713b2f am: 0fb7fa4e30 am: f9ef6e3b3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16939770

Change-Id: I2173be2c3868824ed97f4453a0736b1644c6ae91
2022-02-18 20:28:30 +00:00
Bill Yi dc4fd2363b [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 42320fef47 -s ours am: a4af3f6730 -s ours am: 6e50b9b331 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I568f86f44ed5b36af0b1a8d878a3877ef5a6dc39
2022-02-18 20:28:26 +00:00
TreeHugger Robot f9ef6e3b3c Merge changes from topic "presubmit-am-a3e3a46016284fa6bec11af293474cfb" into sc-qpr1-dev am: ae4b713b2f am: 0fb7fa4e30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16939770

Change-Id: Ia620f88c81b7b8bac48380c8826ab97b06918ed5
2022-02-18 20:03:55 +00:00
Bill Yi 6e50b9b331 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 42320fef47 -s ours am: a4af3f6730 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I605aa9c140a68df68dda359176006f9aef3eee2d
2022-02-18 20:03:53 +00:00
TreeHugger Robot 0fb7fa4e30 Merge changes from topic "presubmit-am-a3e3a46016284fa6bec11af293474cfb" into sc-qpr1-dev am: ae4b713b2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16939770

Change-Id: I2bf6582bd4fdbb647a3795a8e1311995a3e3f2e8
2022-02-18 19:42:33 +00:00
Bill Yi a4af3f6730 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 42320fef47 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If8754802299a1eaa1483e0b92adc1d99753d45dd
2022-02-18 19:42:32 +00:00
TreeHugger Robot ae4b713b2f Merge changes from topic "presubmit-am-a3e3a46016284fa6bec11af293474cfb" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c
  Import translations. DO NOT MERGE ANYWHERE
2022-02-18 19:13:51 +00:00
Bill Yi e7bcd579d4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 634ddc934f -s ours am: f1fb56fd9a -s ours am: a366112254 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4a02f53d56baee3210c1eccc8e96484e5a67b96c
2022-02-18 18:22:34 +00:00
Bill Yi a366112254 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 634ddc934f -s ours am: f1fb56fd9a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib63abd485ac98a54bd69c65cd7f97f80148dc75d
2022-02-18 18:00:38 +00:00
Winson Chung 3516ecc534 Allow split with an existing split task
- Determine the task in the group being clicked in split-select mode
  and launch split using that selected task
- Also make sure we don't handle drag cancel twice when we are animating
  the return of the drag surface

Bug: 219060441
Test: Split from home/overview with fullscreen+fullscreen task, and with
      fullscreen+split task

Change-Id: I48ec0a82812197803ff4b3698830a9cb705719e3
2022-02-18 17:49:59 +00:00
Bill Yi f1fb56fd9a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 634ddc934f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9fae140c49c790cb2af8e55bf6022df95252d0e7
2022-02-18 17:39:38 +00:00
TreeHugger Robot da7a268e7f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 129c510583 -s ours am: 85c63814dc -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id62e87a4b592445e91bc34dc45809db2cf5fe406
2022-02-18 17:13:21 +00:00
TreeHugger Robot 57cbc6d7b7 Merge changes from topic "presubmit-am-7647861324994509ba7d86b8c26dd400" into sc-v2-dev-plus-aosp am: 780a5e3a11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16939772

Change-Id: Ia72ce339f80959b445808305637bf20ffc2f5d7a
2022-02-18 17:13:14 +00:00
Bill Yi e3b977fa95 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 98fda41b31 am: 90db95d8e7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9ad21ee59f43b1b16875ae8096c63b20c5729687
2022-02-18 17:13:13 +00:00
TreeHugger Robot 85c63814dc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 129c510583 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2c8e49c36f6ec332d33ba0b6938409406a35ae98
2022-02-18 17:12:47 +00:00
TreeHugger Robot 129c510583 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-02-18 17:07:55 +00:00
TreeHugger Robot 780a5e3a11 Merge changes from topic "presubmit-am-7647861324994509ba7d86b8c26dd400" into sc-v2-dev-plus-aosp
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 98fda41b31
  Import translations. DO NOT MERGE ANYWHERE
2022-02-18 17:07:55 +00:00
Jon Miranda b67b56d76f [automerger skipped] Merge "Init FloatingIconView properties before fetching drawable. & Make sure properties are reset when recycled." into sc-v2-dev am: 90cac2cd9b -s ours am: 6f3f8252c2 -s ours
am skip reason: Merged-In Ifdbf3e733e27918c57a5e9b23e5a11b65f8f338c with SHA-1 35d294387c is already in history

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

Change-Id: I4460c587ac75231760382617175f132635d2a9e7
2022-02-18 17:04:21 +00:00
Presubmit Automerger Backend ff5e621397 [automerger skipped] [automerge] Init FloatingIconView properties before fetching drawable. 2p: 35d294387c am: 233f9fc731 -s ours
am skip reason: Merged-In Ifdbf3e733e27918c57a5e9b23e5a11b65f8f338c with SHA-1 b2670d2051 is already in history

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

Change-Id: I100075fa063d26f87316be5b41b237283ad81ad1
2022-02-18 17:04:16 +00:00
Jon Miranda 6f3f8252c2 [automerger skipped] Merge "Init FloatingIconView properties before fetching drawable. & Make sure properties are reset when recycled." into sc-v2-dev am: 90cac2cd9b -s ours
am skip reason: Merged-In Ifdbf3e733e27918c57a5e9b23e5a11b65f8f338c with SHA-1 35d294387c is already in history

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

Change-Id: I89f3df27c4571f78673b8ee89b848ae1051d312a
2022-02-18 17:01:29 +00:00
Jon Miranda 90cac2cd9b Merge "Init FloatingIconView properties before fetching drawable. & Make sure properties are reset when recycled." into sc-v2-dev 2022-02-18 16:39:04 +00:00
Bill Yi 90db95d8e7 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 98fda41b31
Blank merge reason: commit message contains skip directive

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

Change-Id: I954b8ac2dd7af307ac69b17f5d0d5750d5a362fc
2022-02-18 09:24:25 +00:00
Bill Yi 98fda41b31 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie685cf732f6d413b10232c12c0b2faea1469b723
2022-02-18 09:24:16 +00:00
Bill Yi 634ddc934f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a4cc201486cc623554b6169e59f00e31f17542a
2022-02-18 09:23:37 +00:00
Bill Yi 42320fef47 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c
Blank merge reason: commit message contains skip directive

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

Change-Id: I71673719797ca397b6a1ab9ece1f7ffb735c2521
2022-02-18 09:23:08 +00:00
Bill Yi a2ba15674c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I90d6a4aacc6b554740d489cc7e7689b632c9a2eb
2022-02-18 09:22:58 +00:00
TreeHugger Robot 49141ccf2e Merge "Revert "Clear all DragView in onSaveInstanceState"" 2022-02-17 20:45:46 +00:00
Tracy Zhou a2215455da Merge "Correct order of split action buttons" 2022-02-17 19:13:26 +00:00
Thales Lima 73087f4b2c Merge "Stop using bottom inset in preview" 2022-02-17 15:28:09 +00:00
Thales Lima 83b345338b Stop using bottom inset in preview
We are not using the bottom inset (navbar) in Launcher anymore, so we should not use it in preview as well.

Fixes 205284107
Test: manual

Change-Id: Iefd71b3cbe8e738c4559716af8c85015ba7c3c41
2022-02-17 13:35:41 +00:00
Tracy Zhou 0551313a9b Correct order of split action buttons
Fixes: 219988163
Fixes: 217965089
Test: https://screenshot.googleplex.com/8LNMBeEQhMVnDSm
Change-Id: I760c0b8085069181d9a1cdc582ac7d58a08f4724
2022-02-17 00:14:50 -08:00