Commit Graph

18510 Commits

Author SHA1 Message Date
vadimt 67d3fd574b Not using unstable Messages app in tests
Change-Id: I4811621613dc950ce5d16fc621b7f546170d8037
2019-04-03 15:44:19 -07:00
Winson Chung 41d58f7100 Add launcher logging of back button
Bug: 127848641
Test: adb shell setprop log.tag.UserEvent VERBOSE, then hit back
Change-Id: I020738280d2e51a8a192e577baf48c0b092f22f6
(cherry picked from commit df7d00328c)
2019-04-03 22:41:39 +00:00
TreeHugger Robot 131e0b1d18 Merge "Skipping touch dispatch when it happens withing the window gesture region" into ub-launcher3-master 2019-04-03 22:39:30 +00:00
Sunny Goyal 745df7c483 Skipping touch dispatch when it happens withing the window gesture region
> Those events are already proxied through the TouchInteractionService

Change-Id: If06483f208cbd462fdfdf01abba27bd937b766e7
2019-04-03 15:26:18 -07:00
Tony Wickham 93fbeb17ca Merge "Add system gesture exclusion rects for widget resize handles" into ub-launcher3-master 2019-04-03 21:55:10 +00:00
Tony Wickham a5fb60aae8 Add system gesture exclusion rects for widget resize handles
Change-Id: I67cae5d4cb27e4db36811f62480e7ab89e79bf49
2019-04-03 21:07:13 +00:00
Vadim Tryshev 1f95993e13 Merge "Not swiping from nav bar from Overview to all apps" into ub-launcher3-master 2019-04-03 20:21:29 +00:00
Sunny Goyal 65f2396ecd Merge "Adds the ability for Launcher3 to respond to QSB alpha change requests." into ub-launcher3-master 2019-04-03 20:20:12 +00:00
Sunny Goyal 2adfd57db8 Merge "Initial change for using input monitor for swipe up handling" into ub-launcher3-master 2019-04-03 20:20:12 +00:00
TreeHugger Robot 7da5bbeb71 Merge "Add logging for assistant gesture" into ub-launcher3-master 2019-04-03 19:54:20 +00:00
TreeHugger Robot 01ec89a2ac Merge "Use motion event time instead of system time when detecting motion pause" into ub-launcher3-master 2019-04-03 19:43:27 +00:00
vadimt 840ed21605 Not swiping from nav bar from Overview to all apps
This makes zer-button nav think that we are trying to go to home

Change-Id: I66c866ba850d417a527ca0b942adb837e3027e67
2019-04-03 12:36:53 -07:00
Hyunyoung Song ebc5f82ac5 Add logging for assistant gesture
Bug: 129867977
Change-Id: I6254bf06b7352f6076af229a581d4ebdd584a4a1
2019-04-03 12:31:42 -07:00
Tony 1274c7a3dc Use motion event time instead of system time when detecting motion pause
Bug: 129337684
Change-Id: Ie6e54658bf86094fbd9b6a8098e5ff147aafbfa7
2019-04-03 12:28:55 -07:00
Tracy Zhou 79c73fd21b Merge "Fix live tile overlay clipping part of the screen during swipe up to home animation" into ub-launcher3-master 2019-04-03 19:20:04 +00:00
TreeHugger Robot ace837494c Merge "Removing unused import in TouchInteractionService" into ub-launcher3-master 2019-04-03 18:13:32 +00:00
Sunny Goyal 27211592e1 Removing unused import in TouchInteractionService
Change-Id: I207e56189bbdb0105430a47f6a9069c6382354b2
2019-04-03 11:03:14 -07:00
Govinda Wasserman 24e489e5a3 Adds the ability for Launcher3 to respond to QSB alpha change requests.
Test: Tested locally
BUG:124063782
Change-Id: I8c4bfaa62d9608fcfffff5e30b2913f3a6fb2f75
(cherry picked from commit 827f0807d3)
2019-04-03 17:33:55 +00:00
Vadim Tryshev 0ca0188374 Merge "Ignoring testStressSwipeToOverview until the bug is fixed" into ub-launcher3-master 2019-04-03 01:15:30 +00:00
vadimt 066e5ec731 Ignoring testStressSwipeToOverview until the bug is fixed
Bug: 129723135
Change-Id: Ib4af82ffaaeb410fd354312b17cca124c147909a
2019-04-02 17:48:28 -07:00
Sunny Goyal ffd60be5cb Initial change for using input monitor for swipe up handling
Change-Id: Ie2cf982e86d7e47435db933bff13b29d45926c8b
2019-04-02 17:21:33 -07:00
Tony Wickham e6e07fa8b1 Merge "Make sure overview visibilty is GONE when it stops peeking" into ub-launcher3-master 2019-04-02 23:47:28 +00:00
Tony Wickham 96d065d87d Make sure overview visibilty is GONE when it stops peeking
Bug: 129711952
Change-Id: Ib33c3d360e8810e5cbf59049dd90ba28957dbe8f
2019-04-02 16:00:13 -07:00
Tony Wickham f242463256 Merge "Update logging for quick switch" into ub-launcher3-master 2019-04-02 22:17:33 +00:00
Tony Wickham 8eacdc0c0b Update logging for quick switch
Now we log direction based on end velocity, instead of only using
Direction.UP or DOWN based on end state. We also log the page index
that we are switching to, or -1 if it's the task we came from.

