Commit Graph

32305 Commits

Author SHA1 Message Date
Schneider Victor-tulias 24197bb8a9 Merge "Add logging for adding pending icons to the workspace." into sc-dev am: 74aacfd407
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14235968

Change-Id: Ib40e85f69e8d8115eda45269d030d456431818a5
2021-04-22 23:13:01 +00:00
Schneider Victor-tulias 74aacfd407 Merge "Add logging for adding pending icons to the workspace." into sc-dev 2021-04-22 22:53:03 +00:00
Jonathan Miranda 7fa8c0e9a2 Merge "Add new app close implementation." into sc-dev am: 02f12006fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14039004

Change-Id: I91bdae0a86be3a21416fe0b06cecc39b74a8192b
2021-04-22 22:21:58 +00:00
Winson Chung edf801fed8 Merge "Add null check when resetting animation" into sc-dev am: b2a72da335
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14258842

Change-Id: I169b57cf3af695c853d10231ffdaa68830200ef2
2021-04-22 22:21:55 +00:00
Jonathan Miranda 02f12006fb Merge "Add new app close implementation." into sc-dev 2021-04-22 22:17:02 +00:00
Winson Chung b2a72da335 Merge "Add null check when resetting animation" into sc-dev 2021-04-22 22:09:07 +00:00
Jon Miranda c9ad2dd6c7 Add new app close implementation.
- We remove the fling completely
- We set damping to 1 for x/y springs so there is no
  bounciness, and updated the stiffness and bounds to tighten
  up the path to the final location.
- During the animation, we translate all launcher content
  down
- When the x/y springs, and rect animator all finish,
  we use a spring to bounce the launcher content back up

- Added AppCloseConfig so that the entire animation can
  be defined in one location, with getter methods so that
  all the involved parties of the animation can access the
  current value.
- The animations are all defined linearly, and then
  interpolated over using a 3 point curve.

Building behind feature flag as we tune the values.

Bug: 173107751
Test: manual, visual
Change-Id: I83ad0fa2c4234cf30004240d43e191354595adc8
2021-04-22 16:11:11 -04:00
Schneider Victor-tulias 94a3642099 Add logging for adding pending icons to the workspace.
Added more logging to help track down b/168788486

Bug: 168788486

Test: manual
Change-Id: I309ad3abbedaeb538c97dd4929bedf6407fdfcf1
2021-04-22 13:09:22 -07:00
TreeHugger Robot 4098176db5 Merge "Fix cast exception when dropping widgets to a drop target" into sc-dev am: 2e17bbae0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14281909

Change-Id: I50ad5fd70ae60562d18469d58fb30f40ca0ceb3f
2021-04-22 18:51:28 +00:00
Schneider Victor-tulias 34e80a0ecf Merge "Complete gesture nav sandbox for for UXR." into sc-dev am: 5a6e10bba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13854481

Change-Id: I9818eb17b8ff2326fb1deca9d5290a87ebea0fc4
2021-04-22 18:49:57 +00:00
TreeHugger Robot 2e17bbae0d Merge "Fix cast exception when dropping widgets to a drop target" into sc-dev 2021-04-22 18:08:26 +00:00
Schneider Victor-tulias 5a6e10bba8 Merge "Complete gesture nav sandbox for for UXR." into sc-dev 2021-04-22 17:35:29 +00:00
Steven Ng 314b128f73 Merge "Only update entries if there is a change in expand / collapse state" into sc-dev am: 2d9d1b9937
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14281908

Change-Id: Icc3029f7a92e21252bd575d8cb753fcf3d9415dc
2021-04-22 17:22:51 +00:00
Evan Rosky 81d4b16553 Merge "Update API usage for mergable transitions" into sc-dev am: b99105b92f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14255852

