Commit Graph

2695 Commits

Author SHA1 Message Date
vadimt
fe2d10e90a Merge "Removing debug tracing for a fixed bug" into ub-launcher3-qt-qpr1-dev am: b72cd2629c
am: eda5c215b7

Change-Id: Ie37cd755184c954ada7c14faf99241b954f8ce22
2019-09-25 12:28:05 -07:00
vadimt
eda5c215b7 Merge "Removing debug tracing for a fixed bug" into ub-launcher3-qt-qpr1-dev
am: b72cd2629c

Change-Id: Id28e20b5fe23c6f6501f3c7a38305f0a306b287a
2019-09-25 12:21:06 -07:00
vadimt
49b64a98ca Removing debug tracing for a fixed bug
Bug: 141275518
Change-Id: I171361d4f797f587b404eed07108224d8ab844f8
2019-09-25 11:26:56 -07:00
Vadim Tryshev
c86abf0ed0 Merge "Removing temporary checks that tests are running on AVD" into ub-launcher3-qt-qpr1-dev am: 6929199c8a
am: ec1ae481d4

Change-Id: I3cf67561ae50575486db5360d0139ff916c5dfaf
2019-09-24 18:24:50 -07:00
Vadim Tryshev
ec1ae481d4 Merge "Removing temporary checks that tests are running on AVD" into ub-launcher3-qt-qpr1-dev
am: 6929199c8a

Change-Id: Iaa6200f0371a4deca630194ac8ecfcfc04313750
2019-09-24 18:18:19 -07:00
Vadim Tryshev
6929199c8a Merge "Removing temporary checks that tests are running on AVD" into ub-launcher3-qt-qpr1-dev 2019-09-25 00:56:05 +00:00
vadimt
926e29f8b6 Removing temporary checks that tests are running on AVD
Bug: 136278866
Change-Id: I2b7b63b7745936ea84b7cba599e21d954b682ba5
2019-09-24 17:19:51 -07:00
Tony Wickham
d82b32f30f Merge "Move offscreenTranslation calculation to LauncherRecentsView" into ub-launcher3-qt-future-dev
am: ffa00614b4

Change-Id: I6cdc1d86cca45372b1ec678c431ffcfa675cc9d9
2019-09-24 16:34:02 -07:00
TreeHugger Robot
ffa00614b4 Merge "Move offscreenTranslation calculation to LauncherRecentsView" into ub-launcher3-qt-future-dev 2019-09-24 23:25:46 +00:00
Sunny Goyal
599e95bdde Fixing some tests
> Adding retry to fallback recents tests
> Fixing provider test after provider name change
> Fixing AllApps icon detection when there is no more scroll available

Bug: 141390432
Bug: 141523101
Bug: 141517004
Bug: 141524555
Bug: 141522764
Change-Id: I425638d20c053206134835dabde819f16160f035
2019-09-24 15:10:06 -07:00
Tony Wickham
8a1ba838f4 Move offscreenTranslation calculation to LauncherRecentsView
Couple of benefits here:
- Doesn't rely on having a measured TaskView, since it already knows how
  to calculate the task size
- Code can be shared (planning to use this for quick switch from home)

Bug:
Change-Id: I517a78506ac95fcc37d9225a074427941d691903
2019-09-24 14:23:26 -07:00
vadimt
bba8c98de3 Removing "Failed to get system health diags" message from fallback tests
am: 9b1c168273

Change-Id: I4528370073f0258e5f0276dfb1d71dae9816ddea
2019-09-24 13:13:12 -07:00
vadimt
9b1c168273 Removing "Failed to get system health diags" message from fallback tests
Now getting diags though the test process that has right permissions.

This doesn't fix other failures in fallback tests.

Bug: 141517004
Change-Id: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
Merged-in: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
2019-09-24 19:31:35 +00:00
vadimt
6096451dbf Removing "Failed to get system health diags" message from fallback tests
Now getting diags though the test process that has right permissions.

This doesn't fix other failures in fallback tests.

Bug: 141517004
Change-Id: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
2019-09-24 19:30:02 +00:00
Winson Chung
280242e5dd Merge "Updating launcher interface for recents animation change" into ub-launcher3-master 2019-09-24 05:26:59 +00:00
vadimt
e139dee1c3 Merge "Removing debug tracing for flakes that stopped reproing" into ub-launcher3-qt-qpr1-dev am: 76aadac4e4
am: 6d5511a42f