Bug: 127840207
Change-Id: I038d7c461957f25c55d3cdee01cc3e955ca4c4fa
2019-04-02 14:33:44 -07:00
TreeHugger Robot 26fa2d2bfd Merge "Fix icon shape refresh for widgets list / legacy shortcut black bg issue" into ub-launcher3-master 2019-04-02 19:38:39 +00:00
TreeHugger Robot a2acb43421 Merge "Fix issue with nav bar mode check in tests" into ub-launcher3-master 2019-04-02 19:08:16 +00:00
Winson Chung e809f3d78e Launcher landscape gesture nav
Bug: 128129398
Test: Rotate to landscape, ensure you can use gesture nav
Change-Id: I4630cbae9bf1cbabd83fb72d5eb09c9a435950e9
(cherry picked from commit 38b76942d6)
2019-04-02 11:39:43 -07:00
Winson Chung efd4eb98a2 Fix issue with nav bar mode check in tests
- Don't use the version with the baked in resource constant

Bug: 129697378
Change-Id: I9b7235d10d9493273495a507ddd662a01d8870c3
2019-04-02 11:22:32 -07:00
Tracy Zhou a3643e54a7 Fix live tile overlay clipping part of the screen during swipe up to home animation
Change-Id: I72cd99d145a251a8607ec40abcbc9b58fe32e938
Fixes: 128711026
Test: Manual
2019-04-02 11:10:30 -07:00
Hyunyoung Song 2bf3f37f5a Fix icon shape refresh for widgets list / legacy shortcut black bg issue
Bug: 118085499
Change-Id: Ifc3c711815567f40f109e95bcb76c01f23b4a3a2
2019-04-02 11:00:50 -07:00
Vadim Tryshev a8bd0527ef Merge "Improving TAPL diagnostics (contains changes in Launcher)" into ub-launcher3-master 2019-04-02 17:34:24 +00:00
TreeHugger Robot 3388e34799 Merge "Disable input while animating clear all on Go" into ub-launcher3-master 2019-04-02 00:41:55 +00:00
Kevin 1497112599 Disable input while animating clear all on Go
Prevent janky things from happening by preventing user input from going
through while the clear all animation is occurring.

Bug: 114136250
Test: Hit clear all => try to clear all / tap task, nothing happens
Change-Id: If7bd6b54e4b1b8185fafda990561973ea17b9648
2019-04-01 17:04:31 -07:00
TreeHugger Robot 0d90039f08 Merge "Swipe up from nav bar in OVERVIEW or ALL_APPS to go home" into ub-launcher3-master 2019-04-01 21:48:08 +00:00
TreeHugger Robot 3b4794f6d2 Merge "Boost correct layer for Recents Go transition" into ub-launcher3-master 2019-04-01 21:14:34 +00:00
TreeHugger Robot 639598245c Merge "Hook up Go recents view API to recents activity" into ub-launcher3-master 2019-04-01 21:06:46 +00:00
Tony e243a9493e Swipe up from nav bar in OVERVIEW or ALL_APPS to go home
Add NavBarToHomeTouchController, which intercepts touches from the nav bar
region when in overview or all apps.

