Commit Graph

49925 Commits

Author SHA1 Message Date
Steven Ng d1113829a8 Merge "Use availableHeightPx to calculate the max height for recommended widgets" into sc-dev am: 9ad5b60c6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234629

Change-Id: I81f787c04ba025a1ff4ac0eac2c8d7dda8891371
2021-04-20 10:54:38 +00:00
Steven Ng 9ad5b60c6c Merge "Use availableHeightPx to calculate the max height for recommended widgets" into sc-dev 2021-04-20 10:33:32 +00:00
Alina Zaidi 10de601e05 Merge "On exit search in widget picker, make recommended widgets table visible only if recommended widgets are available." into sc-dev am: b89c991bab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234628

Change-Id: Ief5a5130c3f301201707ac06064aa9fa6a6f1def
2021-04-20 10:13:16 +00:00
Alina Zaidi 89dde36f22 Merge "On exit search in widget picker, make recommended widgets table visible only if recommended widgets are available." into sc-dev am: b89c991bab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234628

Change-Id: I85b3db14d391a322c4b5fd7cc19ed0a1a691b5b8
2021-04-20 10:11:19 +00:00
Alina Zaidi 89f5b3e4e1 Merge "On exit search in widget picker, make recommended widgets table visible only if recommended widgets are available." into sc-dev am: b89c991bab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234628

Change-Id: I9a0efdd27c3ce448589ca2756f28b5bafe5c41d9
2021-04-20 10:11:01 +00:00
Alina Zaidi b89c991bab Merge "On exit search in widget picker, make recommended widgets table visible only if recommended widgets are available." into sc-dev 2021-04-20 09:54:29 +00:00
Alina Zaidi c839676fa0 Hide scroll bar if recycler view has no items.
Bug: 185873180
Test: Manually tested
Change-Id: Id0b21b264417aff19cfdcb46228bb497310ccc1b
2021-04-20 09:39:52 +01:00
Sunny Goyal 2244fe9647 Merge "Unifying icon loading methods" into sc-dev am: 44ba9f2e14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14200836

Change-Id: Ie50007e5c66e3f59f75d61ce39446699fdb38bfd
2021-04-20 04:01:01 +00:00
Sunny Goyal e6aaf4ad14 Merge "Unifying icon loading methods" into sc-dev am: 44ba9f2e14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14200836

Change-Id: I63904fb807867b032cec6a01fb14f652e3cb6a47
2021-04-20 03:59:07 +00:00
Sunny Goyal 2cabb0aef4 Merge "Unifying icon loading methods" into sc-dev am: 44ba9f2e14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14200836

Change-Id: I1472b9bf0575a23be244cb4b9014ddf4ffc7a3be
2021-04-20 03:57:56 +00:00
Sunny Goyal 44ba9f2e14 Merge "Unifying icon loading methods" into sc-dev 2021-04-20 03:22:28 +00:00
Pinyao Ting bd40ef0b4f Merge "Additional debug logging to triage shortcut related issue." into sc-dev am: a155f61f78
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14235993

Change-Id: Ic57603d80bc42da1b9e053bb2d03ee5190d1641c
2021-04-20 02:42:04 +00:00
Vadim Tryshev 652956d292 Merge "Revert "Default shell_starting_surface to true to match platform behavior."" into sc-dev am: 874a389c05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14233343

Change-Id: Id32460407a1636450286524c17f7b9ec1946dbcd
2021-04-20 02:41:50 +00:00
Pinyao Ting a16d05e8eb Merge "Additional debug logging to triage shortcut related issue." into sc-dev am: a155f61f78
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14235993

Change-Id: I5cf69ea869af11cb2d58258d440f7eed176a62a4
2021-04-20 02:39:58 +00:00
Pinyao Ting 344febbc65 Merge "Additional debug logging to triage shortcut related issue." into sc-dev am: a155f61f78
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14235993

Change-Id: I1e071ca7702c11ea22dc4db42b8171e0f61ba02e
2021-04-20 02:39:56 +00:00
Vadim Tryshev abc4d2bc7e Merge "Revert "Default shell_starting_surface to true to match platform behavior."" into sc-dev am: 874a389c05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14233343

Change-Id: Iae8657538c5374883da83c6004aa45521b356f02
2021-04-20 02:39:41 +00:00
Vadim Tryshev dbc5616b44 Merge "Revert "Default shell_starting_surface to true to match platform behavior."" into sc-dev am: 874a389c05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14233343

