Commit Graph
78507 Commits
Author SHA1 Message Date
Tony Wickham a1f5164734 Merge "Fix flicker to OVERVIEW state during quick switch" into ub-launcher3-qt-dev am: 215ab0ca87
am: d5270da80d

Change-Id: I8e897f970813f31c743017fca69f263b195da7b6
2019-06-06 12:12:56 -07:00
Tony Wickham d5270da80d Merge "Fix flicker to OVERVIEW state during quick switch" into ub-launcher3-qt-dev
am: 215ab0ca87

Change-Id: I04e1068111893c41a6ade925daf3f37259e0591f
2019-06-06 12:07:54 -07:00
TreeHugger Robot 7183795ff8 Merge "Using a separate InputConsumer when Launcher is resumed but not focused" into ub-launcher3-qt-dev 2019-06-06 19:06:30 +00:00
Sunny Goyal 6f479ff9de Using a separate InputConsumer when Launcher is resumed but not focused
When Launcher is not focused and we try to dispatch events to Launcher, it
can lead to a inconsistent state. For eg, NavBarTouchController was trying
to take launcher from NORMAL to NORMAL state causing the endCallback to be
called immediately, which in turn didn't clear Swipedetetor state

Bug: 132209249
Bug: 132815672
Change-Id: I82e4fdcb8fd5339e82fc8551f3a6e0b046d906f8
2019-06-06 11:57:54 -07:00
Tony Wickham 215ab0ca87 Merge "Fix flicker to OVERVIEW state during quick switch" into ub-launcher3-qt-dev 2019-06-06 18:55:14 +00:00
vadimt d4c90e12e9 Freezing all apps updates during certain tests
This CL adds a very low risk because most (but not all) changes affect
only Launcher behavior during the test.

This should fix a lab-only flake when all apps keeps changing while
the test is working with it.

Example: test figures out which icon to click, by the moment it clicks
there, there is another icon there, or the icon is under the search box,
and clicking opens IME.

Switching test devices to airplane mode didn't help. The earlier change
that prevents popup menu cancellation is not general enough.

Now the tests are given an API to explicitly freeze and unfreeze
all-apps, which should be a final solution.

Bug: 132900132
Bug: 133765434
Change-Id: I8b81cc9be004482beb6cdcdd05406e2d9b4c7629
2019-06-06 11:10:56 -07:00
android-build-team Robot 2a8d32d800 Snap for 5637155 from a97ce0ce9c to qt-qpr1-release
Change-Id: I1aa814e0740f3a2d949e51149b88e3b06e5a615e
2019-06-06 06:55:12 +00:00
android-build-team Robot eff60abd4f Snap for 5636702 from a97ce0ce9c to qt-c2f2-release
Change-Id: I1095d193e0aa2697e8d0a8c8b5c6f8eb76ce3573
2019-06-06 06:46:21 +00:00
android-build-team Robot e27b1b0f47 Snap for 5637134 from a3ed49d566 to qt-release
Change-Id: I1b80b42991fbe6a2f63acb912de9496cbee84ec7
2019-06-06 06:45:48 +00:00
vadimt 26e8b3ef9e Temporarily not using RuleChain as it mysteriously breaks tests am: 63013c5e57
am: 77d4204544

Change-Id: I0744c3bc91c3f712640c28fc5b186488eac715a5
2019-06-05 20:33:19 -07:00
Sunny Goyal 40ea322c58 Merge "Fixing wrong origin when launching new task from overview" into ub-launcher3-qt-dev am: bfaabbea81
am: 5db7cb9c2d

Change-Id: Ie13b8b06fa17b86298b1b59658b29b2a45063405
2019-06-05 20:33:03 -07:00
vadimt 77d4204544 Temporarily not using RuleChain as it mysteriously breaks tests
am: 63013c5e57

Change-Id: I0e105abbf0f3a52124f40a44ba4c5f0cc2bc2fc8
2019-06-05 19:55:38 -07:00
Sunny Goyal 5db7cb9c2d Merge "Fixing wrong origin when launching new task from overview" into ub-launcher3-qt-dev
am: bfaabbea81

