Commit Graph

7674 Commits

Author SHA1 Message Date
TreeHugger Robot ed43166c23 Merge "End recents animation when entering split select" into sc-v2-dev am: 6c71f688b2 am: 8ba8a71ca4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15321610

Change-Id: I7b59026e12f0c26d9fdd5a415e5103e809d2f1dd
2021-07-21 19:35:32 +00:00
Evan Rosky 029885a8b8 Merge "Part of fixing Splashcreen cts tests" into sc-v2-dev am: 2102a89ef6 am: 2e183c5ce6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341691

Change-Id: Ifb96ccede9ae2afa4520d4c7c90537bf6ebdf762
2021-07-21 19:28:31 +00:00
TreeHugger Robot 8ba8a71ca4 Merge "End recents animation when entering split select" into sc-v2-dev am: 6c71f688b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15321610

Change-Id: I77de6e1f72594fa8764c68c042e3989ed3fc44ee
2021-07-21 19:20:01 +00:00
Evan Rosky 2e183c5ce6 Merge "Part of fixing Splashcreen cts tests" into sc-v2-dev am: 2102a89ef6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341691

Change-Id: I8f08a563949d7479c8a74dfe409ee24797232346
2021-07-21 19:19:37 +00:00
TreeHugger Robot 57f94878b5 Merge "Always use INSIDE_TO_OUTSIDE scope when swiping to home in tablets" into sc-v2-dev am: 582a23260a am: 4a052020b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15346897

Change-Id: I7094fe43aeb7ef9ca40cce3e300162e6a81b70ad
2021-07-21 19:01:44 +00:00
TreeHugger Robot 6c71f688b2 Merge "End recents animation when entering split select" into sc-v2-dev 2021-07-21 18:55:54 +00:00
TreeHugger Robot 4a052020b1 Merge "Always use INSIDE_TO_OUTSIDE scope when swiping to home in tablets" into sc-v2-dev am: 582a23260a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15346897

Change-Id: Ib570e87f77497071afdfe4f2fa67d5fd95cafa53
2021-07-21 18:11:08 +00:00
Evan Rosky 2102a89ef6 Merge "Part of fixing Splashcreen cts tests" into sc-v2-dev 2021-07-21 18:01:09 +00:00
TreeHugger Robot 582a23260a Merge "Always use INSIDE_TO_OUTSIDE scope when swiping to home in tablets" into sc-v2-dev 2021-07-21 17:45:53 +00:00
Alex Chau 2450adf56f Always use INSIDE_TO_OUTSIDE scope when swiping to home in tablets
- In tablets user is either in home screen or there is a taskbar on screen, so swipe to home will always touches the launcher

Bug: 193653850
Test: StartLauncherViaGestureTests
Change-Id: Id1b05708324302eb4b4c2d623ca9fe27090188fc
2021-07-21 14:52:01 +01:00
TreeHugger Robot f938f54b2d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-07-21 13:18:44 +00:00
TreeHugger Robot 23a13c38d5 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-21 12:21:37 +00:00
Bill Yi 9430b16384 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia3bbd210b4d8753303a34741d00677b321a5ed14
2021-07-21 05:58:32 +00:00
Bill Yi 51ba91bf76 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I340d82d4b6e051e26eb9742bd7cf93cccec3cc80
2021-07-21 05:55:38 +00:00
Lucas Dupin b91a17ea9f Merge "Revert "Apply depth even when surface is null"" into sc-dev am: 8d43e46261 am: f82c463672
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341690

Change-Id: If58faa8b065591adac41d94012fa3988b81470e4
2021-07-21 00:51:06 +00:00
Lucas Dupin 33015a7d8f Merge "Revert "Apply depth even when surface is null"" into sc-dev am: 8d43e46261 am: 5ab5faf72e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341690

Change-Id: Ia49a91dd5e62cf0058b16ba92c9c452f8fbc2c74
2021-07-21 00:50:23 +00:00
Vinit Nayak fc02d3cf4a Merge "Move NavButtons to end of taskbar" into sc-v2-dev am: 6d2dd7a9e4 am: ce6907de48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15329808

Change-Id: I512d85536566883829bd3345c216248b06e00303
2021-07-21 00:44:42 +00:00
Lucas Dupin f82c463672 Merge "Revert "Apply depth even when surface is null"" into sc-dev am: 8d43e46261
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341690