Change-Id: I9c15e59ba238b391abdfc9e52e6316536c6fdab5
2021-04-22 17:21:08 +00:00
Steven Ng 2d9d1b9937 Merge "Only update entries if there is a change in expand / collapse state" into sc-dev 2021-04-22 17:15:12 +00:00
Evan Rosky b99105b92f Merge "Update API usage for mergable transitions" into sc-dev 2021-04-22 17:04:13 +00:00
Steven Ng cf93ef6cc9 Fix cast exception when dropping widgets to a drop target
When inflating a widget directly in the DragView, I've overridden
the layout param to FrameLayout.LayoutParam. Before drag complete,
we should restore the previous layout param.

Test: Drag a widget to a drop target. No crash is observed.
Bug: 186111130
Change-Id: Ifd33d57a886496ab31d4e741870b0ae18ca9ce4e
2021-04-22 17:45:16 +01:00
TreeHugger Robot 2db4139ad9 Merge "Better diags when Launcher is manipulated on the locked phone" into sc-dev am: 0d51bc3caa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14259232

Change-Id: I49932c7627ea4c82188ea721177d0349a569c3be
2021-04-22 13:43:47 +00:00
TreeHugger Robot 0d51bc3caa Merge "Better diags when Launcher is manipulated on the locked phone" into sc-dev 2021-04-22 13:22:05 +00:00
Steven Ng 582314e8e8 Only update entries if there is a change in expand / collapse state
Test: In all widgets tray, switch to work profile. Expands an app.
      Switch to personal tab and then switch back to work tab.
      The previously expanded app is collapsed with correct arrow.
Bug: 184199207
Change-Id: Iac601a04412cb8c5f163483c5dd79da35f1fd05c
2021-04-22 13:22:32 +01:00
TreeHugger Robot 53e1ccda58 Merge "Using WindowContext for listening to configuration changes" into sc-dev am: 6dcd0272f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14257949

Change-Id: I8b3d2596b7fe60ceae846dfd495649db365f48ce
2021-04-22 11:18:33 +00:00
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 97ee4e98dd Merge "2/ Resolve gesture one handed conflicts swipe up recents" into sc-dev am: 54d69965bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14233350

Change-Id: I991d6f6e98ac390ace6598d550ae3af46bbf2d7d
2021-04-22 00:43:03 +00:00
TreeHugger Robot 70f48bd5bc Merge "Redraw live tile in updatePageOffsets()" into sc-dev am: cc67d72813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215374

Change-Id: I5e3c5dd0142b3fdf0941718bc545c3ad9263cd01
2021-04-22 00:42:51 +00: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 0e43345352 Merge "Add some logging to track launcher service and gesture monitor lifecycle" into sc-dev am: 49d6bb660b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14271545

Change-Id: Ifc10951c52199178d8684dd4299c9f781d79a724
2021-04-21 23:58:06 +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 7d8b6d5d49 Merge "Change spring effect on All Apps" into sc-dev am: 3ee18bf510
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14261042

Change-Id: Ief980e36501d7e80b85f2f30acd39d14d065975e
2021-04-21 21:15:47 +00:00
Hyunyoung Song 3ee18bf510 Merge "Change spring effect on All Apps" into sc-dev 2021-04-21 20:54:24 +00:00
Tracy Zhou 05660af4a5 Merge "Finish recents animation upon home rotation" into sc-dev am: 1969cd154e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14260273

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

Change-Id: I6f262b0c8fd84dd8b82210c987958b2d513e020b
2021-04-21 20:20:12 +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 cea3775855 Merge "Fix some widget picker recommended widgets bugs." into sc-dev am: 1722e2f855
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14265967

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

Change-Id: I708dc5da70aecbcb43cbf7d22a49806e3f45d0e8
2021-04-21 18:13:07 +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 6aace96ccf Merge "Render RemoteViews in LauncherAppWidgetHostView" into sc-dev am: 6f944f3624
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14255152

Change-Id: I91a2193a49b2157336b0b36b620c85620279e034
2021-04-21 16:46:56 +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 9607e28ad8 Merge "Use cellHeightPx to estimate recommended widgets' height" into sc-dev am: e9a0ab33fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14265965

Change-Id: I3f47c1b3c1804a752b0c82d3013001fd0625c69b
2021-04-21 16:35:09 +00:00