Commit Graph

20478 Commits

Author SHA1 Message Date
Vadim Tryshev a0cb9b86c3 Merge "Removing @Stability flavors for unbundled." into sc-dev 2021-05-17 16:22:45 +00:00
Pat Manning cc64218e68 Animate task translation on dismissal.
Test: manual
Bug: 186416527
Fix: 186416527
Change-Id: I3919b96b96fdd490e15968b7c2e680dad7f6e5d6
2021-05-17 16:21:38 +00:00
Alex Chau 58367f5346 Removed page spacing scaling
- Removed page spacing scaling as it casuses page jump problem without too much benefit, as the RecnetView's fullscale is less significant now (see b/187839470)

Fixes: 184262404
Test: Swipe up after quick switching
Change-Id: I1e080aa2d6530fdac120426ff4b92e19e128ec30
2021-05-17 13:32:39 +01:00
Bill Yi e2d95f9703 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I824aa5417111572f7a9a8fe4eb474b066c09a8c8
2021-05-17 10:53:00 +00:00
Bill Yi 8d233cd42a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6f2bc52b3b9f8af036e67d3527d2c77b89be7a0
2021-05-17 10:49:53 +00:00
Yogisha Dixit cab74a4325 Merge "Log widget features." into sc-dev am: 07449132fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487017

Change-Id: I5ff9d1c8f94c3d8f80017e875d0aa81e0e8cfd85
2021-05-15 15:35:43 +00:00
Yogisha Dixit f51b28150c Merge "Log widget features." into sc-dev am: 07449132fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487017

Change-Id: I23c8efce349f225cf7a969493becd21e42b0610a
2021-05-15 15:27:10 +00:00
Yogisha Dixit 07449132fb Merge "Log widget features." into sc-dev 2021-05-15 15:07:40 +00:00
vadimt 2ecf126256 Removing @Stability flavors for unbundled.
They can be accidentally used.

Test: presubmit.
Bug: 187761685
Change-Id: I0cf859a51fb708ed51ba2f9506ab76af42ee3d5c
2021-05-14 17:42:24 -07:00
Winson Chung cdb9b6fcdf Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev am: 8b74cbbf96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102623

Change-Id: I42c8f51e57a4958c5dddd1e5551f1d902685aecd
2021-05-15 00:12:13 +00:00
Winson Chung 854122d6d4 Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev am: 8b74cbbf96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102623

Change-Id: I534c4e13c17e743bad7a74a02b796b1284420c68
2021-05-15 00:11:59 +00:00
Winson Chung 8a7f26fec3 Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev am: 8b74cbbf96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102623

Change-Id: Ib62f6bc057d280e6009b1f37e7dd2db9a8beea2a
2021-05-15 00:09:55 +00:00
Winson Chung 8b74cbbf96 Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev 2021-05-14 23:44:24 +00:00
Yogisha Dixit 0b15c7ee07 Log widget features.
Design doc: go/widgets-logging
Note that this doesn't log dynamic colors yet. I'll work on that in a
follow-up CL.

Bug: 185778648
Test: manual
Change-Id: I04249ef267907b4112c220fb206e077d1bee783a
2021-05-15 00:26:41 +01:00
Tony Wickham 82d5a0681d Revert to overview coming from the side instead of bottom
Test: Visually checking all of these. As appropriate, repeat in 0, 2, 3
button modes, landscape/portrait/fake landscape, and 3P launcher
- Quick switch from home
- Home to overview
- Overview to home (swipe up)
- Overview to home (tap outside)
- Overview to home (back invocation)
- Quick switch from app
- Swipe up and hold from app
- Dismiss an app
- Empty recents
- Split select state to home
- Modal state to home
Fixes: 185411781

Change-Id: If00a22fee35c832a259bfc62808efbac5990ce2e
2021-05-14 16:06:44 -07:00
Zak Cohen 15166bb0c2 Merge "Overview - don't update task overlay on thumbnail update." into sc-dev am: 02ca6c14dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537691