Change-Id: I9faebe44fd95ed907376e93a3729bbdc3634b5ec
2021-07-21 00:36:24 +00:00
Lucas Dupin 5ab5faf72e Merge "Revert "Apply depth even when surface is null"" into sc-dev am: 8d43e46261
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15341690

Change-Id: I1c1d59d345c7b622c1a0c4c8bac3517c558a3ef7
2021-07-21 00:35:21 +00:00
Vinit Nayak ce6907de48 Merge "Move NavButtons to end of taskbar" into sc-v2-dev am: 6d2dd7a9e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15329808

Change-Id: I3b5bfe78c9da0a2215c376cb0f2007fb735d4a30
2021-07-21 00:30:11 +00:00
Vinit Nayak 6d2dd7a9e4 Merge "Move NavButtons to end of taskbar" into sc-v2-dev 2021-07-21 00:11:31 +00:00
Alex Chau c33b725c35 Merge "Wait for taskbar to become visible after closing launcher in tests" into sc-v2-dev am: 17e9b51e38 am: c8ec28885b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15301470

Change-Id: Ib7dbd2b47dc87e3bbe888af71c7727ca6f6ae3e0
2021-07-20 23:32:53 +00:00
Alex Chau c8ec28885b Merge "Wait for taskbar to become visible after closing launcher in tests" into sc-v2-dev am: 17e9b51e38
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15301470

Change-Id: Iec444f448028917ae26f993f08508e3b89ac71a6
2021-07-20 23:20:29 +00:00
Alex Chau 17e9b51e38 Merge "Wait for taskbar to become visible after closing launcher in tests" into sc-v2-dev 2021-07-20 22:59:31 +00:00
Evan Rosky 8fb6c2156b Part of fixing Splashcreen cts tests
This passes the launcher component name into the transition filter
so that it only matches if the launcher is the current home activity

Bug: 194112093
Test: atest SplashscreenTests
Change-Id: Ie2185545a5bef8b317e104b6ac878f6cde0d7350
2021-07-20 14:23:55 -07:00
Lucas Dupin ee9099af7f Revert "Apply depth even when surface is null"
This reverts commit a6c38be150.

Fixes: 193333562
Test: manual
Change-Id: I4fae079e0cd056fc800e5a15389f4795c77e17fb
2021-07-20 14:14:50 -07:00
Vinit Nayak 8dcbde87c0 Move NavButtons to end of taskbar
* Layout hotseat icons from the end instead of the start
* IME down and system back arrow are now separate views

Bug: 191399224
Test: Tested w/ RTL + LTR in gesture
and 3 button nav w/ and w/o IME

Change-Id: I4d0ecd0bee0c519892c63eeefef45055b26d349b
2021-07-20 13:55:37 -07:00
Alex Chau a5653a268f Merge "Check if running task is null in onPrepareGestureEndAnimation" into sc-v2-dev am: 1387248378 am: ebea5dd5fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15336930

Change-Id: Ia54d78d7bebbd8b52e36970973a64172463c3ee0
2021-07-20 20:37:44 +00:00
Alex Chau ebea5dd5fc Merge "Check if running task is null in onPrepareGestureEndAnimation" into sc-v2-dev am: 1387248378
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15336930

Change-Id: I17d222e8b82ac3d349e72f51e5841f0c68ac2757
2021-07-20 20:26:15 +00:00
Alex Chau cd791c5c9d Wait for taskbar to become visible after closing launcher in tests
- Taskbar takes some time to appear after closing launcher and launching test app

Bug: 193653850
Test: StartLauncherViaGestureTests
Change-Id: I714e35ee855660ac28bb214386f48ddbea0e834c
2021-07-20 21:11:08 +01:00
Alex Chau de6819a453 Check if running task is null in onPrepareGestureEndAnimation
- The crash happen when swiping to overview from home without any task in recents
- A simple null check fixes the issue

Fix: 194166137
Test: FallbackRecentsTest#goToOverviewFromHome
Change-Id: I9344a96a4a78fcfc88d2ad53e44ecd43b23114d5
2021-07-20 11:07:50 +01:00
Sunny Goyal b08a0deb77 Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev am: c3f56d7628 am: e3063ce2ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331678

Change-Id: I64734e46c241e8200c14bbd9c1d10baf0788e16c
2021-07-20 07:30:21 +00:00
Sunny Goyal b2576873fd Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev am: c3f56d7628 am: 1e741bd802
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331678