Change-Id: Ie0939ae8c5286631da3ef08ffaf0151bdc81c7e6
2019-06-05 19:54:59 -07:00
vadimt 63013c5e57 Temporarily not using RuleChain as it mysteriously breaks tests
Change-Id: I8bdd9a8ea12cfdbd92fe724181e7479cadcb26fe
2019-06-05 18:34:23 -07:00
Tony Wickham df4727e8ee Fix flicker to OVERVIEW state during quick switch
Here's what was happening:
- When animating to a new task, the launcher controller ends first (when
  quick switching it likely ends immediately since we're already scaled up).
- Then we get onApplyWindowInsets(), which re-builds the launcher controller.
- Finally, the window animation ends, invalidating the handler and ending
  the new controller, which sets the state to OVERVIEW.

To fix this, never create a new controller if it has ever been started.

Bug: 133508173
Change-Id: Ibd0e18e488353df73159ffbdd9a3b335bed57d98
2019-06-05 17:19:20 -07:00
Sunny Goyal bfaabbea81 Merge "Fixing wrong origin when launching new task from overview" into ub-launcher3-qt-dev 2019-06-06 00:16:29 +00:00
Vadim Tryshev d16af940f2 Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev am: e7f313dc0c
am: be8f7d2845

Change-Id: I9d24a4ef7f5f44018863ab23cc86435de1ce2f78
2019-06-05 17:10:47 -07:00
Vadim Tryshev be8f7d2845 Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev
am: e7f313dc0c

Change-Id: I210029248261971df07524e7836a54bd721daa4e
2019-06-05 16:48:56 -07:00
Vadim Tryshev e7f313dc0c Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev 2019-06-05 23:34:05 +00:00
vadimt 7a38854284 Taking local screenshot before navigation state is restored
Change-Id: Id8003b17c68af5b4882bdbf5e14a142875791cbc
2019-06-05 16:18:55 -07:00
Tony Wickham 819201b5c8 Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev am: be1fde798c
am: dd31cda247

Change-Id: Ice5076609f68fa0dcaf2051d47c3ec2cbc8b354d
2019-06-05 15:42:31 -07:00
Tony Wickham dd31cda247 Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev
am: be1fde798c

Change-Id: I490a890b122a87a42e21b2dda30abb32c209a717
2019-06-05 15:36:30 -07:00
Tony Wickham be1fde798c Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev 2019-06-05 22:27:49 +00:00
Sunny Goyal 592beff857 Merge "Allowing tracing to be enabled using command line on all build flavors" into ub-launcher3-qt-dev am: 0d6856a108
am: 90e9352ee1

Change-Id: Ibce0229f606b00f49529996113680900b7b71baa
2019-06-05 15:24:25 -07:00
Sunny Goyal 90e9352ee1 Merge "Allowing tracing to be enabled using command line on all build flavors" into ub-launcher3-qt-dev
am: 0d6856a108

Change-Id: I8366486c5370ed34f2694b37be41f6fed7e66d54
2019-06-05 15:19:24 -07:00
Sunny Goyal 0d6856a108 Merge "Allowing tracing to be enabled using command line on all build flavors" into ub-launcher3-qt-dev 2019-06-05 22:04:25 +00:00
Sunny Goyal 07d30064b4 Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev am: 4ab6254bdc
am: 17ccea1ec9

Change-Id: I49250c599bef82b973025858123daeb5740ec57d
2019-06-05 14:53:46 -07:00
Sunny Goyal 17ccea1ec9 Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev
am: 4ab6254bdc

Change-Id: I6a4e56565114a30b9b98c640b54fb55c6ea10e15
2019-06-05 14:49:45 -07:00
TreeHugger Robot 4ab6254bdc Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev 2019-06-05 21:40:38 +00:00
Sunny Goyal b88d4a64fd Allowing tracing to be enabled using command line on all
build flavors

Change-Id: I5f8ee996bdcede2393eeb4aaa1b45fec7619d405
2019-06-05 14:09:51 -07:00
Zak Cohen 45f0678125 Remove unused hints code. am: 8d19146b7b
am: 55dfef4aa2

Change-Id: If41ccd6a666ee097c9a1b40edea933aa7a502920
2019-06-05 12:45:04 -07:00
Zak Cohen 55dfef4aa2 Remove unused hints code.
am: 8d19146b7b

Change-Id: Ib2d24730a4e11cb376851056324380d6f173b43d
2019-06-05 12:39:04 -07:00
Sunny Goyal bda6b45341 Fixing wrong origin when launching new task from overview
> Also removing some unnecessary layout passes during launch animation

Bug: 133226418
Change-Id: I36fe69827853366deb7c56ca25f39e20c1a0b825
2019-06-05 12:25:28 -07:00
Winson Chung 53da83749b Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev am: ff9fe09b3f
am: 4934b6f89f

Change-Id: I76721194f421843c6b9d2f124b59e1d56c37c1f0
2019-06-05 11:38:54 -07:00
Winson Chung 4934b6f89f Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev
am: ff9fe09b3f

Change-Id: Ife915a7d822a865da477979bb3ca290949843c69
2019-06-05 11:32:52 -07:00
Sunny Goyal 2fb6ae9d0c resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
am: 87c8a511cd

Change-Id: Ie63fe8078b1b9d29d76e1e6e9626fe0be914c100
2019-06-05 11:32:51 -07:00
Zak Cohen 8d19146b7b Remove unused hints code.
This layout is handled by the provider of the hints now.

Bug: 132886768
Test: manual
Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b
(cherry picked from commit f3231f417d)
2019-06-05 11:18:09 -07:00
Jon Miranda 88dd84254c Reduce alpha delay 25ms to reduce flashy feeling of appearing large.
Bug: 123900446
Change-Id: Ia8ff74eb6b65affbf5c6c1599f4d168b459f324e
2019-06-05 11:07:17 -07:00
Sunny Goyal 87c8a511cd resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4e177dfb7ba3bde6eb53f63c2f2df273feef90ee
2019-06-05 10:44:02 -07:00
Winson Chung 7922012811 Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566 am: 83070095a5
am: 6a6238e30a

Change-Id: I028cc49f3a866c124c63ad8a8158256cc0c91839
2019-06-05 09:20:44 -07:00
Winson Chung 951efc1649 Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566 am: a97ce0ce9c
am: d426b0c8c7

Change-Id: I4cbf6c66a461830182e01766782dcdf7feb27f3b
2019-06-05 09:19:15 -07:00
Winson Chung 6a6238e30a Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566
am: 83070095a5

Change-Id: I48e388a9e44115000556d107b04a35810cbae7a5
2019-06-05 09:17:53 -07:00
Winson Chung d426b0c8c7 Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566
am: a97ce0ce9c

Change-Id: I29556c4112c3c324b3996f5e36786cdbf78fd203
2019-06-05 09:14:55 -07:00
Winson Chung 83070095a5 Merging ub-launcher3-qt-dev, build 5633311
am: a3ed49d566

Change-Id: I502b6cfa5e9eb405cda4d51173bab3b3e3d7220c
2019-06-05 09:10:02 -07:00
Winson Chung a97ce0ce9c Merging ub-launcher3-qt-dev, build 5633311
am: a3ed49d566

Change-Id: I643bded8983912cc3a468b7cc5328c991be74faa
2019-06-05 09:09:58 -07:00
Tony ae087dc9b8 Fade out scrim when swiping to home
Bug: 134517106
Change-Id: Ica725e3a327c1c069e3859732ea6a878d361a3d8
2019-06-04 19:25:03 -07:00
vadimt cbbc48b894 Merge "Fixing All Apps's getting stuck in a non-updating state" into ub-launcher3-qt-dev am: 8789aa05a1
am: 8474ab2b9d

Change-Id: If1274e88a7cac6c097c8c34bef5e73b2676dcac7
2019-06-04 17:54:10 -07:00
Perumaal Shanmugam 05bfac35af Merge "Re-enable chips in qt-r1-dev" into ub-launcher3-qt-r1-dev
am: 067bce7d8a

Change-Id: I40b4ff9ab22af909d0a1cc32cca2f9dbc7528700
2019-06-04 17:53:25 -07:00
vadimt 8474ab2b9d Merge "Fixing All Apps's getting stuck in a non-updating state" into ub-launcher3-qt-dev
am: 8789aa05a1

Change-Id: I583ea8c9e6920aa072fa29087c51ce817e6b9d63
2019-06-04 17:51:24 -07:00
Winson Chung ff9fe09b3f Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev 2019-06-04 21:42:44 +00:00