Commit Graph
47938 Commits
Author SHA1 Message Date
TreeHugger Robot 9488b88b16 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-21 16:06:16 +00:00
TreeHugger Robot f428ca7ecc Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-21 16:05:52 +00:00
Alex Chau e74ea9ec9a Adding new team members working on the launcher
Test: N/A
Change-Id: I446f3f1ed651bdd2b6ccd22a05d99ab39709262d
2021-04-21 15:49:47 +01:00
Steven Ng e973d6f31f Render RemoteViews in LauncherAppWidgetHostView
Test: Pin a conversation widget from a notification. RemoteViews are
      rendered with the default size. Drag-n-drop from the pin widget
      dialog works fine.
Bug: 185934141

Change-Id: Idb76cce2807e55e7b42e2e044712519857beb202
2021-04-21 15:43:51 +01:00
Alina Zaidi 80732f89e7 Fix some widget picker recommended widgets bugs.
- Bind recommended widgets only when not in search mode. (b/183503774)
- Bind recommended widgets in onAttachedToWindow, Recommended widgets
are available in PopupDataProvider at this point. (b/185461866)

Bug: 183503774
Bug: 185461866
Test: tested manually
Change-Id: If24e5b2b3e69a695821b5f7d9f42ff4c89ae62fc
2021-04-21 15:26:01 +01:00
Steven Ng 260e98385e Use cellHeightPx to estimate recommended widgets' height
Test: Set grid to 2x2 and open the widgets picker in portrait. Able to
      scroll the recycler view.
Bug: 185915917
Change-Id: I02bb11a999fb1816de6e2410810c4ae6c1da137f
2021-04-21 14:43:30 +01:00
Bill Yi 90c849fcbf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iecb98c55e9ffe060e7574d63a4619772a4cba3a2
2021-04-21 08:51:16 +00:00
Bill Yi 3b088f9f2c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If4366f03ac0fe166749198d4c124db8995aeedda
2021-04-21 08:50:39 +00:00
Bill Yi 8954828d68 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f16395279d44a14cc82e54188978bfb8a1a9be7
2021-04-21 08:50:07 +00:00
Bill Yi 814728047b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c52edf741c9da39c882bc317258e63942ba0fd2
2021-04-21 08:49:29 +00:00
TreeHugger Robot 9ed15e8e85 Merge "Fix flaky widget tapl tests" into sc-dev am: b9649edefe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14255145

Change-Id: Ifad881ec7f80f337dd2d7ab518cddcd6e0065cc3
2021-04-21 07:40:51 +00:00
TreeHugger Robot 35d79d031b Merge "Fix flaky widget tapl tests" into sc-dev am: b9649edefe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14255145

Change-Id: I9397f5150df003f3095f87583e967af88f7f41b5
2021-04-21 07:39:22 +00:00
TreeHugger Robot 4320b12fb3 Merge "Fix flaky widget tapl tests" into sc-dev am: b9649edefe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14255145

Change-Id: I686b58d275c6358aaa9b7d67a8384637eb7332ce
2021-04-21 07:36:58 +00:00
Hyunyoung Song 4fc2428474 Change spring effect on All Apps
Bug: 185942188
Test: Manual

Change-Id: Ic460d85e19074b7f2b2adf714b211591f0d23a08
2021-04-21 00:34:27 -07:00
TreeHugger Robot b9649edefe Merge "Fix flaky widget tapl tests" into sc-dev 2021-04-21 07:13:06 +00:00
Winson Chung a0e4d043a1 Merge changes I69baed7b,I38a1da16 into sc-dev am: ce9134c982
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14257954

Change-Id: I76eb94bd8f69585a64804be0564ad143f93121ea
2021-04-21 04:08:20 +00:00
Winson Chung 535fd6ed74 Merge changes I69baed7b,I38a1da16 into sc-dev am: ce9134c982
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14257954

Change-Id: Ie20dfd376ae72d241e01a66c473db678306dabd7
2021-04-21 04:07:07 +00:00
Winson Chung f60762137f Merge changes I69baed7b,I38a1da16 into sc-dev am: ce9134c982
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14257954

Change-Id: I02e5b3d01b8db31b710dfe4e1856e0afd462e8c5
2021-04-21 04:06:14 +00:00
Winson Chung 7a668168da Add null check when resetting animation
- resetStateForAnimationCancel() can be called before launcher is present