Change-Id: I6d388d322d3e3ab373d3412d8d2e402bec810f41
2021-04-20 02:39:33 +00:00
vadimt 12acb4559e Partial cleanup after b/143488140
Apparently, failures in constructor don't have screenshots.

Test: presubmit
Bug: 177318681
Change-Id: I8d354658c01fd2f06fb559b0fe5506d0058688b4
2021-04-19 18:50:25 -07:00
Pinyao Ting a155f61f78 Merge "Additional debug logging to triage shortcut related issue." into sc-dev 2021-04-20 01:25:12 +00:00
Vadim Tryshev 874a389c05 Merge "Revert "Default shell_starting_surface to true to match platform behavior."" into sc-dev 2021-04-20 01:16:36 +00:00
android-build-team Robot 272b70e2bb Snap for 7295815 from 315bef15e1 to sc-v2-release
Change-Id: I398b40bf4e517eb557f3b2c2140a3c33d26388d4
2021-04-20 01:08:59 +00:00
android-build-team Robot 21b973550b Snap for 7295815 from 315bef15e1 to sc-release
Change-Id: I26d38c72b97a0ad7424212f1b28927ef46a1afc1
2021-04-20 01:08:30 +00:00
Tony Wickham 8559ae324c Update TwoButtonNavbarTouchController logs
- Fix wrong bug number
- Log when we intercept and reinit to a state rather than in
  getTargetState() which is used to determine possible swipe
  directions too (which makes the logs confusing)

Test: run TaplTestsQuickstep#testOverviewActions
Bug: 177316094
Change-Id: Ibe5db6317c16c429c9c46bf237d3f8adc1458037
2021-04-19 17:40:47 -07:00
Andy Wickham 5a85912b92 Adds a flag for Smartspace feedback.
Test: Manual
Change-Id: I96dd8dad8bd2ab136960d0bebeac67b8bc00b583
2021-04-19 17:23:11 -07:00
Steven Ng 3242720ce7 Inflate LauncherAppWidgetHostView directly in DragView
Also removes AppWidgetHostViewDrawable

Bug: 183609936
Test: drag-n-drop icons, folders, widgets, shortcuts

Change-Id: I26d8b05b9f9171037f2459fa2389e7e02c8ca6dc
2021-04-20 00:26:07 +01:00
Sunny Goyal e36664d541 Turn DragView into a FrameLayout
Bug: 183609936
Test: drag-n-drop icons, folders, widgets, shortcuts
Change-Id: I030b36cd59ac6d0ced3263baca13108825ab2296
2021-04-20 00:19:06 +01:00
Steven Ng 538250a653 Merge "Apply color extraction when dragging" into sc-dev am: 315bef15e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234626

Change-Id: I93d2047e8e3618218e420077649dbbdcc3e4d8d2
2021-04-19 21:48:27 +00:00
Steven Ng 57cb305be8 Merge "Apply color extraction when dragging" into sc-dev am: 315bef15e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234626

Change-Id: I50f559e2884ed2abb0d8c8f3c8afa6929b71390f
2021-04-19 21:46:30 +00:00
Steven Ng 81bdcde36c Merge "Apply color extraction when dragging" into sc-dev am: 315bef15e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234626

Change-Id: Id76f27dbf05ead266f5e978c60d5214bbf67d71a
2021-04-19 21:46:25 +00:00
Vadim Tryshev 250f568cb2 Revert "Default shell_starting_surface to true to match platform behavior."
This reverts commit 6acba27109.

Reason for revert: https://b.corp.google.com/issues/185818929#comment4

Change-Id: I30875c1f81808b92f529bd11c916fea05b93fd4d
2021-04-19 21:31:51 +00:00
Steven Ng 315bef15e1 Merge "Apply color extraction when dragging" into sc-dev 2021-04-19 21:26:28 +00:00
Steven Ng 769a14ef34 Use availableHeightPx to calculate the max height for recommended widgets
heightPx doesn't take device orientation and system taskbar into account.

Bug: 185508758
Test: Open widgets tray, observe recommended widgets. Rotate the screen
      and observe recommended widgets.
Change-Id: I96f1817f96ba643e54e1d2599225254489091d03
2021-04-19 22:06:38 +01:00
Schneider Victor-tulias fb552936fd Complete gesture nav sandbox for for UXR.
- Removed All set screens altogether.
- Added "x" button to feedback view. This button now launches a dialog that allows the user to skip the tutorial.
- Added a progress tracker to the feedback view.
- Created a launch option to launch the back, home, then overview gesture tutorials in order.
- Added a button in the feedback view to progress through the tutorial.
- Updated tutorial animations to AnimatedVectorDrawables (with green accents).

