Commit Graph

19284 Commits

Author SHA1 Message Date
Sunny Goyal 615d893cb7 Merge "Fixing some thread errors in TouchInteractionService" into ub-launcher3-qt-dev
am: 1a66df255a

Change-Id: I16036763c01935133f39851acb3cc1a984e6be51
2019-06-10 17:51:31 -07:00
Vadim Tryshev a9e45099c4 Merge "Making sure that we drag icon far enough to cross the threshold" into ub-launcher3-qt-dev
am: 5d8283a87d

Change-Id: Ie54994f1f1851d277cb79a25223b844f20a8082e
2019-06-10 17:51:03 -07:00
TreeHugger Robot 1a66df255a Merge "Fixing some thread errors in TouchInteractionService" into ub-launcher3-qt-dev 2019-06-10 23:39:02 +00:00
Sunny Goyal 47860cf593 Fixing some thread errors in TouchInteractionService
Accessing internal objects only on the main thread and after the user has been unlocked.

Bug: 134971634
Change-Id: Iaf6a1e3ab9417836c5d34673997b0a03a76862c1
2019-06-10 16:30:11 -07:00
Zak Cohen 153f511ec5 Merge "Task footer - use temporary motion for show and hide." into ub-launcher3-qt-r1-dev 2019-06-10 23:07:41 +00:00
Vadim Tryshev 5d8283a87d Merge "Making sure that we drag icon far enough to cross the threshold" into ub-launcher3-qt-dev 2019-06-10 22:49:39 +00:00
Tony Wickham a0a0bc3413 Merge "Translate recents when attaching to app window instead of fading" into ub-launcher3-qt-dev
am: 0234edeb08

Change-Id: I0d4d559518d8202a40957a3c5c1e90ed72745a66
2019-06-10 15:41:20 -07:00
vadimt c026bf2f95 Making sure that we drag icon far enough to cross the threshold
Tests dragged icon from all apps to workspace by dragging it to the
center of the screen.

If the icon is close enough to the center, this may not trigger the
dragging condition.

Fixing by dragging far enough.

Bug: 133009122
Change-Id: I68127714ab3694f2639b4acf530e2736ca4dbdf3
2019-06-10 15:36:30 -07:00
TreeHugger Robot 0234edeb08 Merge "Translate recents when attaching to app window instead of fading" into ub-launcher3-qt-dev 2019-06-10 22:24:44 +00:00
Tony Wickham fa37c529e1 Translate recents when attaching to app window instead of fading
When attaching recents, translate it offscreen and use a spring to pull it
into position. When detaching, use the same spring to pull it back offscreen.

Bug: 129985827
Change-Id: I05339e2ec0932070365023bfafc83cbf2a4e178e
2019-06-10 15:15:40 -07:00
vadimt 9ae006222c Merge "Not assuming that the activity is Launcher for the fallback recents" into ub-launcher3-qt-dev
am: e61c8343e1

Change-Id: I77694efb0d152905da60c19ef1ddccd808a5db0e
2019-06-10 13:04:43 -07:00
TreeHugger Robot e61c8343e1 Merge "Not assuming that the activity is Launcher for the fallback recents" into ub-launcher3-qt-dev 2019-06-10 19:46:51 +00:00
vadimt 915fd75fae Not assuming that the activity is Launcher for the fallback recents
Bug: 134919468
Change-Id: Ibb3b11a5bf57848212c806f2023e4cf43c8a862b
2019-06-10 12:24:10 -07:00
vadimt af6325138b More tracing for b/133009122
am: 34b2f03b30

Change-Id: I4487817d7b2905bf8837a35a2e13147c63ed1344
2019-06-10 11:55:05 -07:00
vadimt 34b2f03b30 More tracing for b/133009122
Bug: 133009122
Change-Id: I09a95b88ea55e1759151b2bcd5ede0c1efa38e7e
2019-06-10 11:26:37 -07:00
vadimt 1b0b3aa1ba More tracing for b/133009122
am: c25d975342

