Commit Graph

21292 Commits

Author SHA1 Message Date
android-build-team Robot 71fe58a7ff Snap for 5342135 from 57920a8087 to qt-release
Change-Id: Ie81274ec8abecf589aa94371510ac59247d9ef8a
2019-02-28 04:08:27 +00:00
android-build-team Robot d1647f3998 Snap for 5339364 from 3d6f8aab63 to qt-release
Change-Id: I994cf2f5a50d1c121e0cba654e8e10a92602a926
2019-02-27 04:16:25 +00:00
Tracy Zhou 57920a8087 Handle key events in Launcher.
Change-Id: I7531080a7534ba2788cebec723ce552609c92b1c
Fixes: 125551024
Test: Swipe up from app and press back. It takes user back to the current app.
2019-02-27 00:30:42 +00:00
Sunny Goyal 3d6f8aab63 Merging ub-launcher3-master, build 5338033
Test: Manual

Bug: 111926330 n Bug: 114136250 n Bug: 115854326 n Bug: 118891218 n Bug: 119290867 n Bug: 120550382 n Bug: 123539954 n Bug: 123541334 n Bug: 123900446 n Bug: 123915937 n Bug: 124252507 n Bug: 124255113 n Bug: 124392764 n Bug: 124451190 n Bug: 124741358 n Bug: 125795067 n
Change-Id: I4fa280443b9d79cb75e0a809d5da846459c907b0
2019-02-26 11:30:50 -08:00
Sunny Goyal b04dabf7ef Fixing Launcher3QuickStepGoIconRecents build
Change-Id: Ieef3872fbe0ba3e6412fe6fcbfc4e20ac785ab70
2019-02-26 09:43:50 -08:00
android-build-team Robot 020671c177 Snap for 5335706 from 9615cce5d6 to qt-release
Change-Id: I21649eceb90b92a6dc21b11f02ff6b6d3984f0ec
2019-02-26 04:15:38 +00:00
TreeHugger Robot cf50c1b01d Merge "Using different swipe length to switch to Overview." into ub-launcher3-master 2019-02-26 01:10:48 +00:00
vadimt a31f7eb68d Using different swipe length to switch to Overview.
Depends on whether swiping from Workspace or Background.

Change-Id: I0f647e85080ee1458a0f18cb132b87890379260e
2019-02-25 16:26:43 -08:00
TreeHugger Robot 900f14438f Merge "Remove several files from Recents Go src" into ub-launcher3-master 2019-02-25 23:40:28 +00:00
Kevin 576d203a91 Remove several files from Recents Go src
As Go will not be using RecentsView, there are several files that are
unneeded in the recents Go source. This moves these files to
recents_ui_overrides where they will be used for non-Go builds.

Bug: 114136250
Test: Build NexusLauncher, aospWithQuickstep, l3GoWithQuickstep
Change-Id: I9d0154a75f4f2c71b865d414448e262b3019b2b9
2019-02-25 14:53:04 -08:00
TreeHugger Robot 3ebf9deacb Merge "Reducing the swipe length for going to overview to account for recent threshold changes" into ub-launcher3-master 2019-02-25 22:43:45 +00:00
Sunny Goyal 50d5cb85f2 Reducing the swipe length for going to overview to account for
recent threshold changes

Bug: 125795067
Change-Id: I53a9b833cc1b73626fec13742f3ea5ccbfc6abb4
2019-02-25 14:32:37 -08:00
TreeHugger Robot 6873fe517b Merge "Stub out most of TouchInteractionService for Go" into ub-launcher3-master 2019-02-25 22:02:10 +00:00
Kevin eee12ee4cf Stub out most of TouchInteractionService for Go
Most of TouchInteractionService is not used in Go since we don't support
a lot of the gestures, so this code swaps the file and stubs out
everything except the atomic overview commands for Go only.

Bug: 114136250
Test: Manual test NexusLauncher, l3GoIconRecents
Change-Id: I449746d01d3bbf619663399deb9600f0e4ecc000
2019-02-25 13:39:42 -08:00
Vadim Tryshev e516cb1b9f Merge "Not using pressHome to start Launcher when tests are running in-proc" into ub-launcher3-master 2019-02-25 19:05:42 +00:00
Winson Chung 1de3c5078c Fix small issue with overscroll not being dampened on the left edge.
Change-Id: I113425e6bae2ff6f6f143526a7e06363fb8d4320
2019-02-25 18:56:21 +00:00
Xin Li 9615cce5d6 Merge stage-aosp-master into pi-dev-plus-aosp
am: 38d7807a91