Bug: 185945504
Test: Manual
Change-Id: I19525b12e8b179103b6081a8aa554dbe2ebc5ba5
2021-04-20 21:05:22 -07:00
Winson Chung ce9134c982 Merge changes I69baed7b,I38a1da16 into sc-dev
* changes:
  Logging config changes as well
  Reduce some logging from previous CL
2021-04-21 03:38:25 +00:00
Tracy Zhou d59b6d781a Fix weird task launch animation am: e1ce26e70c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14205571

Change-Id: I5074c3d3432f2cc05e36bf5befd1c64bfa7078ab
2021-04-21 02:53:45 +00:00
Tracy Zhou 8c5c283990 Fix weird task launch animation am: e1ce26e70c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14205571

Change-Id: Ibe533dd7961dbd379861b8689a7d212fe58dc26a
2021-04-21 02:52:17 +00:00
Tracy Zhou 6a5b035e30 Fix weird task launch animation am: e1ce26e70c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14205571

Change-Id: I05123d8685bb960e7464d53b09eb9361f82b79f7
2021-04-21 02:51:44 +00:00
vadimt 4c6722ede5 Better diags when Launcher is manipulated on the locked phone
Test: presubmit
Bug: 185395995
Change-Id: I9a7e0bda47851ce186adc15838f9ace9a2c8195a
2021-04-20 19:38:46 -07:00
Winson Chung dc0f3978e7 Logging config changes as well
Reduce some logging from previous CL

Bug: 185820525
Test: Presubmit
Change-Id: I69baed7b819b529db30a65cb39a80fb310d76243
2021-04-20 18:18:51 -07:00
Andy Wickham 83a3e4428d Merge "Adds a flag for Smartspace feedback." into sc-dev am: d12af6bda2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14245223

Change-Id: I304c5f05b2215faa42ce98c57ab4eeba6ca2b552
2021-04-21 01:16:14 +00:00
TreeHugger Robot e9396a7f13 Merge "Add a feature flag for smartspace dismiss option." into sc-dev am: 7274d29c4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14252388

Change-Id: I3d3efb28cf165df66251c2d457c73ed00fd31573
2021-04-21 01:16:06 +00:00
Andy Wickham 1ad97bc0e9 Merge "Adds a flag for Smartspace feedback." into sc-dev am: d12af6bda2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14245223

Change-Id: I58889d92ca37f538ef5432a171bdd11f0d2072eb
2021-04-21 01:14:50 +00:00
TreeHugger Robot 7f4a4ea34f Merge "Add a feature flag for smartspace dismiss option." into sc-dev am: 7274d29c4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14252388

Change-Id: I8671eea0a9b8c1b874686e3538be7f6c83cd8746
2021-04-21 01:14:43 +00:00
Andy Wickham 98ca00f18e Merge "Adds a flag for Smartspace feedback." into sc-dev am: d12af6bda2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14245223

Change-Id: I8e7c55277dc9b81f96d632a8cac50d1fb8e8db6b
2021-04-21 01:12:43 +00:00
TreeHugger Robot abc35447e3 Merge "Add a feature flag for smartspace dismiss option." into sc-dev am: 7274d29c4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14252388

Change-Id: I4dcd8d29852706bf8d0f4a5dc2673efff2a9b41d
2021-04-21 01:12:35 +00:00
android-build-team Robot d061273621 Snap for 7298338 from 93573f0165 to sc-v2-release
Change-Id: Ib7d6daace4b442b123f18f01752e5193856520f9
2021-04-21 01:09:04 +00:00
android-build-team Robot 08908f15a5 Snap for 7298338 from 93573f0165 to sc-release
Change-Id: Ia5a25e3d93c134697c19ca286e1ee356e567230f
2021-04-21 01:08:31 +00:00
Tony Wickham 2e3b7c6e97 Redraw live tile in updatePageOffsets()
Also finish recents controller in RecentsView#reset() if it hasn't
been already.

Test: in 2 button mode, swipe up from overview when a live tile is
running, ensure it moves offscreen with its TaskView; after swiping
from overview to home, tap nav bar to ensure controller was finished
Fixes: 185588376