Change-Id: Iee85b5a93612867c8eabae37b0d6fa1a388a4084
2019-06-07 13:11:43 -07:00
vadimt c25d975342 More tracing for b/133009122
Bug: 133009122
Change-Id: Ic843c3147d8a7513b6e2b8732af18458eae10d63
2019-06-07 12:13:11 -07:00
Hyunyoung Song 994d97daf8 Merge "Folder name should follow folder icon text color Bug: 134674880" into ub-launcher3-qt-dev
am: c11ea4e965

Change-Id: Ifa061aa75dd46f42b8b47c7825cbd696d84c77fb
2019-06-06 23:18:59 -07:00
TreeHugger Robot c11ea4e965 Merge "Folder name should follow folder icon text color Bug: 134674880" into ub-launcher3-qt-dev 2019-06-07 06:12:41 +00:00
Vadim Tryshev 9d14e5520e Merge "Freezing all apps updates during certain tests" into ub-launcher3-qt-r1-dev 2019-06-07 01:34:30 +00:00
vadimt 51d2cf913c Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev
am: bfe171f9cb

Change-Id: I86539398e74beb527cbede66143ff1c61990cca8
2019-06-06 17:31:41 -07:00
Hyunyoung Song 0aefac860f Folder name should follow folder icon text color
Bug: 134674880

Change-Id: Ic64e9a085bc689e90112a0e70a150aa1c237b033
2019-06-06 17:10:56 -07:00
TreeHugger Robot bfe171f9cb Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev 2019-06-07 00:10:30 +00:00
vadimt 0f08db5eeb Add tracing for b/134532571
Bug: 134172603
Bug: 134532571
Change-Id: I75c8e0212a9b35d33842d5380fbe733b486be932
2019-06-06 17:00:57 -07:00
Sunny Goyal bbbfc62c63 Merge "Disable seamless rotation for 3 and 2 button mode" into ub-launcher3-qt-dev
am: 19f7c6fefb

Change-Id: Iec2636f14a157e9a9b5e9c47e1c258b9158dc942
2019-06-06 15:58:04 -07:00
TreeHugger Robot 19f7c6fefb Merge "Disable seamless rotation for 3 and 2 button mode" into ub-launcher3-qt-dev 2019-06-06 22:45:47 +00:00
Sunny Goyal 0b1cb75ee8 Disable seamless rotation for 3 and 2 button mode
Bug: 134095068
Change-Id: I8603e49a85b5524a02c9085485a180b022e3f91e
2019-06-06 15:35:45 -07:00
Zak Cohen f1128d9f5e Task footer - use temporary motion for show and hide.
Bug: 125844074
Test: manual

Change-Id: I9a26760f4bd976d0c3475db1322ee0da639d8209
2019-06-06 14:37:19 -07:00
Vadim Tryshev 9788fbda66 Merge "Test: using RuleChain to create a correct order of rules." into ub-launcher3-qt-dev
am: 8278148e41

Change-Id: I764fef9315039c1272b63495c261a5ec83839220
2019-06-06 14:31:43 -07:00
Vadim Tryshev 8278148e41 Merge "Test: using RuleChain to create a correct order of rules." into ub-launcher3-qt-dev 2019-06-06 21:20:50 +00:00
vadimt 44e9a873fc Test: using RuleChain to create a correct order of rules.
Change-Id: I2eeb933eab8e5f19b1f80d47566a511ddbdeb28b
2019-06-06 14:02:33 -07:00
Jon Miranda 9c078a6b99 Merge "Reduce alpha delay 25ms to reduce flashy feeling of appearing large." into ub-launcher3-qt-dev
am: 256762251e

Change-Id: I99bd2383244e0b753ee18cb8657efe0bd0b676d0
2019-06-06 12:58:20 -07:00
TreeHugger Robot 256762251e Merge "Reduce alpha delay 25ms to reduce flashy feeling of appearing large." into ub-launcher3-qt-dev 2019-06-06 19:48:42 +00:00
Sunny Goyal f95a845924 Merge "Using a separate InputConsumer when Launcher is resumed but not focused" into ub-launcher3-qt-dev
am: 7183795ff8

Change-Id: Idafa9bc76dc8d22b3f69388824859d86e0737a81
2019-06-06 12:13:57 -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
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 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 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 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