Commit Graph

34630 Commits

Author SHA1 Message Date
Thales Lima 03f0c67420 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev 2021-07-14 09:54:10 +00:00
Yogisha Dixit b9a1ac47b8 Remove press home command from AddConfigWidgetTest.
Context: b/192406323#comment4

Bug: 192406323
Test: AddConfigWidgetTest
Change-Id: I2741358de93f75ef7ed73ee97964020162542756
2021-07-14 10:38:31 +01:00
TreeHugger Robot 7c50c2fa2a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 9c8bcfcdef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4b2fe574270141b2273d91d33a7fe95fb66e26c0
2021-07-14 06:04:59 +00:00
TreeHugger Robot ab465d33a8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 6ab2ccdf1d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia03b276c6f87556dd635401b01679d10561cf5df
2021-07-14 06:04:49 +00:00
TreeHugger Robot 9c8bcfcdef Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-14 06:00:49 +00:00
TreeHugger Robot 6ab2ccdf1d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-14 05:51:08 +00:00
Bill Yi 1f96ec3ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id6b12fc5d2365c9bddbe1406006c404021463c9f
2021-07-14 04:27:32 +00:00
Bill Yi 3d7e1ff8f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bd29843a664b6a0a4c106f0f7ac4a7505ef7602
2021-07-14 04:26:27 +00:00
TreeHugger Robot e42d392d55 Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev am: 2d12f20516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15276138

Change-Id: I605117ff22f5d7fe596eea00f9396e686052e07c
2021-07-14 04:23:38 +00:00
TreeHugger Robot 2d12f20516 Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev 2021-07-14 04:10:46 +00:00
Jon Spivack de28038e64 NIU Actions: Hide button captions when feature is disabled
Previously, only the buttons themselves were hidden when the feature was flagged off at build time. This adds the rest of the relevant layout UI (captions, spaces) to that logic.

Bug: 192692326
Test: Manual (Pixel 3A, enable_niu_actions on and off)
Change-Id: Ic58d9891887e3e0eb10d38af80b73f04cf66ea79
2021-07-13 18:56:45 -07:00
Schneider Victor-tulias 38a6d462a2 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: Icb5e7cdca02fab3c6c165ab3c612ee943d97d947
2021-07-13 23:41:14 +00:00
Schneider Victor-tulias ae2e5d9231 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev 2021-07-13 23:27:45 +00:00
Andras Kloczl ac3f08558c Fix launcher preview for two panel home
Test: manual
Bug: 185508060
Gif: http://shortn/_oOgKLjg5QC
Change-Id: I216b3761b3bd15c7069b92aa4a1bff8ad655b767
2021-07-13 23:13:17 +02:00
TreeHugger Robot de6450e2e7 Merge "AA+ Final UX spec changes" into sc-dev am: bdb06a7d42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15270059

Change-Id: Ic4a70896b9d90963b86b535271cec14e0c9363d9
2021-07-13 20:58:58 +00:00
TreeHugger Robot a23590411f Merge "Fix TaplTestQuickStep.testOverview for large screen cuttlefish" into sc-v2-dev 2021-07-13 20:45:55 +00:00
Hongwei Wang 854fbf8d23 Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
Merged-In: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:24:57 -07:00
TreeHugger Robot bdb06a7d42 Merge "AA+ Final UX spec changes" into sc-dev 2021-07-13 20:24:04 +00:00
Hongwei Wang 70d4e3e2df Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:22:42 -07:00
Galia Peycheva 355e1fd8e1 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: I2e640f9dee9e3729c3ee797cd67cb808b6159454
2021-07-13 19:44:56 +00:00
Galia Peycheva 15936190e3 Merge "Adjust usages of cross-window blur to new radius" into sc-dev 2021-07-13 19:19:20 +00:00
TreeHugger Robot a4821a0bb8 Merge "Fix hole in recycler view" into sc-dev am: 3d6d2e38b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15270060

Change-Id: I7bf9cd8b3ed98c086b0496ce84f5f41d312d68dc
2021-07-13 19:16:02 +00:00
TreeHugger Robot 3d6d2e38b0 Merge "Fix hole in recycler view" into sc-dev 2021-07-13 19:05:22 +00:00
Alex Chau 22a86d7c8c Fix TaplTestQuickStep.testOverview for large screen cuttlefish
- Use gesture (or button) to press home instead of UIDevice in the test, as UIDevice is sometimes failing to go home in cuttlefish

Bug: 193440212
Test: TaplTestQuickStep.testOverview
Change-Id: I834f1c93c24db24edbccd0bbf0ed5cfcf39a9b4d
2021-07-13 19:26:15 +01:00
Hyunyoung Song b6acd14d0f Fix hole in recycler view
Bug: 153780395
Test: manual

Without this change, typing single character and then
backspace, and then scrolling down and up will result in
hole in recycler view.

Change-Id: Iff6fa3f147d8bfdb8a7e84847b96e5390941dd4e
2021-07-13 09:51:42 -07:00
Hyunyoung Song 673b475787 AA+ Final UX spec changes
Bug: 192670508
Test: manual

Change-Id: Id448f31adef851175306cd513974a64a1f029e50
2021-07-13 09:43:08 -07:00
Thales Lima 9c1024759f launcher: check if task still exists before leaving it in focus
Fixes 191353942
Test: manually; check buganizer on how to reproduce

Change-Id: Ia75ff59b5a9ef5654747d445df4088a5b17f6a42
2021-07-13 17:35:44 +01:00
Thales Lima c7c1ea8ac8 Merge "launcher: use correct preference key on SettingsChangeLogger" into sc-v2-dev 2021-07-13 14:57:14 +00:00
Steven Ng 16c9ebabbf Merge "Fix shortcut size calcuation" into sc-dev am: 372e85106d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259646