Swiping up from all apps translates it up and slightly fades out app icons,
then letting go springs towards home screen.

Swiping up from overview translates it to the right, then letting go springs
towards the left where it lives in the home state.

Both cases have a strong deceleration while swiping.

Bug: 129571305
Bug: 111926330
Change-Id: I5b7de05f15f0300233343fa2d69fcad624e070f8
2019-04-01 15:48:51 -05:00
vadimt a734bd8d26 Improving TAPL diagnostics (contains changes in Launcher)
Bug: 128531133
Change-Id: Ice1ffecb39cf88afb546ceefdfca21abd879f35d
2019-04-01 13:43:46 -07:00
Jon Miranda bba6451b5f Refactor app open animation so that FloatingIconView tracks window.
Before, the window used to track the FloatingIconView. With this refactor,
both app open and app close use the same update method.

With the refactor, we can now use adaptive icons to morph the icon into the
size of the window.

Movement/interpolators are still the same as the original except for the
alpha and the clip animation. To ensure a perfect tradeoff, we wait for the
icon to match the size and shape of the window before crossfading.
Currently it is set up so that the tradeoff happens when the animation is
15% done, but this can be tuned later.

Bug: 122843905

Change-Id: I7d3edbefffb15fe26958a62ab33cf23dc1203908
2019-04-01 13:19:28 -07:00
Kevin 552071b5f4 Boost correct layer for Recents Go transition
For transition from app to fallback recents, the apps were on the same
Z-layer causing both to show up in the animation. We should instead
boost the closing app so that it's visually on top as it shrinks down.

Bug: 114136250
Test: Press overview in app to go to recents, behaves as expected
Change-Id: Iaca1e4fc1486721468a5bfffb1d139259d48739f
2019-04-01 13:00:57 -07:00
TreeHugger Robot e3e1044aed Merge "Fix crash on fallback recents Go activity" into ub-launcher3-master 2019-04-01 19:29:21 +00:00
Kevin b6320aeeb6 Hook up Go recents view API to recents activity
Hook up onBeginTransitionToOverview for fallback recents as well by
hooking it up to activity start.

Bug: 114136250
Test: Go to recents for fallback recents
Change-Id: I5445bce13ecf7c0dbc2f2b3ff0d8a0aee1449ae1
2019-04-01 12:06:43 -07:00
Kevin b2c73b43a1 Fix crash on fallback recents Go activity
Recents Go would crash when attempting to touch the fallback recents
activity since it's based off the base dragging activity in launcher
which assumes some touch controllers are initialized. As we leave
all touch input to hooks on the views themselves, we do not need touch
controllers and initialize an empty list instead.

Bug: 114136250
Test: Launch fallback recents activity, touch around
Change-Id: Ic136ace6f968d8c469c6f300daf4ee28fbde5e69
2019-04-01 11:20:56 -07:00
Hyunyoung Song 1ac6c84bda Add the config constant to SysUINavigationMode class
Bug: 128348746

Change-Id: I369e70bbd038ff0f75def83cadd98efce3f39385
2019-03-29 14:33:29 -07:00
Tony Wickham 9c436be5fa Merge "Update task view corner radius to match window as it goes fullscreen" into ub-launcher3-master 2019-03-29 20:36:40 +00:00
TreeHugger Robot 188106349c Merge "Add disabled boolean to FastBitmapDrawable constant state." into ub-launcher3-master 2019-03-29 19:48:33 +00:00
Tony 443ce071e2 Update task view corner radius to match window as it goes fullscreen
Bug: 129146690
Change-Id: I61f24d2ce07fd05653887626887e1ddaddee61d7
2019-03-29 14:06:03 -05:00
Vadim Tryshev c3e5d3ef1b Merge "Not swiping from nav bar when scrolling in all apps" into ub-launcher3-master 2019-03-29 19:01:48 +00:00
TreeHugger Robot 7f5083b7af Merge "Making navigation mode listener a singleton so that the change is dispatched everywhere synchronously." into ub-launcher3-master 2019-03-29 18:05:24 +00:00