Commit Graph

49925 Commits

Author SHA1 Message Date
Stefan Andonian 52eaebead4 Merge "Close open folders when pausing launcher." into tm-dev 2022-04-07 18:53:45 +00:00
TreeHugger Robot 44f9f67696 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 18:51:23 +00:00
Sunny Goyal c327e6bad4 Fixing spring animation for fallback launcher activity
Bug: 228260232
Test: Verified on device
Change-Id: I7b630fd6936b49214cffd01981e75aeb6b3b5d24
2022-04-07 18:49:41 +00:00
TreeHugger Robot c57b996389 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 59c76accc5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaf47aa2146c1862f38e1fdbc60c01addb56db9fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 18:34:28 +00:00
Bill Yi c6ccb6bc73 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1f41a759bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8a1f5e43b81f271ad9c57808cced794e14b336ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 18:34:27 +00:00
TreeHugger Robot a1a1a411ac [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 668dc5791b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4dfe941b4365a997430b477a1b7c4a4520cd2135
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 18:34:10 +00:00
Bill Yi 5bc8e11cc4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 040f680e88 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6339fab35ad20122188f503feba9650c838c9265
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 18:34:09 +00:00
TreeHugger Robot 59c76accc5 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-04-07 18:17:39 +00:00
TreeHugger Robot 668dc5791b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-04-07 18:16:02 +00:00
Sebastian Franco dfa88d55f5 Make the widget option on the PopupContainer full width
The width of the PopupContainer grows if there are multiple
SystemShortcuts and we where not updating the width of all the
options.

Fix: 227538975
Test: Long press an app like Google Maps on the HomeScreen to see
the menu. All the options should have the same width.

Change-Id: I25310d74aa1af17be37b53c27d2334f86bef325a
2022-04-07 10:00:30 -07:00
Luca Zuccarini a5e95419f5 [Toast] Polish the layout of the QSB, tabs and header protection.
Specs and screenshot in the bug.

Fixes: b/227902759
Test: manual
Change-Id: Ia713c923a71207cfaab7068f20c8606d816f8b43
2022-04-07 16:53:53 +00:00
Sebastian Franco d2d8e97a65 Make the text for the drop target buttons fit if it's too long.
The text "Don't suggest app" is too long when the device language
is GE or JA, or if you make the text bigger in settings.

Before truncating the text completely we are going to try to make
the text smaller until it gets to a predefined value
(button_drop_target_min_text_size).

Test: Change the language to German (Deutch) and install a new app and drag it to the workspace to see the button "App nicht vorschlagen"
Test: Also, a nice way to test is to go to SecondaryDropTarget#setupUi and hardcode the option to always show "Don't suggest app"
Fix: 221480721
Change-Id: I99def4e23cd17109a297aecaa620cef7a0d137e7
2022-04-07 16:39:29 +00:00
TreeHugger Robot c2b24260cd Merge "Making tablet grid scalable and tuning size" into tm-dev am: b9879a0b85 am: ce98770080
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607211

Change-Id: I11ec8e86aff1499e49ade120b334c2845339f1dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 16:33:48 +00:00
TreeHugger Robot ce98770080 Merge "Making tablet grid scalable and tuning size" into tm-dev am: b9879a0b85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607211

Change-Id: I6cd55a644511e24f64377c5cc05e2d3844fc95db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 16:04:34 +00:00
TreeHugger Robot b9879a0b85 Merge "Making tablet grid scalable and tuning size" into tm-dev 2022-04-07 15:43:40 +00:00
Jason Chang bc4c268562 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399 am: 502064f0e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735

Change-Id: I3786ca78c4e26054c901eca0c3e7fb5f3898ec94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:22:42 +00:00
TreeHugger Robot 1d2e0c2c57 Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev am: 833c210550 am: 4ff0442442
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Idfb67b884a988a063eb70c10fe3d27ab72ce9a26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:22:25 +00:00
Jason Chang 502064f0e3 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735

Change-Id: I98db96d6f5e24b192153787ddd8bf83efe968046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:00:59 +00:00
TreeHugger Robot 4ff0442442 Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev am: 833c210550
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Ibfe8cf7b43258c082c7a0cfd3f5a82f1130efabe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:00:52 +00:00
Jason Chang 4d3995b399 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev 2022-04-07 13:58:52 +00:00
TreeHugger Robot 833c210550 Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev 2022-04-07 13:44:14 +00:00
TreeHugger Robot dac0975eb9 Merge "Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."" into tm-dev am: 0bf61a64f6 am: c9e836348e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: I3c9da12fa9e09e8a09f7b523f4df3779334fac18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 12:01:41 +00:00
TreeHugger Robot c9e836348e Merge "Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."" into tm-dev am: 0bf61a64f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: Ie6d9fcdb457b1acefde38316e6dc5146e475e5aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 11:37:28 +00:00
Thales Lima c0481524da Making tablet grid scalable and tuning size
Bug: 227344807
Test: manual and HSV
Change-Id: I078d19905947eb924de8b6ed9067b70a32674bfa
2022-04-07 11:21:48 +00:00
TreeHugger Robot 0bf61a64f6 Merge "Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."" into tm-dev 2022-04-07 11:12:50 +00:00
Alex Chau 44188cacb5 Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev am: 9e9dd8fa43 am: 0002dbb605
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Change-Id: Ia1331bffc86b3756fdfb815d9688cf7c471a215b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:53:10 +00:00
Alex Chau 0002dbb605 Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev am: 9e9dd8fa43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Change-Id: I0ce529f0d565f5fee2563f384876a52b55cacdee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:32:33 +00:00
Alex Chau 9e9dd8fa43 Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev 2022-04-07 09:50:04 +00:00
TreeHugger Robot 533833304a Merge "Adding finish signal to GestureNavContract." into tm-dev am: e633cca3bc am: 610df3623c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Change-Id: If6026fa6e90fa2b8c2991645bd4c4cdbe40a3093
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 04:16:47 +00:00
TreeHugger Robot 610df3623c Merge "Adding finish signal to GestureNavContract." into tm-dev am: e633cca3bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Change-Id: Iba26c5db2da7c3c0a5c70ce66ad92040fafc825c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:54:50 +00:00
TreeHugger Robot e633cca3bc Merge "Adding finish signal to GestureNavContract." into tm-dev 2022-04-07 03:24:01 +00:00
Thiru Ramasamy 367f4a7568 Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev am: aa49200100 am: 101f0f8c32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Change-Id: Icc21aa0963a1773fb3724cba59657f5efcb50bc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:03:31 +00:00
Thiru Ramasamy 101f0f8c32 Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev am: aa49200100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Change-Id: Ib2a243b2e9e59b8330997ce896555675c185c107
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:33:42 +00:00
Thiru Ramasamy aa49200100 Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev 2022-04-07 01:07:28 +00:00
Anushree Ganjam fa144b055f Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST am: 45f221621e am: 9c32d3ecd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Change-Id: Id19c1c6660889f64a5cd8e08af3f3fb1f0bf6cb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:40:08 +00:00
Anushree Ganjam 9c32d3ecd5 Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST am: 45f221621e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Change-Id: Icb3e16a04efc1ded930dfe1604312ac1eb6d2bf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:16:34 +00:00
Sebastian Franco dac0769af1 Removing line submited by mistake.
Fix: 228327426
Test: Click the Notification dots
Change-Id: I3712e07eee5d4e5194b86de4fa1d45e1ef511dae
2022-04-06 15:25:34 -07:00
Anushree Ganjam 45f221621e Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST
Bug: 220922858
Test: Manual.

Change-Id: I5a52872a3bf75109b95e9853883825e32a623a1d
2022-04-06 22:18:14 +00:00
Stefan Andonian 253c23b2e8 Close open folders when pausing launcher.
Previously, folders wouldn't close after launching an app and quickly navigating back the launcher.
This is because the onStop state which contains a call to AbstractFloatingView.closeViews() wasn't being called.
This change adds an additional call to specifically close any open folders when the Launcher enters a paused state.

Bug: 227142635
Test: Verified that the issue is fixed after code change.
I logged the Launcher's lifecycle state to ensure my manual testing was reliable.

Change-Id: I838f992f83afdd754672ebbe85d0eb2a7e894417
2022-04-06 21:47:35 +00:00
Thiru Ramasamy d66f433cde Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event.
Test: Manual - wwdebug && wwlogcat - http://gpaste/5690465669087232
Bug: 210792253
Change-Id: Ibe0c762a9e40e1af85a4d18051ba2a74e9f6106a
2022-04-06 14:32:34 -07:00
Schneider Victor-tulias 1823bdba6e Add logging to debug incorrect taskbar states caught by flaky tests.
- Various TAPL tasts are flaking because the taskbar is present when navigating home. Several TAPL taskbar tests are also flaking because the taskbar is missing when opening an app. Adding logging to catch when FLAG_IN_APP is being set and why it isn't being applied.

Bug: 227657604
Bug: 225205246
Test: manual
Change-Id: Ia976bb0a6c7764e571fab3ac98ee21ff22ef7674
2022-04-06 14:26:47 -07:00
Brandon Dayauon fe977c4ac3 Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd am: 0b097fd1d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: I1efc4242e3296691d4332fa8fff71ca44f4ed051
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:19:00 +00:00
Brandon Dayauon 0b097fd1d3 Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: I5cd9bcdab1af099e116b999258594107661ab641
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:02:28 +00:00
Sunny Goyal 5c20fdd73f Adding finish signal to GestureNavContract.
Also fixing also-closing behavior for FloatingSurfaceView for Android S

Bug: 228260232
Test: Verified manually on device
Change-Id: I83f6417a756c1459533294d681e83abba6ea58aa
2022-04-06 13:42:59 -07:00
Brandon Dayauon e3589debfd Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev 2022-04-06 20:41:24 +00:00
Alex Chau e0227551cf Clone mInsets when copying DeviceProfile to taskbar
- Set mInsets with windowBounds.insets when initialized, and set windowBounds.insets when cloning DeviceProfile
- Added more bottom sheet / all apps in DeviceProfile dump
- Also dump taskbar's device profile in dumpsys

Fix: 226968237
Test: Taskbar AllApps should have correct top padding
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: I7739c699fb16544b92dc820354a643f745694c25
2022-04-06 19:44:43 +01:00
Josh Tsuji feb31ca567 Add the staggered ring appear animation!
Bug: 197636896
Test: a lot of unlocking
Change-Id: I9a713ac12eae5128d409166110cece0b86d89ae4
2022-04-06 14:26:50 -04:00
Stefan Andonian c0ee52102b Show an 'Undo' snackbar when users dismiss a predicted hotseat item. am: 510a818521 am: 1364e90d0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Change-Id: Ibb767776f9b367e4af7d1d0678022d28f046135a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 18:11:55 +00:00
Stefan Andonian 1364e90d0d Show an 'Undo' snackbar when users dismiss a predicted hotseat item. am: 510a818521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Change-Id: I2f3b7b8e778ace8d280f2d4982416d2677d36968
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 17:50:50 +00:00
Jon Miranda 27f9559203 Revert "Revert "Sync hotseat/taskbar handoff""
This reverts commit efca5c8655.

Reason for revert: ANR no longer happening

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I03bfe8642ef4ed0f9e8fbd543141d39c66375604
2022-04-06 17:29:09 +00:00