Change-Id: I5b37dc1971d67afbc3923774db2256459e389ae6
2021-07-13 14:10:25 +00:00
Steven Ng 372e85106d Merge "Fix shortcut size calcuation" into sc-dev 2021-07-13 13:59:41 +00:00
Thales Lima 1f06c5b457 launcher: use correct preference key on SettingsChangeLogger
The previous key was related to hotseat and not to the workspace size.

Fixes 184981523
Test: debugging and logcat logging

Change-Id: I445264ac0c4fb9ab99e31f96b7257271b730e2da
2021-07-13 13:46:20 +01:00
Steven Ng 6fe115b2ae Fix shortcut size calcuation
Shortcut size should be the size of all apps icon + padding

Test: Check shortcuts and widgets are shown without crash in the
      following surfaces with display & font set to largest and
      display cutout enabled. Repeat the same test with normal
      display setting and no cutout.
      1. Full widgets picker
      2. Bottom widgets picker
      3. Pin widget dialog
Fix: 193422438
Change-Id: Ibfebf94e92eed5e9cd1dd4196d98823b0e4dda6b
2021-07-13 12:46:31 +01:00
TreeHugger Robot e23dd92a55 Merge "Remove debug logs for b/193125090" into sc-v2-dev 2021-07-13 10:07:24 +00:00
TreeHugger Robot fb0492b7f0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: d4d1a47893 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I886c7a94faff7041b1d4f2aa236eb8fd91d7670c
2021-07-13 09:06:12 +00:00
TreeHugger Robot d4d1a47893 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-13 08:50:05 +00:00
Bill Yi 2ad8a31402 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b7ebce75701bfc23b7c65ed6d03eed16c94f26d
2021-07-13 07:23:22 +00:00
TreeHugger Robot fc98f27759 Merge "Add accessibility announcement when user clicks on 'Add automatically to home screen' button" into sc-dev am: 972ab9327c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15242979

Change-Id: Ie8a852ed4ac0d2856a1afc2a33aca3b6905dc9da
2021-07-13 05:20:29 +00:00
TreeHugger Robot 972ab9327c Merge "Add accessibility announcement when user clicks on 'Add automatically to home screen' button" into sc-dev 2021-07-13 05:06:10 +00:00
TreeHugger Robot cc528c1767 Merge "NIU Actions: Add assistant error dialogs" into sc-dev am: ccd3026485
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15246681

Change-Id: I0a7c6c4f439bcd707c4737af14759060cbc1b484
2021-07-13 01:21:08 +00:00
TreeHugger Robot ccd3026485 Merge "NIU Actions: Add assistant error dialogs" into sc-dev 2021-07-13 01:05:03 +00:00
Jon Spivack 8bf8ba735a NIU Actions: Add assistant error dialogs
The NIU Actions buttons send intents to the user's default assistant. If the user clicks one of the buttons without an appropriate default assistant set, a dialog will appear to explain the situation and redirect the user to Settings.

The existing privacy confirmation dialog code has been refactored into a reusable dialog, which is used here.

Bug: 192505939
Test: Manual on local Pixel 3A (unit tests to be added in b/192406446)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7b43e008aa74805b166c09936fa938a5834c8460
2021-07-12 16:23:46 -07:00
Vadim Tryshev ef21ccb501 Merge "Deleting screen records for succeeded tests" into sc-dev am: 1d495b2480
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15193183

Change-Id: I9bdb02ea4e02976f78984c1b998f93b48cfa5386
2021-07-12 20:58:36 +00:00
Vadim Tryshev 1d495b2480 Merge "Deleting screen records for succeeded tests" into sc-dev 2021-07-12 20:47:53 +00:00
Alex Chau 4e3460b866 Remove debug logs for b/193125090
Bug: 193125090
Test: manual
Change-Id: I7758347d7b775e8d8b0926e8f0d8723c7af2c942
2021-07-12 18:48:34 +01:00
Steven Ng a3b942972f Merge "Set max 2 lines for buttons shown in AddItemActivity" into sc-v2-dev 2021-07-12 17:18:54 +00:00
Hyunyoung Song 13f7b6fd8b Merge "Edu card spec polish" into sc-dev am: d2182b242b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15241593

Change-Id: Ia1a0dad6ab859a51b3997309ab0f31bb3ef1c828
2021-07-12 17:15:10 +00:00
Hyunyoung Song d2182b242b Merge "Edu card spec polish" into sc-dev 2021-07-12 17:00:43 +00:00
Alex Chau 8be6c7106c Don't create gap between last task and clear all button
- If a task is too close to ClearAllButton when being snapped to, change the snap position to barely not seeing ClearAllButton
- When snapping to the above tasks from quick switch, apply a horizontal grid translation to smoothly snap into  position
- Apply the above grid translation to TaskViewSimulator as well

Bug: 192254835
Test: manual
Change-Id: I32d562a1726f7c8b41ac10c7deece890df7e1304
2021-07-12 16:31:52 +01:00
Steven Ng c53393332f Set max 2 lines for buttons shown in AddItemActivity
Fix: 192620445
Test: Manual
Change-Id: I6ad9b408c17aa81d714143cdaef63da95b0729dc
2021-07-12 16:31:40 +01:00
Alina Zaidi dfa2752d28 Add accessibility announcement when user clicks on 'Add automatically to
home screen' button

Test: Tested manually with talkback on
Bug: 192808036
Bug: 192811245
Change-Id: I1c02738e0e4755b3bbdde12dad96ac2ed1996e6c
2021-07-12 15:37:13 +01:00