Change-Id: If6fd53ab92a271b1615673e2e02ba25a47c04726
2019-02-25 01:29:55 -08:00
Xin Li 38d7807a91 Merge stage-aosp-master into pi-dev-plus-aosp
Bug: 126125118
Change-Id: I526da03b9e0cc2b6ac03f9112385c3072e14a2a2
2019-02-25 00:31:00 -08:00
Kevin f96d74017e Remove unused variable.
Remove an unused variable from FallbackActivityControllerHelper.

Test: Build NexusLauncher, l3GoIconRecents
Change-Id: I77b5ae40b9e6aee47f23e6c3b4f718e744987200
2019-02-22 16:50:40 -08:00
vadimt 1dc7ab885b Not using pressHome to start Launcher when tests are running in-proc
This is a risky business, as we can be broken by platform changes like:

b/118891218

Note that TAPL itself still uses pressing Home button.

Change-Id: I55772622fac5f19f6c9f19716a185bbfdbf602a9
2019-02-22 16:21:26 -08:00
TreeHugger Robot 517163e0ae Merge "Split FallbackActivityControllerHelper for Go" into ub-launcher3-master 2019-02-22 23:27:31 +00:00
TreeHugger Robot 4b88b357a7 Merge "Split TaskUtils for Go recents" into ub-launcher3-master 2019-02-22 23:27:30 +00:00
TreeHugger Robot 4dcb34fbb4 Merge "Split OverviewCommandHelper for Go recents." into ub-launcher3-master 2019-02-22 23:05:01 +00:00
Kevin 6fb2b78320 Split FallbackActivityControllerHelper for Go
This splits FallbackActivityControllerHelper for Go and non-Go depending
on the underlying recents implementation. We also introduce a
GoActivityControllerHelper implementation as a base class to share the
stubbed methods for the Go ActivityControlHelper implementations.

Bug: 114136250
Test: Manual test NexusLauncher, l3GoWithIconRecents
Change-Id: I8a061bb83a851dd1d9988af17194f3e4aed24bb0
2019-02-22 14:41:27 -08:00
Sunny Goyal 238124eb17 Ensure that icon and cached display size is always non-zero
Bug: 119290867
Change-Id: If9309df2f62f707b7ebd0c5808d4d872f6d63c61
2019-02-22 22:22:03 +00:00
Kevin 295954ba78 Split TaskUtils for Go recents
This CL splits the static methods in TaskUtils based off which ones
assume a RecentsView recents implementation. The new TaskViewUtils
is then only used by non-Go recents whereas the generic TaskUtils which
only deals with Task logic is shared.

Bug: 114136250
Test: Build NexusLauncher, l3GoIconRecents
Change-Id: If33d19dbdb421ae805767387a991769166e865c5
2019-02-22 14:01:33 -08:00
Kevin ef8a17b1d0 Split OverviewCommandHelper for Go recents.
This splits OverviewCommandHelper between a Go and non-Go version with
functionality differing depending on the underlying recents
implementation.

Bug: 114136250
Test: Build NexusLauncher, l3goWithQuickstep, l3goIconRecents
Change-Id: I7c78d7699e5599002de64b289b0c3a47c8c418f7
2019-02-22 11:26:32 -08:00
TreeHugger Robot 9ad094c626 Merge "Split AppToOverviewAnimation for Go" into ub-launcher3-master 2019-02-22 19:07:06 +00:00
TreeHugger Robot d3cb4c39e8 Merge "Fixing DWB toast sometimes being shown for badged apps" into ub-launcher3-master 2019-02-22 06:19:54 +00:00
Sunny Goyal dc67a77ac0 Merge "Using cachedEventDispatcher when swiping up on homescreen" into ub-launcher3-master 2019-02-22 06:04:55 +00:00
vadimt 70d5c728c6 Fixing DWB toast sometimes being shown for badged apps
Bug: 124741358
Test: Manual
Change-Id: I7e2be19fda031c7c445d1a0e4ecd245935e54838
2019-02-21 17:33:53 -08:00
Kevin 61cc109a72 Split AppToOverviewAnimation for Go
Split AppToOverviewAnimationProvider between a Go recents version and
non-Go version as the animation from the app to recents will be
different for Go recents.

Bug: 114136250
Test: Manual test NexusLauncher, l3goWithQuickstep, l3goIconRecents
Change-Id: Iefdafd3838579b780817568b8c707098b79a8cdb
2019-02-21 13:04:58 -08:00
TreeHugger Robot ba7d8e2ac4 Merge "Move hints from Go src." into ub-launcher3-master 2019-02-21 20:35:26 +00:00
Kevin 14a97986f0 Remove assist cache from go recents src.
Go recents does not build as it uses the recently removed assist
structure. This finishes the removal for the Go src as well.