Change-Id: I5e4684aedade60c9d6fa68790c2142fdbefcb955
2021-05-14 22:07:33 +00:00
Zak Cohen a32c60007c Merge "Overview - don't update task overlay on thumbnail update." into sc-dev am: 02ca6c14dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537691

Change-Id: Ibc8ea5e2635cbd17b2e81c30e21db79962937ab5
2021-05-14 22:05:48 +00:00
Zak Cohen 70b5109287 Merge "Overview - don't update task overlay on thumbnail update." into sc-dev am: 02ca6c14dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537691

Change-Id: I90aab618de9e49e0b0444400222c2af8e0c5b140
2021-05-14 22:05:47 +00:00
Zak Cohen 5632a05c61 Merge "Overview - don't update task overlay on thumbnail update." into sc-dev am: 02ca6c14dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537691

Change-Id: Ib434867874c98c5fed39d4d3982e7ac373adf37c
2021-05-14 22:05:46 +00:00
Zak Cohen 02ca6c14dd Merge "Overview - don't update task overlay on thumbnail update." into sc-dev 2021-05-14 21:52:55 +00:00
Vadim Tryshev 6451a2e17b Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449

Change-Id: Icf2c1fc87e5c6ea50076d233e0154708ed2ce9ae
2021-05-14 18:36:57 +00:00
Vadim Tryshev 572a27c814 Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449

Change-Id: I177dbb9c29b574b0e3bfbe3e39f570b9253bdbe0
2021-05-14 18:35:19 +00:00
Vadim Tryshev 4214b85926 Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449

Change-Id: Ieb5e6d440015c0eddac323101a78fe90b64f5908
2021-05-14 18:35:05 +00:00
Vadim Tryshev a9ea2c0edb Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev am: 217e7100bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532449

Change-Id: I23fb6b3bc0da994b8d5136a72f11b3a63c5aa4d7
2021-05-14 18:34:35 +00:00
Vadim Tryshev 217e7100bc Merge "Revert "Temporarily demoting failing tests from presubmits"" into sc-dev 2021-05-14 18:17:41 +00:00
Cyrus Boadway 8ce51da2ae Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev am: a27ebc1633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467314

Change-Id: I2d1262b88490e66ef25569030aa66442f6847326
2021-05-14 17:57:27 +00:00
Cyrus Boadway aa1e9d0722 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev am: a27ebc1633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467314

Change-Id: Iab359da0cff78ca925391aee96c4e46dfc49cd33
2021-05-14 17:56:58 +00:00
Cyrus Boadway 5bfe52dff3 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev am: a27ebc1633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467314

Change-Id: Ibab3484e22f059e2f02cf70ba85fcba4b10c9222
2021-05-14 17:52:51 +00:00
Cyrus Boadway d68025eb27 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev am: a27ebc1633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467314

Change-Id: I5daa60917bc2aface459c9a7d586a0ee8f903a2e
2021-05-14 17:51:42 +00:00
Cyrus Boadway a27ebc1633 Merge "Add interaction jank monitoring for widget app launch CUJ" into sc-dev 2021-05-14 17:40:16 +00:00
Tracy Zhou 7ad2e846b4 Detach nav bar from app after settling into overview
Fixes: 185042209
Test: manual
Change-Id: Id302ac9f8e86c3af6b2c05a4314401505eb26b1e
2021-05-14 10:37:44 -07:00
Alina Zaidi d80cec62b4 Modify pin widget dialog open-close animation.
Pin widget sheet should open from bottom up and close on drag down.
Behaviour with navigation bar is similar to that of widgets bottom sheet.

Add a drag layer and reuse AbstractSlideInView for open-close
animation.

Test: Tested manually- opening, closing through dragging/ cancel button/
back button. Adding widget to screen by dragging/ add to home screen
button.
Bug: 186124244