Change-Id: Ibfdea9fcfb69dbc20c51474198c7cc2f9281c705
2021-04-20 17:55:17 -07:00
Tracy Zhou e1ce26e70c Fix weird task launch animation
Sometimes a weird task launch animation can be observed where the task is animated to fullscreen before animated again from center to the left side of the screen. This is caused by stateManager.moveToRestState() call that internally animates FULLSCREEN_PROGRESS to 0 based on its launcher state (normal). The implementation right now finishes the recents animation after this call, instead of before. We should finish the recents animation first before doing the recents view clean up work.

Fixes: 184878444
Test: manual
Change-Id: Ib24fcf5ecb12e1a1357441427daface2778e1008
2021-04-20 17:55:17 -07:00
Andy Wickham d12af6bda2 Merge "Adds a flag for Smartspace feedback." into sc-dev 2021-04-21 00:53:18 +00:00
TreeHugger Robot 7274d29c4c Merge "Add a feature flag for smartspace dismiss option." into sc-dev 2021-04-21 00:52:27 +00:00
Winson Chung b0e55db99e Merge "Reset activity reference after invalidation" into sc-dev am: f5278b0b23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14253506

Change-Id: I2dc5015df2e6d5dfa16b380f2657c222438d21d1
2021-04-21 00:15:32 +00:00
Winson Chung 57b9122d49 Merge "Reset activity reference after invalidation" into sc-dev am: f5278b0b23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14253506

Change-Id: Ibac95a7fdfefff735f58614ea587b1b92381cfa5
2021-04-21 00:14:06 +00:00
Winson Chung 3b220934a5 Merge "Reset activity reference after invalidation" into sc-dev am: f5278b0b23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14253506

Change-Id: I5adcd06fd364b3a2a1f2ceaa9f3bfe89fb8b9f0f
2021-04-21 00:13:14 +00:00
Winson Chung f5278b0b23 Merge "Reset activity reference after invalidation" into sc-dev 2021-04-20 23:48:52 +00:00
Winson Chung 0bba6a79fc Reduce some logging from previous CL
Bug: 185820525
Test: Presubmit
Change-Id: I38a1da163eedf5f07bd507674ecb8661e8649d23
2021-04-20 15:42:43 -07:00
Winson Chung db560c0e00 Add some logging for transposed mode in landscape am: 8e64bba9cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254207

Change-Id: I08ef8ec3937c1b2df2180a5abbf800db0e8daae0
2021-04-20 22:29:12 +00:00
Winson Chung a1d20631f0 Add some logging for transposed mode in landscape am: 8e64bba9cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254207

Change-Id: Id24354f9d68337939585724d0ae2e387ce78ef50
2021-04-20 22:27:32 +00:00
Winson Chung a729ab0b24 Add some logging for transposed mode in landscape am: 8e64bba9cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254207

Change-Id: Ic6604d1ce3921a2a574415bd57e03bfc378f710d
2021-04-20 22:27:30 +00:00
Evan Rosky 0c504d047f Update API usage for mergable transitions
Bug: 183994113
Test: N/A, just added parameter
Change-Id: Iabe2dabebd8e3dc929d1851ac1adbce5b3a64ad7
2021-04-20 15:17:54 -07:00
Steven Ng 8c8d99f966 Fix flaky widget tapl tests
Potential issues:
1. Widgets floating tips view is being shown
2. Header visible height is too small to be considered as a scroll
   gesture

Test: Run AddConfigWidgetTest, AddWidgetTest, BindWidgetTest &
      RequestPinItemTest
Bug: 185733371
Change-Id: Ic3e9188724dd920349ce8d8e8d98392b94b40642
2021-04-20 23:01:19 +01:00
Bob Badour 936c340405 [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
Added SPDX-license-identifier-Apache-2.0 to:
  tests/dummy_app/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Iea957fe3cfc434246acfe19eb7917fbe22079cde
2021-04-20 14:02:30 -07:00
Winson Chung 8e64bba9cf Add some logging for transposed mode in landscape
Bug: 185820525
Test: Presubmit
Change-Id: Id4cf605fd5c3277273025ac1a73f25add0608412
2021-04-20 20:38:04 +00:00
TreeHugger Robot db8f105a8d Merge "Update TwoButtonNavbarTouchController logs" into sc-dev am: 426bcc7715
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14242193

Change-Id: I57861dcef93e281e5bcc17a650db133476ca94c9
2021-04-20 20:36:11 +00:00