Bug: 148542211

Test: manual
Change-Id: Icf3ec424141069895f97da74cd4ae881ff898d3f
2021-04-19 13:41:57 -07:00
Vadim Tryshev 7260119c25 Merge "Disable strictmode leak detection" into sc-dev am: 97259e18ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14236338

Change-Id: I93a631216f60ca2f0be538135b3859dff9206407
2021-04-19 20:13:46 +00:00
Vadim Tryshev 1900f53967 Merge "Disable strictmode leak detection" into sc-dev am: 97259e18ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14236338

Change-Id: I433f3a1e4dccd4bdd06c71a13f5db906fd3a5d93
2021-04-19 20:11:55 +00:00
Vadim Tryshev af386972ae Merge "Disable strictmode leak detection" into sc-dev am: 97259e18ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14236338

Change-Id: I9b3d20d67df01f5e34ec669ac6437b383586a2e4
2021-04-19 20:11:01 +00:00
Vadim Tryshev 97259e18ac Merge "Disable strictmode leak detection" into sc-dev 2021-04-19 19:52:16 +00:00
Alina Zaidi 1869a9868c On exit search in widget picker, make recommended widgets table visible
only if recommended widgets are available.

This fixes missing scroll bar on exit search issue (b/183616305)

Bug: 183616305
Test: Manually tested
Change-Id: I3ced5fb2f833f3d34b7dfd376bb4b7c231bc28f6
2021-04-19 20:02:17 +01:00
Pinyao Ting 486ce88f18 Additional debug logging to triage shortcut related issue.
Bug: 185614138
Test: flash and verify logs shows up in bugreport
Change-Id: Ie7b45b5ffbd9ee2ed64f478647779e240f3255a7
2021-04-19 11:17:42 -07:00
vadimt 25ebb2d3c1 Disable strictmode leak detection
It doesn't work; the check was enabled by mistake.

Test: presubmit
Bug: 185786290
Change-Id: Ie049f1d6d7cef5acfa3ee29b5f9e9586fbeb24a5
2021-04-19 11:01:45 -07:00
Samuel Fufa 3722bb5620 [Search][Keyboard] Update default allApps vertical transition inset
Bug: 184721373
Test: Manual
Change-Id: I96c930a05055caa6ae1789c9d82810c099a0d133
2021-04-19 17:23:04 +00:00
Steven Ng a999e22560 Apply color extraction when dragging
Bug: 185795141
Test: Drag the test color extraction widget and observe the change in
      the widget background.
Change-Id: I17203fcb0d7579b1570c68f22248966c3a561c64
2021-04-19 18:19:06 +01:00
Jonathan Miranda 5e5aa9c05a Merge "Default shell_starting_surface to true to match platform behavior." into sc-dev am: fbea50d807
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14187099

Change-Id: I294fafe7ca1434cb20f063ed72423fedad839c98
2021-04-19 15:34:40 +00:00
Jonathan Miranda 6afe4d13ca Merge "Default shell_starting_surface to true to match platform behavior." into sc-dev am: fbea50d807
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14187099

Change-Id: Id4d753391f083fc34012c2a1128d226f56ee9cf0
2021-04-19 15:33:15 +00:00
Jonathan Miranda 4f98b5a6c0 Merge "Default shell_starting_surface to true to match platform behavior." into sc-dev am: fbea50d807
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14187099

Change-Id: Ib88fcb5a25a7e41044dcf549fefef6f56406a2aa
2021-04-19 15:32:35 +00:00
Jonathan Miranda fbea50d807 Merge "Default shell_starting_surface to true to match platform behavior." into sc-dev 2021-04-19 15:08:32 +00:00
Bill Lin 789aa86617 2/ Resolve gesture one handed conflicts swipe up recents
When user trigger OHM, we should stop user going to both recents
and quick switch until user exit one handed mode.

The previous design is quite flickering due to below gestures
are in race condition:
1) One handed mode swipe up to exit
2) Swipe up to recents
3) Swipe horizontal to quick switch

Test: manual
Bug: 177978035
Change-Id: I10206ba9c263ead24a83a9ee0ffea2ea45eb819d
2021-04-19 20:39:15 +08:00
TreeHugger Robot d41af00b01 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-04-19 08:30:41 +00:00
TreeHugger Robot ba0d439ba5 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-04-19 07:52:36 +00:00
TreeHugger Robot a28f2defaf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 714d0b89a3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7688a997e9db749fe567a24957ed379106ea8fbc
2021-04-19 06:20:18 +00:00