Change-Id: I4b77d5bdd4ed1689b651847dfed69d19cafa7456
2021-05-14 17:59:50 +01:00
Cyrus Boadway 960ab121db Fix SDK guard
Use dev-friendly utility instead of Build version codes.

Bug: 169042867
Test: manual
Change-Id: I528bafdcad8644e6f96caf5ada4f44ed2b8dff06
2021-05-14 16:35:40 +00:00
Sunny Goyal 6a5774a165 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: I1aab84991ff354638307f12e44cdb7c9c11706ab
2021-05-14 16:06:44 +00:00
Sunny Goyal 539246504d Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: I4004e3ed427ba6a5efa1d8d3c63a1b254d0f7c36
2021-05-14 16:05:03 +00:00
Sunny Goyal 8324cd0d58 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: I5cbd3a1fbd5370e52b2748e9545beec232bd016f
2021-05-14 16:04:45 +00:00
Sunny Goyal aa2dda5a73 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: Ib2d62f64a2affd584c50c423531c7247c799f83f
2021-05-14 16:03:54 +00:00
Sunny Goyal 10dfa61db8 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev 2021-05-14 15:46:14 +00:00
Tracy Zhou c9bf0f6161 Pass home rotation state to SysUI
Fixes: 185962767
Test: manual

Change-Id: I3d2103b665f099a087545a97fdb84bc240b8d261
2021-05-13 22:12:12 -07:00
zakcohen a6ca69aa53 Overview - don't update task overlay on thumbnail update.
Only init and reset the task overlay on the enabled state of the overlay
changing.
Previously the overlay was also updated when the thumbnail changed, but
this can happen for lots of different reasons so was causing janky
transitions and potentially excess work in code that was following the
overlay.

The overlay code really only cares about the thumbnail after the task has
settled, so should be safe to ignore the thumbnail updates.



Bug: 188097940
Test: local build and run on p5
Change-Id: I4ad1767046cb0316af19713bc188788d8f581d7c
2021-05-13 16:35:49 -07:00
TreeHugger Robot 75d47dc244 Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: I54bd6fbf196dfcf4be7d90ac309e16cee2e040eb
2021-05-13 21:41:47 +00:00
TreeHugger Robot d3e0e8da39 Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: I8699632cbda9e864d98271946b6e76dd7dbb64a4
2021-05-13 21:41:34 +00:00
TreeHugger Robot bcf3cd3c5d Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: I0ce2a9895a70c9478993369fbf850305b1926e21
2021-05-13 21:41:27 +00:00
TreeHugger Robot 4c087a37a2 Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev am: e010332efd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425538

Change-Id: I465d062f328d7193b3cdb153645a44991e116394
2021-05-13 21:28:05 +00:00
TreeHugger Robot e010332efd Merge "Enable free scroll immediately if gesture goes to overview" into sc-dev 2021-05-13 21:23:05 +00:00
Tony Wickham 211bf837b1 Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561

Change-Id: I3c01306505a911856f32ee4c9da547fc1faa8b1a
2021-05-13 20:02:39 +00:00
Tony Wickham 763fd24cf2 Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561

Change-Id: I9c2cd6c81f6eebe0840745bb7b13f007090deff2
2021-05-13 20:01:14 +00:00
Tony Wickham bbc5dfffc0 Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561

Change-Id: I69f77a897b43b3990a85bf1f1381c64c178f380a
2021-05-13 20:01:06 +00:00
Tony Wickham 7cd6c3b936 Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev am: 1eea52296b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14517561

Change-Id: Ica8ffb2f1279f424bf2357f78157e8eaaf65d271
2021-05-13 19:54:00 +00:00
Tony Wickham 1eea52296b Merge "Remove mOnRecentsScrollListener when continuing quick switch gesture" into sc-dev 2021-05-13 19:49:41 +00:00