Bug: 114136250
Test: Build launcher3GoIconRecents
Change-Id: Ifdb6dacfce72caaf2d072157956e6617338e73b0
2019-02-21 12:07:09 -08:00
Kevin f0c46645ea Move hints from Go src.
Currently, Go icon recents does not build because the shared hints src
uses resources only available in recents_ui_overrides. This fixes the
issue by moving out hints from the shared source to
recents_ui_overrides as Go recents will not use hints.

Bug: 114136250
Test: Build NexusLauncher, l3GoWithQuickstep
Change-Id: If416d6e45f1b390b76c195a9ecd89c4779e2281b
2019-02-21 12:00:57 -08:00
TreeHugger Robot 6c396fdf61 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-02-21 17:35:30 +00:00
Bill Yi 8a924860a8 Import translations. DO NOT MERGE
Change-Id: If286ea171fe2d58b96ce77d0fee6053bd40d9f78
Auto-generated-cl: translation import
2019-02-21 08:23:37 -08:00
android-build-team Robot a5c3f49dc5 Snap for 5325928 from b031a02fea to qt-release
Change-Id: I95518931013a1e9de605f4b7869b0edaa5755a21
2019-02-21 04:10:23 +00:00
Xin Li f70f75a06c DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: I3e647c28f1d233c3be941959806acb24d1e816b8
2019-02-20 16:19:38 -08:00
Sunny Goyal 4ee9b79a68 Using cachedEventDispatcher when swiping up on homescreen
Change-Id: I483030099a1b265bfa4df0e9fc0dabe101cc6797
2019-02-20 15:54:07 -08:00
Sunny Goyal 6dc4cb9092 Adding utility class to debug binder calls on UI thread
Change-Id: Ic25b788f3f8c9b01b986f148d9d4a568a610f8d5
2019-02-20 15:39:12 -08:00
TreeHugger Robot 9c5b0ed372 Merge "Passing all events to RecentsView instead of passing the calculated velocity" into ub-launcher3-master 2019-02-20 21:54:49 +00:00
Sunny Goyal 4bb8b06ef3 Passing all events to RecentsView instead of passing the calculated velocity
Velocity tracker is able to calculate the velocity using cached copy of motionEvent
as long as the event as correct timeStamp

Change-Id: I2b0f612e010fdfcf144d5bed928c5a96b36f3ac7
2019-02-20 13:45:27 -08:00
Miranda Kephart 1a359a261d Add hints in Overview
If the ENABLE_HINTS_IN_OVERVIEW flag is enabled, pulls chip hint
data (currently from the NavBarHint plugin; eventually from AiAi)
and shows the chips between the task view screenshot and the QSB.

Screenshot: https://screenshot.googleplex.com/Ww05W13XjBv

BUG:124390101

Change-Id: I7686673b705257eca31f2fa40e2744e197153c7c
2019-02-20 15:17:03 -05:00
Xin Li b031a02fea [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: 12330be612 -s ours am: b88fa9e4fe -s ours
am: 92fe36bab2 -s ours
am skip reason: subject contains skip directive

Change-Id: I74c9d80a68e3da2eaac749c5eeaf7e67a4a1bbb1
2019-02-20 12:15:53 -08:00
Xin Li 92fe36bab2 [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: 12330be612 -s ours
am: b88fa9e4fe -s ours
am skip reason: subject contains skip directive

Change-Id: I95557635f9ef977ed36e93ff3e8e65d9e59610a2
2019-02-20 11:42:22 -08:00
Xin Li b88fa9e4fe [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
am: 12330be612 -s ours
am skip reason: subject contains skip directive

Change-Id: I8a87e859ca637b2712f26778a8bfc2d0e0825594
2019-02-20 10:56:50 -08:00
Xin Li 8baff6dee7 [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 6ff829a083 -s ours am: f95552ba45 -s ours
am: 1989693ed3 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic4f3abc25173b5d8c9ca0e1731d4d9971a807332
2019-02-20 10:15:29 -08:00
Xin Li 1989693ed3 [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 6ff829a083 -s ours
am: f95552ba45 -s ours
am skip reason: subject contains skip directive

Change-Id: Idaef8517c97ae153b979fb73df6f8a7c866f8ce1
2019-02-20 09:28:17 -08:00
Xin Li f95552ba45 [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master
am: 6ff829a083 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib6172ad71bf923d5fcd067a987c4177bb39d08fc
2019-02-20 08:51:46 -08:00