Change-Id: I7df8a8322bae3fa6aed5978679f477c90fe14dc0
2019-09-23 15:04:06 -07:00
vadimt
6d5511a42f Merge "Removing debug tracing for flakes that stopped reproing" into ub-launcher3-qt-qpr1-dev
am: 76aadac4e4

Change-Id: I5099741d3502584f7d501d74897944edc3339977
2019-09-23 14:56:04 -07:00
vadimt
5466699f0b Removing debug tracing for flakes that stopped reproing
Bug: 139941530
Bug: 140311911
Change-Id: Idf4c013373e627db92aa96f9207e25336ee039f8
2019-09-23 13:57:32 -07:00
Winson Chung
eff177a7f2 Fix wrong check for debug mode
Bug: 140246642
Change-Id: I4ce7cf623fe31d53fd9f6506f339d51a64ed8f8d
2019-09-23 20:11:43 +00:00
Tony Wickham
521224131e resolve merge conflicts of 5c229885fc to ub-launcher3-qt-future-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.

Change-Id: I41247ff46308b72158731e4a47466533d42e67c6
2019-09-20 16:22:59 -07:00
Tony Wickham
5c229885fc Merge "Don't crash when swiping up if there are no TaskViews" into ub-launcher3-qt-qpr1-dev 2019-09-20 22:44:28 +00:00
TreeHugger Robot
25986ffd64 Merge "Adding test to check view inflation during swipe up" into ub-launcher3-master 2019-09-20 22:44:01 +00:00
Sunny Goyal
8f90d5da8a Adding test to check view inflation during swipe up
Bug: 137851409
Change-Id: Ic8e6f0b3c667051b921d1d4fad03c94122ee92e9
2019-09-20 15:36:02 -07:00
Winson Chung
1b231ecc56 Updating launcher interface for recents animation change
Bug: 140626334
Change-Id: Ib8e837c157bb99db429b7936fdf111e05170ac25
2019-09-20 15:15:43 -07:00
Tony Wickham
60bf8c117b Don't crash when swiping up if there are no TaskViews
This can happen in LockTask mode, after enabling Overview. In that case,
you are locked to the current task, but are allowed to go to overview
but no tasks are shown there.

Bug: 139917483
Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
Merged-In: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
2019-09-20 22:01:18 +00:00
Tony Wickham
9e88a6d8be Don't crash when swiping up if there are no TaskViews
This can happen in LockTask mode, after enabling Overview. In that case,
you are locked to the current task, but are allowed to go to overview
but no tasks are shown there.

Bug: 139917483
Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
2019-09-20 21:58:30 +00:00
TreeHugger Robot
3a5d7cca9e Merge "Updating animation start callback" into ub-launcher3-master 2019-09-20 21:31:20 +00:00
TreeHugger Robot
8fbbbe0687 Merge "Fixing some tests for 2-button mode" into ub-launcher3-master 2019-09-20 17:54:25 +00:00
Winson Chung
f779e78789 Updating animation start callback
Bug: 140626334
Test: Builds
Change-Id: I86e8d448188d21f0318ac2ea053a8394a1d0cf1a
2019-09-20 17:40:17 +00:00
Sunny Goyal
3d56046ff8 Fixing some tests for 2-button mode
Bug: 141315387
Change-Id: I66db3e790f5fbe6bc30999ed599cce03874509be
2019-09-20 10:40:14 -07:00
Sunny Goyal
eb71cef629 Playing wallpaper animation if Launcher is destroyed
Bug: 140539007
Change-Id: I6573eafda353f4f399768613ef068de86c8f37f4
2019-09-20 09:53:47 -07:00
vadimt
151fddfb71 Adding tracing for a lab-only flake. am: 9f6cde1443
am: ca939f073c

Change-Id: I5218b4792ca2e37f61ec54a67d7dbb04b1d42872
2019-09-19 17:32:43 -07:00
vadimt
ca939f073c Adding tracing for a lab-only flake.
am: 9f6cde1443

Change-Id: I31ce596847aa1506cefbde711ae6ad6f3e3b777e
2019-09-19 17:25:43 -07:00
vadimt
9f6cde1443 Adding tracing for a lab-only flake.
Bug: 141275518
Change-Id: I95544a55ef13002f696a82e52d54ffb6251d0e39
2019-09-19 16:07:05 -07:00
Shashwat Razdan
0c2a248109 Added AppLaunchEventsPlugin which relays app launch/dismiss events to
all connected plugins.
Listener for this plugin is added in PredictionAppTracker which receives
all app events.

