Commit Graph

3886 Commits

Author SHA1 Message Date
TreeHugger Robot 9bd4020134 Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev am: b0ef69e886 am: 26db50490a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15312149

Change-Id: I7ee1650a1884c79aab63a42217a1cb18e2e563c7
2021-07-19 19:25:19 +00:00
TreeHugger Robot b0ef69e886 Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev 2021-07-19 18:39:18 +00:00
Jonathan Miranda 291cfde1bb Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05 am: 4e16c6ed22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020

Change-Id: Ieae003d368ec8452db75f9e332c0617b168cc44e
2021-07-19 18:14:10 +00:00
Jonathan Miranda 70e8c0b022 Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020

Change-Id: I73d52b726f120029edc345a4154e36e734a6ea32
2021-07-19 18:00:49 +00:00
Jonathan Miranda 8e095ccb05 Merge "Fix notification dot not always being up to date." into sc-dev 2021-07-19 17:45:26 +00:00
Alex Chau 97cba26a20 Wait for dismiss animation to finish before checking task count
- See http://b/193440212#comment5, TaskView takes time after swipe gesture to finish dismiss animation, so wait for the animation to finish before checking task count

Bug: 193440212
Test: TaplTestsQuickstep#testOverview
Change-Id: I21397e68f384e956a7c9f2ee8a8161ac784b4d2e
2021-07-19 17:34:57 +01:00
Alex Chau 6403086ec9 Merge "Don't allow stashing in tests for now" into sc-v2-dev am: 0841e93a34 am: 554b9879cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305566

Change-Id: Ic26a031e139f111c5eaee07b8fc5082a4b65a26f
2021-07-19 12:44:36 +00:00
Alex Chau 0841e93a34 Merge "Don't allow stashing in tests for now" into sc-v2-dev 2021-07-19 12:15:43 +00:00
Jon Miranda f8441cc276 Fix notification dot not always being up to date.
- Prediction row views were never updated when notification changes.
- FloatingIconView set the BubbleTextView to force hide dot, but never restored it.
  BubbleTextView is instanceof IconLabelDotView, so its already handled in the end runnable

Bug: 183360736
Test: 1. swipe up to go home such that the closing app has a notification,
         note that the notification dot is properly updated
      2. have all apps open
         make notification update for a predicted app
         ensure dot is properly updated

Change-Id: I35dacf9b71a3d8b8a857be450690d65ea9199bf6
2021-07-16 17:50:56 -07:00
Tony Wickham 9c84d7f3c3 Don't allow stashing in tests for now
Test: TaplTestsQuickstep#testOverviewActions (arbirarily)
Bug: 193521974
Change-Id: Ic2c5c5f9f37ed3f035ec932b4c96fb51598cf899
2021-07-16 12:27:40 -10:00
Thales Lima 4858427b19 Merge "launcher: enable swipe down to open focused app" into sc-v2-dev am: 2e15dde6b7 am: 63d04c5cd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15297765

Change-Id: If4dab562459c82869da6c1fd4013f4e795c5b630
2021-07-16 13:44:11 +00:00
TreeHugger Robot 1941276ad7 Merge "Revert "Move focused task to front when attaching RecentsView"" into sc-v2-dev am: c0fe7b1cc4 am: d69d4e9742
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15301504

Change-Id: Iefc7cb0d703614c449c87c0f40affb908b24823b
2021-07-16 13:27:15 +00:00
Thales Lima 2e15dde6b7 Merge "launcher: enable swipe down to open focused app" into sc-v2-dev 2021-07-16 13:23:32 +00:00
TreeHugger Robot c0fe7b1cc4 Merge "Revert "Move focused task to front when attaching RecentsView"" into sc-v2-dev 2021-07-16 12:54:51 +00:00
Alex Chau a6451fc640 Revert "Move focused task to front when attaching RecentsView"
This reverts commit 86ac825061.

Reason for revert: Causes crash in fallback recents

Bug: 192471181
Change-Id: I41d2b5c87259568f21e6417be3a6dea5dd1a0864
2021-07-16 12:54:34 +00:00
Thales Lima fb5ba04c6a launcher: enable swipe down to open focused app
Fixes 192437421
Test: manual testing