Change-Id: Iacf636b26d72579076fa844784d70cab6a7e732c
2021-07-20 07:25:46 +00:00
Sunny Goyal be0b070019 Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev am: c3f56d7628
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331678

Change-Id: Icd63f65f52646e638c35229c6069455e9b9cd08e
2021-07-20 07:17:28 +00:00
Sunny Goyal e3063ce2ef Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev am: c3f56d7628
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331678

Change-Id: I271a668f967485a2cc23f7c68c6de325d0e4643a
2021-07-20 07:16:43 +00:00
Sunny Goyal 1e741bd802 Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev am: c3f56d7628
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331678

Change-Id: I6c8939002922cea0af704971b7d188408716a7d7
2021-07-20 07:15:35 +00:00
Sunny Goyal c3f56d7628 Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev 2021-07-20 07:03:51 +00:00
Tony Wickham 73c7cfd861 Merge "Add taskbar stashing feedforward, i.e. hint at upcoming stash/unstash" into sc-v2-dev am: 5eb1045cee am: 965a9c9b35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302021

Change-Id: I27a93f8c244d2d95ccc5aa86b7bd3cbc48cdee03
2021-07-20 03:06:41 +00:00
Tony Wickham 965a9c9b35 Merge "Add taskbar stashing feedforward, i.e. hint at upcoming stash/unstash" into sc-v2-dev am: 5eb1045cee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302021

Change-Id: I0451b15ebc56036f3c9321cf835f2b519da833ff
2021-07-20 02:59:28 +00:00
Tony Wickham 5eb1045cee Merge "Add taskbar stashing feedforward, i.e. hint at upcoming stash/unstash" into sc-v2-dev 2021-07-20 02:44:28 +00:00
TreeHugger Robot f11d64387b Merge "Continue loading visible task data when scrolling recents during anim to home" into sc-v2-dev am: 0cc7f23e91 am: 4512ebc3ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331672

Change-Id: I00b3da988bb94b5bbb3cae136eee8227375fde95
2021-07-20 00:43:54 +00:00
TreeHugger Robot 4512ebc3ee Merge "Continue loading visible task data when scrolling recents during anim to home" into sc-v2-dev am: 0cc7f23e91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331672

Change-Id: I9228c64fbdbc93adc185bc2253c2519317b6c05b
2021-07-20 00:31:01 +00:00
TreeHugger Robot 0cc7f23e91 Merge "Continue loading visible task data when scrolling recents during anim to home" into sc-v2-dev 2021-07-20 00:17:47 +00:00
Sunny Goyal a1bed5428d Fixing quickswitch window not properly aligned in split-screen
Bug: 193992000
Test: Manual
Change-Id: Ic37cbc561a0299be1a1c05dfb17bd826c173100e
2021-07-19 17:10:12 -07:00
Tony Wickham 8a2c1cbc5a Add taskbar stashing feedforward, i.e. hint at upcoming stash/unstash
Also fix unstashing not working in 3P launchers by moving the unstash call from LauncherTaskbarUIController to TaskbarActivityContext

Test: long press taskbar background and stashed handle, watch it hint towards the new stashed/unstashed state respectively and then complete the animation when the long press is triggered
Fixes: 193926311
Fixes: 192926350
Change-Id: I0e538be9129bf5c600d07f360b8106d7077862ad
2021-07-19 14:09:33 -10:00
Tony Wickham a9f728e57b Continue loading visible task data when scrolling recents during anim to home
When we go from overview to home, we scroll to page 0 so that all tasks end up offscreen. However, since we are already in NORMAL state, we previously ignored loadVisibleTaskData() for the tasks as they scrolled by. Instead, we now continue loading task data while the scroller is unfinished.

Test: swipe to last recent task, swipe up to home, ensure thumbnails are still loaded as they scroll offscreen
Bug: 192522519
Change-Id: Iba770200fc5dbdfc91dccda9a6b9c891ab6c5e3d
2021-07-19 11:34:07 -10:00
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 26db50490a Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev am: b0ef69e886
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15312149

Change-Id: If3f95ed959ff8bef92ff49bca349c4c5b434996e
2021-07-19 19:07:14 +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 c39d1aa467 Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05 am: 70e8c0b022
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020

Change-Id: If3bee71b46586a6b26bc030e87166fdb3788e440
2021-07-19 18:14:34 +00:00