Commit Graph

31755 Commits

Author SHA1 Message Date
TreeHugger Robot 6dcd0272f1 Merge "Using WindowContext for listening to configuration changes" into sc-dev 2021-04-22 10:57:05 +00:00
Sunny Goyal 35c7b19fa8 Using WindowContext for listening to configuration changes
Pre-S: Continue to use config-changed broadcast for configuration changes
and display-changed event for rotation changes
S+: Use WindowContext#componentCallbacks for config and rotation changes, and
continue to use display listener for frame-rate changes

Bug: 179308296
Test: Manual and presubmit
Change-Id: I533e69068b5fa6c052a02759ef309dd075ee6a4b
2021-04-22 00:23:02 -07:00
Bill Lin 54d69965bf Merge "2/ Resolve gesture one handed conflicts swipe up recents" into sc-dev 2021-04-22 00:40:24 +00:00
TreeHugger Robot cc67d72813 Merge "Redraw live tile in updatePageOffsets()" into sc-dev 2021-04-22 00:40:03 +00:00
Winson Chung 49d6bb660b Merge "Add some logging to track launcher service and gesture monitor lifecycle" into sc-dev 2021-04-21 23:27:39 +00:00
Winson Chung aea7a32b2e Add some logging to track launcher service and gesture monitor lifecycle
Bug: 182478748
Test: Just logging
Change-Id: If556dcbb84e3863cdb31a3374ce0ad1cefe875fd
2021-04-21 14:16:35 -07:00
Hyunyoung Song 3ee18bf510 Merge "Change spring effect on All Apps" into sc-dev 2021-04-21 20:54:24 +00:00
Tracy Zhou 1969cd154e Merge "Finish recents animation upon home rotation" into sc-dev 2021-04-21 20:02:27 +00:00
Treehugger Robot 1d11a22e10 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: 7bfb0b242b am: 0790236e6f am: 2cfddfa8ac
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1682067

Change-Id: I4782038f01a72a71d0a7d0d2d42078c40ec1393e
2021-04-21 20:01:06 +00:00
Treehugger Robot 2cfddfa8ac Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: 7bfb0b242b am: 0790236e6f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1682067

Change-Id: I989de9858ebe651effe85522d89477a6ea34df34
2021-04-21 19:28:06 +00:00
Treehugger Robot 0790236e6f Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: 7bfb0b242b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1682067

Change-Id: I7c1221619427bc38b86f8ee6530279ecbbc4d5ad
2021-04-21 19:01:39 +00:00
Treehugger Robot 7bfb0b242b Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" 2021-04-21 18:21:21 +00:00
Alina Zaidi 1722e2f855 Merge "Fix some widget picker recommended widgets bugs." into sc-dev 2021-04-21 18:10:39 +00:00
Treehugger Robot a6e6689209 Merge "Adding new team members working on the launcher" am: 99d4712ddb am: 1b3d656a39 am: 81283cc8be
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1682435

Change-Id: If2241d8cc381229b613a32e1885546fa72d7fed9
2021-04-21 17:53:42 +00:00
Treehugger Robot 81283cc8be Merge "Adding new team members working on the launcher" am: 99d4712ddb am: 1b3d656a39
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1682435

Change-Id: I4de3fb2c6eefa71d09df9643164f949e0adcbc7a
2021-04-21 17:28:22 +00:00
Tracy Zhou 9d5ee19952 Finish recents animation upon home rotation
Fixes: 184054813
Test: manual
Change-Id: Iba819ad1d7ea72aedd15b98d9a9a48c384d5fe1e
2021-04-21 10:19:50 -07:00
Treehugger Robot 1b3d656a39 Merge "Adding new team members working on the launcher" am: 99d4712ddb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1682435

Change-Id: I737d72d3d40325d042dd1b3d29b4e2e03022726c
2021-04-21 17:01:41 +00:00
Steven Ng 6f944f3624 Merge "Render RemoteViews in LauncherAppWidgetHostView" into sc-dev 2021-04-21 16:40:05 +00:00
Treehugger Robot 99d4712ddb Merge "Adding new team members working on the launcher" 2021-04-21 16:36:01 +00:00
Steven Ng e9a0ab33fa Merge "Use cellHeightPx to estimate recommended widgets' height" into sc-dev 2021-04-21 16:29:18 +00:00
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 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
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 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
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
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 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
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
Winson Chung 0dfce759a9 Reset activity reference after invalidation
Bug: 185909226
Test: Presubmit
Change-Id: Id0a6a1c5301c66a515cefcab58b77495081c6190
2021-04-20 13:31:09 -07:00
TreeHugger Robot 426bcc7715 Merge "Update TwoButtonNavbarTouchController logs" into sc-dev 2021-04-20 20:00:51 +00:00
TreeHugger Robot cdb4505020 Merge "Remove some noisy logs by setting DEBUG = false" into sc-dev 2021-04-20 19:58:51 +00:00
Schneider Victor-tulias 006cdeb641 Add a feature flag for smartspace dismiss option.
Test: manual
bug: 184179894
Change-Id: I568f7809f9a2407cf470d82c32a05956fcaaf807
2021-04-20 19:54:14 +00:00
TreeHugger Robot 58c6ae1852 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-20 18:14:08 +00:00
TreeHugger Robot 8c1221e113 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-20 18:08:13 +00:00
Alex Chau e8f147e2ce Merge "Check null for actinosView in resetPaddingFromTaskSize" into sc-dev 2021-04-20 17:50:38 +00:00
Vadim Tryshev 6f0dc99961 Merge "Partial cleanup after b/143488140" into sc-dev 2021-04-20 17:50:30 +00:00
Steven Ng e941bc7ff0 Merge "Inflate LauncherAppWidgetHostView directly in DragView" into sc-dev 2021-04-20 17:42:51 +00:00