Change-Id: Ife8e53cf4d7542525736e7b93ac92f9a2ddcd068
2021-07-16 10:55:38 +00:00
TreeHugger Robot 935ca32b3c Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446

Change-Id: I4c4162c0734b9a3feaaf25eadca47f11e1887b8a
2021-07-16 02:04:42 +00:00
Cyrus Boadway d7573be527 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I065ddc6049008b0a2db9767ab4d1e49e1537efac
2021-07-16 02:04:30 +00:00
TreeHugger Robot fd90e7e101 Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681 am: 60779dc5ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446

Change-Id: I74052fe8178c097cf567e14976c91340d8c9fe0b
2021-07-16 02:01:26 +00:00
TreeHugger Robot 3559798fba Merge "Removing support for change listeners from feature flags" into sc-v2-dev am: 4aac62110e am: fdbabc6be4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302089

Change-Id: I9bb74727ab64325944f2d01e4fcc7aebfda144fd
2021-07-16 01:56:33 +00:00
TreeHugger Robot fdbabc6be4 Merge "Removing support for change listeners from feature flags" into sc-v2-dev am: 4aac62110e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302089

Change-Id: Ib53f78f1badbf62661b96ad9b7f6455f596704e8
2021-07-16 01:30:55 +00:00
TreeHugger Robot f054bf5681 Merge "Fixing regression from animation not starting while in overview" into sc-dev 2021-07-16 01:27:02 +00:00
TreeHugger Robot 4aac62110e Merge "Removing support for change listeners from feature flags" into sc-v2-dev 2021-07-16 01:20:32 +00:00
Winson Chung 558b18eb12 Fixing regression from animation not starting while in overview
Bug: 193830420
Test: Open an app in overview, tap on a notification
Change-Id: Ifd9797dc40d9fffbf9603bca98fcb4a4119e0444
2021-07-15 16:17:51 -07:00
Sunny Goyal d3af716ca4 Binding Taskbar directly from Launcher model am: 711c596c86 am: c18cdf7c9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082875

Change-Id: I847ff8821328118761279cced5f6a642de8fd382
2021-07-15 22:40:12 +00:00
Sunny Goyal c18cdf7c9d Binding Taskbar directly from Launcher model am: 711c596c86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082875

Change-Id: I3c0247dc339993ecb9d6c740a064231a06857c22
2021-07-15 22:25:28 +00:00
Sunny Goyal 8cbefe2086 Removing support for change listeners from feature flags
FeatureFlags are supposed to work as static values and change
listeners can cause leaks if not handled properly at every place.

Bug: 193825269
Test: Manual
Change-Id: I54f9113bc01025da781a420154829d80ffa6a084
2021-07-15 15:07:04 -07:00
Sunny Goyal 711c596c86 Binding Taskbar directly from Launcher model
This allows taskbar to be loaded even in case of 3P Launchers
and removes dependency on LauncherActivity lifecycle

Bug: 187353581
Bug: 188788621
Test: Manual
Change-Id: I5a0988e0697b41677d4c58f0213aef14ec0c0972
2021-07-15 12:43:11 -07:00
Cyrus Boadway 1db10e2a3a Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: e08c377a72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: If16f06c6aa4d615df865a64f9327dcae9c131eaa
2021-07-15 18:56:08 +00:00
Cyrus Boadway 1df813a13e Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: eec4833b22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I8af5f490e5e4325f5034177b9eef249207c85301
2021-07-15 18:55:44 +00:00
Cyrus Boadway 66f1b57815 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev 2021-07-15 18:28:29 +00:00
Pat Manning 638ce7402f Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev am: d642b65137 am: 038eff4fba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15014310

Change-Id: I68fb5b2db82409e9c3cbed8518b7a543d2c8697e
2021-07-15 18:06:28 +00:00
Pat Manning d642b65137 Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev 2021-07-15 17:39:31 +00:00
TreeHugger Robot e66b2d42da Merge "Move focused task to front when attaching RecentsView" into sc-v2-dev am: a1ef7b3c1b am: dc9de479ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220575

Change-Id: I5a5097d33fad78c97a8dbbdc4221df476ce258d7
2021-07-15 16:54:48 +00:00
TreeHugger Robot fbfb5d691f Merge "Reland "Snap to relative position to snappd task when dismissing"" into sc-v2-dev am: eba399c130 am: 94ab05138f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299582