Change-Id: Iec53d20272f6a587f78e3d84666efa4f02cf6962
(cherry picked from commit ae084dafd9)
2019-09-19 05:08:54 +00:00
Winson Chung
a879f9c481 Adding binder tracking support in tests
- Whitelist specific binder calls when handling touch during swipe up
  gestures
- Only track binding for touch handling and certain launcher lifecycle
  changes for now

Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
Tony Wickham
1d61043002 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev am: 24fb1526e2
am: cdcfd98c05

Change-Id: Iecef9fc4fb5c1dd467581468f6b8edc5becc95fa
2019-09-18 08:18:42 -07:00
Tony Wickham
cdcfd98c05 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev
am: 24fb1526e2

Change-Id: I59bf92b05d45c31705166e1211cf02ccbc348383
2019-09-18 08:12:41 -07:00
Tony Wickham
24fb1526e2 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev 2019-09-18 14:54:20 +00:00
Tony Wickham
0638249b3e Allow scroll to clear all in 3 button+fallback mode
We weren't calling onSwipeUpToRecentsComplete(), which meant we kept the
disallowScrollToClearAll from prepareRecentsUi indefinitely.

Also don't update the icon scale if it is supposed to be scaled down, to
avoid it from scaling up and overlapping with the app window.

Fixes: 141184247
Change-Id: I49406764373e7121e289da7477dcbb58d0b98fd5
2019-09-17 15:10:33 -07:00
Sunny Goyal
ed83cf6df0 Adding recents test for 3P Launcher
Bug: 140749967
Change-Id: I3644822accfd229d1e46ca5e43ad827aef776787
2019-09-17 13:41:10 -07:00
Jonathan Miranda
903abfc48f Merge "Support defining X column layout for all apps as a display option." into ub-launcher3-qt-future-dev
am: 315732e524

Change-Id: I1c47d689fbec052859d5fdbfcf8d10b07ddd0202
2019-09-17 11:25:21 -07:00
Tony Wickham
4aa0a6ca7c Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev am: fc520edbc6
am: 3ff1000632

Change-Id: I34b83f2038a6cb20e39c95aeba310e201060b564
2019-09-16 17:37:58 -07:00
Sunny Goyal
34ca0d3c62 Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev am: 791dd73217
am: 30d998c625

Change-Id: Icd3d2bd914ba30bed3257de33af00ae201ecf17b
2019-09-16 17:37:24 -07:00
Hyunyoung Song
fe2e430a71 Merge "resolve merge conflicts of 057059665e to ub-launcher3-master" into ub-launcher3-master 2019-09-17 00:15:15 +00:00
Jon Miranda
6f7e9702e3 Support defining X column layout for all apps as a display option.
Bug: 124967099
Change-Id: I7bf576759b3fa4f6ca617fbbd660541c12fd09ac
2019-09-16 16:24:59 -07:00
Hyunyoung Song
338e4ea7df resolve merge conflicts of 057059665e to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: I8a92d1389acbefc5bf33ef9760373bfbf54d682b
2019-09-16 15:29:37 -07:00
Tracy Zhou
6b272369e7 Make sure that live tile overlay is added only once.
Users report seeing empty launcher. After adding some logging, live tile
overlay can be added twice and removed only once. I added some logic to
make sure that it can only be added once.

Test: manual
Fixes: 135864059
Change-Id: I9d3325c56e76654f1397cc65979b97a6c0a80aee
(cherry picked from commit d3ef57b4dd)
(cherry picked from commit 4fa6f63ffd)
2019-09-16 20:52:35 +00:00
Shashwat Razdan
ae084dafd9 Added AppLaunchEventsPlugin which relays app launch/dismiss events to
all connected plugins.
Listener for this plugin is added in PredictionAppTracker which receives
all app events.

Change-Id: Iec53d20272f6a587f78e3d84666efa4f02cf6962
2019-09-16 13:27:13 -07:00
Tony Wickham
3ff1000632 Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev
am: fc520edbc6

Change-Id: I8e5b43a582bd243e21f02b5a83b931f4f277eb95
2019-09-13 14:29:31 -07:00