Change-Id: Idb1bb656ee9ce79dea91e108dfc164b1014b9821
2021-07-15 16:54:43 +00:00
Pat Manning 8a6179bb7d Scale task rounded corners proportional to TaskView size.
Test: manual
Fix: 183936745
Change-Id: I2e2dd806826cba135d5a1e6ab9a5e80b8994d64d
2021-07-15 15:25:24 +00:00
Alex Chau 86ac825061 Move focused task to front when attaching RecentsView
- Only move focused task it's the first time attaching RecentsView
- Simpily remove and re-add focused task to move it to front

Bug: 192471181
Test: manual
Change-Id: I95b29c39328911beec7fd3d254f7a22be5e10cc1
2021-07-15 15:24:00 +01:00
Alex Chau 031373daa3 Reland "Snap to relative position to snappd task when dismissing"
This reland commit ba61b98fca accidentally reverted by http://ag/15162411

Bug: 188793333
Test: manual
Change-Id: Iae07a67d528aa80e8f87d37758244d0c46b61cf7
2021-07-15 15:12:34 +01:00
TreeHugger Robot 388a273885 Merge "Don't create gap between last task and clear all button" into sc-v2-dev am: 3df9de7cd0 am: 9c3968b231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220572

Change-Id: I278298d6d69345a5643c45a6e8cef09583bffba8
2021-07-15 11:15:32 +00:00
TreeHugger Robot 3df9de7cd0 Merge "Don't create gap between last task and clear all button" into sc-v2-dev 2021-07-15 10:54:47 +00:00
Hongwei Wang a35d7ec90e Merge "Use display cutout info in auto-enter-pip transition" into sc-dev 2021-07-14 23:52:42 +00:00
Hongwei Wang cac1186336 Merge "Use display cutout info in auto-enter-pip transition" into sc-v2-dev am: 3c4f60900d am: 9d6f0f106e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15275760

Change-Id: Idcbbe8fb110954f6473e0d0fb4fe84c7e101615c
2021-07-14 21:13:19 +00:00
Hongwei Wang 3c4f60900d Merge "Use display cutout info in auto-enter-pip transition" into sc-v2-dev 2021-07-14 21:00:47 +00:00
Cyrus Boadway 1cf5527ae8 Keep transparent drawable for clipping outline during launch animation
During the widget-activity transition, the widget foreground loses its
clipping radius, if the clipping is determined by a drawable. We remove
the drawable through the animation.

For widgets where there is content being clipped by the background's
corener radius, this results in the widget window appearing square
through the entire animation, then snapping in rounded corners on
animation-complete.

To solve this, we leave a transparent clone of the drawable in the
original drawable's place, for the balance of the animation, providing
the outline for clipping.

Manual testing against 20 Google widgets showed no regression in
behaviour in other cases.

Bug: 193665108
Test: manual

Change-Id: I3db31e4634c8dd6b22a513a976386d396445ebc2
2021-07-14 19:21:16 +00:00
TreeHugger Robot e9b4712cfa Merge "Notify System UI about taskbar state" into sc-v2-dev am: 6224eaea29 am: d258acb0b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15162411

Change-Id: Ifc44c34ce18153e1f94270406e68a7a2dccfff09
2021-07-14 11:27:30 +00:00
TreeHugger Robot 6224eaea29 Merge "Notify System UI about taskbar state" into sc-v2-dev 2021-07-14 10:59:26 +00:00
Thales Lima 00f57e0c74 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev am: 03f0c67420 am: 9ddcedd49a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15273350

Change-Id: I2ca15b7f9b8c182fe4f2ed49960fe55b923c5ec0
2021-07-14 10:20:23 +00:00
Thales Lima 03f0c67420 Merge "launcher: check if task still exists before leaving it in focus" into sc-v2-dev 2021-07-14 09:54:10 +00:00
Schneider Victor-tulias 00adfcee2c Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231 am: c564a2487c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I5f52e76ad326b4027369af33c280b3fd80ec43e4
2021-07-13 23:57:50 +00:00
Schneider Victor-tulias 38a6d462a2 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: Icb5e7cdca02fab3c6c165ab3c612ee943d97d947
2021-07-13 23:41:14 +00:00