Winson Chung
73b4cf7bb2
Merge "Fix regression in assistant window handling" into ub-launcher3-qt-r1-dev
...
am: 0727d59576
Change-Id: I9fbde5b101705ad9254a6ba668ff079a4f15c41f
2019-07-23 17:29:14 -07:00
Tony Wickham
dc9a1266ee
Merge "Set FastBitmapDrawable scale=1 before drawing it in DragView" into ub-launcher3-qt-r1-dev
...
am: b2e6a77b0d
Change-Id: I844464daa971af505c34c4566e2c4c8c35143dc8
2019-07-23 17:28:55 -07:00
vadimt
443f05052c
Merge "Adding debug tracing" into ub-launcher3-qt-r1-dev
...
am: 8578309f1b
Change-Id: If2f3b4d4a849e94449c4b06a567c12610547fc61
2019-07-23 17:28:32 -07:00
Winson Chung
0727d59576
Merge "Fix regression in assistant window handling" into ub-launcher3-qt-r1-dev
2019-07-24 00:12:28 +00:00
Tony Wickham
b2e6a77b0d
Merge "Set FastBitmapDrawable scale=1 before drawing it in DragView" into ub-launcher3-qt-r1-dev
2019-07-24 00:07:18 +00:00
TreeHugger Robot
8578309f1b
Merge "Adding debug tracing" into ub-launcher3-qt-r1-dev
2019-07-24 00:01:25 +00:00
vadimt
cd7b00853b
Adding debug tracing
...
Bug: 138251824
Change-Id: Ibe3de964aeacbf83fd46cc53fda7d15c9401fe4d
2019-07-23 16:49:48 -07:00
Vadim Tryshev
1fa0955aeb
Merge "TAPL: adding 1 to gesture margins to avoid accidentally triggering back" into ub-launcher3-qt-r1-dev
...
am: 068f4bde88
Change-Id: Ib3fa2054098fbfdc72189ebd78fe312c587bb9ca
2019-07-23 16:40:22 -07:00
Winson Chung
48ba8c864c
Fix regression in assistant window handling
...
- Skip the assistant as the running task when handling swipe up
- Also ensure that we fall into the overview input consumer if we are
swiping it from the assistant over home
- Skip accounting for the scroll offset when there is no running task
Bug: 136282913
Change-Id: I28e45e407702d6d6aebaa0232cd96ccb10047644
2019-07-23 16:25:46 -07:00
Vadim Tryshev
068f4bde88
Merge "TAPL: adding 1 to gesture margins to avoid accidentally triggering back" into ub-launcher3-qt-r1-dev
2019-07-23 23:17:08 +00:00
Zak Cohen
344bc96ae1
Merge "TaskView - add a getter for the bitmap data." into ub-launcher3-qt-r1-dev
...
am: 87477f5996
Change-Id: Id798408bcbf5a9ad10a58b6987a970b6c5ed28b8
2019-07-23 16:13:16 -07:00
Zak Cohen
87477f5996
Merge "TaskView - add a getter for the bitmap data." into ub-launcher3-qt-r1-dev
2019-07-23 22:51:28 +00:00
vadimt
a505381980
TAPL: adding 1 to gesture margins to avoid accidentally triggering back
...
Change-Id: I7152d60dffc2085313dc1466693b599e4efe0394
2019-07-23 15:48:02 -07:00
vadimt
e22e067435
Improving "Add automatically" recognition
...
am: 34828b1942
Change-Id: I413cc1a05bac3e3ad6ce9eded75fe1d2ca32cd2b
2019-07-23 14:50:58 -07:00
vadimt
34828b1942
Improving "Add automatically" recognition
...
Bug: 138152531
Change-Id: I204233f06a80d2d17b24dd9622c7a2152b1303a0
2019-07-23 13:54:05 -07:00
Tony Wickham
d418f3c3fa
Set FastBitmapDrawable scale=1 before drawing it in DragView
...
When we draw the icon to the DragView, we draw it
with the current scale, which is > 1 when animating
the icon down. Instead, we should always draw the
icon with scale 1 since the DragView itself is scaled.
Bug: 138236583
Change-Id: I6bca5cf28c54d58476240e0e68900a8f08ffe60b
2019-07-23 13:48:08 -07:00
vadimt
beb70a5aa4
Allowing both normal-case and uppercase versions of widget prompt
...
am: 44515f42c0
Change-Id: If4b2d7e4b9e8649a175e60cfee6520f2cb28d108
2019-07-23 13:40:44 -07:00
Vadim Tryshev
e8252595ae
Merge "Logging start and end of linear gesture" into ub-launcher3-qt-r1-dev
...
am: 2f0fdd6a7f
Change-Id: I51e9e694317c6b95392c5bd9118a3f8d6b51e0ba
2019-07-23 13:09:39 -07:00
vadimt
44515f42c0
Allowing both normal-case and uppercase versions of widget prompt
...
The prompt is "Add automatically"
Bug: 138152531
Change-Id: I5f1a15563e1e11768579711108a28070b72b4454
2019-07-23 12:41:13 -07:00
Vadim Tryshev
2f0fdd6a7f
Merge "Logging start and end of linear gesture" into ub-launcher3-qt-r1-dev
2019-07-23 19:26:54 +00:00
Vinit Nayak
15abc500ea
Refactor RecentTasksList ctor to be testable
...
Made ctor accept more arguments so we can
pass in mock objects for unit testing.
Test: Created RecentsTasksListTest.java, passes
adb shell am instrument -w -r -e debug false -e \
class 'com.android.quickstep.RecentTasksListTest' \
com.google.android.apps.nexuslauncher.tests/androidx.test.runner.AndroidJUnitRunner
Fixes: 135687618
Change-Id: Iffda661e9d5329a2a403060bde674ab81e4e720e
2019-07-23 11:49:19 -07:00
vadimt
20aa2e4f51
Logging start and end of linear gesture
...
Change-Id: Ie0756c89e3871b3f4e12849ef52c44f84a5ceeee
2019-07-22 16:54:29 -07:00
Tony Wickham
f05d3f8fd4
Revert the changes that prevented touch on RecentsView during animation
...
am: b6841ac630
Change-Id: Ia0c9ec7a600e5d3064297630d16eb862d486bf45
2019-07-22 15:57:55 -07:00
Tony Wickham
b6841ac630
Revert the changes that prevented touch on RecentsView during animation
...
The original bug that was solving seems to be fixed by other changes,
and this allows users to scroll, dismiss, etc on recent tasks before
fully reaching overview from an app.
Bug: 137487381
Change-Id: I28a708811bba3ce739ce261f19eb29558d8f0e7d
2019-07-22 12:39:59 -07:00
Tony Wickham
d9515f72f5
Finish recents animation when touching during animation to recents
...
am: 3fca6aaec2
Change-Id: Ibb855543b828a47f110275343d7b18b771c583bd
2019-07-22 11:57:51 -07:00
Tony Wickham
3fca6aaec2
Finish recents animation when touching during animation to recents
...
This regressed in ag/8542000, where we cancel the animation instead of
ending it. We should only cancel when going to home; in other cases, we
should still call end().
Bug: 137487381
Change-Id: I093954908c3ac747ec3132aa700c8be2f927631a
2019-07-19 16:53:00 -07:00
Zak Cohen
bc4d213535
TaskView - add a getter for the bitmap data.
...
This allows other components to get it directly from the view, rather
than retaining their own copy.
Bug: 137129923
Tested: Manual
Change-Id: Ibab307517c31cd3cb59b4d77ff390fd97546e86d
2019-07-19 15:14:53 -07:00
Vadim Tryshev
2adbee9a91
Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev
...
am: 3ab3c768f5
Change-Id: I9ce76715ff9970f031a326a81b167d0d9de2e740
2019-07-19 12:45:45 -07:00
Vadim Tryshev
3ab3c768f5
Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev
2019-07-19 19:25:46 +00:00
vadimt
21cd128141
Logging original exception in PortraitLandscapeRunner
...
Change-Id: I672e563df45f1f0dcdda5b1f863919f0150e73e6
2019-07-19 12:12:49 -07:00
Vadim Tryshev
690f98603b
Merge "Improving system health diags" into ub-launcher3-qt-r1-dev
...
am: a7b3de9e45
Change-Id: I1e178abac0518f801932c8e23529a0d5a8e95d84
2019-07-19 11:33:34 -07:00
Vinit Nayak
f9b585b507
Don't specify 1P Launcher3 type if 3P Launcher is active
...
Instead of referencing Launcher directly (which may not be
present when there's a 3P launcher), reference the lowest
common ancestor of Launcher and RecentActivity to avoid
ClassCastExceptions.
Test: Visually inspected that Pixel Launcher crash dialog
no longer pops up.
* Install 3P launcher
* In developer options enable "enable freeform windows"
* Restart phone for settings to take effect
* Try to use it on any app you have in recent tasks
Fixes: 135419782
Change-Id: Ie1f54880ab46956b23e253850ca7f79b161da9bd
2019-07-19 11:11:35 -07:00
Vadim Tryshev
a7b3de9e45
Merge "Improving system health diags" into ub-launcher3-qt-r1-dev
2019-07-19 17:59:14 +00:00
vadimt
76d2a6fcc3
Improving system health diags
...
Change-Id: I207c5b9c9ad9e99646419b7a4bd77b59a067f26d
2019-07-19 10:40:25 -07:00
vadimt
d3c2a6cecf
Fix waiting for launcher initialization
...
am: c8d496fe00
Change-Id: I7d764152d5d9da8c9df8db479dd01683d9e6148a
2019-07-18 19:10:06 -07:00
vadimt
c8d496fe00
Fix waiting for launcher initialization
...
Bug: 137836033
Change-Id: Ifc8ce867abd85eaeacd09a2b39636ecc4109c046
2019-07-18 18:31:49 -07:00
Hyunyoung Song
7f7ba484a8
Merge "Guard against NPE inside BaseIconFactory Bug: 137253043" into ub-launcher3-qt-r1-dev
...
am: b1b4562a46
Change-Id: If97029ff59cc426db1dd4a7d433a5ab264eabeba
2019-07-18 16:56:00 -07:00
Hyunyoung Song
b1b4562a46
Merge "Guard against NPE inside BaseIconFactory Bug: 137253043" into ub-launcher3-qt-r1-dev
2019-07-18 23:31:45 +00:00
Vadim Tryshev
0a973fee1b
Merge "Improving TAPL code around fallback recents" into ub-launcher3-qt-r1-dev
...
am: 4c557438bc
Change-Id: I877f1efaacbb200487b4d1952b3de208fe690a5d
2019-07-18 16:02:19 -07:00
Tony Wickham
6e6ebe9db3
Merge "Allow TouchControllers to override shouldDisableGestures" into ub-launcher3-qt-r1-dev
...
am: 6670435c14
Change-Id: If4a2599b3011001d1ef09fb36e07778383b60fe1
2019-07-18 16:01:53 -07:00
Vadim Tryshev
4c557438bc
Merge "Improving TAPL code around fallback recents" into ub-launcher3-qt-r1-dev
2019-07-18 22:31:30 +00:00
Tony Wickham
6670435c14
Merge "Allow TouchControllers to override shouldDisableGestures" into ub-launcher3-qt-r1-dev
2019-07-18 22:27:54 +00:00
vadimt
c0a1b7046d
Improving TAPL code around fallback recents
...
Change-Id: I9cd1caa2725f1d3967447130f4e34c4cf878514b
2019-07-18 15:12:24 -07:00
Tony Wickham
f33b6d4378
Allow TouchControllers to override shouldDisableGestures
...
Currently only StatusBarTouchController overrides this to always return
false, so that you can swipe down for notifications during transition to
home screen from an app (in gesture nav).
Bug: 137161198
Change-Id: I803c37937d5294810cbe0c1bbffcd5dddcc5ca3b
2019-07-18 15:10:21 -07:00
Pinyao Ting
bca0d254ec
Merge "do not close widgets that are safe for rebind upon orientation change" into ub-launcher3-master
2019-07-18 19:56:18 +00:00
Pinyao Ting
a74b63aa07
do not close widgets that are safe for rebind upon orientation change
...
bug: 135608744
Change-Id: I58e9e44eb61f3b22df6ec656ac864f6da3fb479f
2019-07-17 23:26:06 -07:00
Jon Miranda
e522e1a48b
Skip TouchInteractionService preload if restore task is pending.
...
am: 11b5535556
Change-Id: Ib171b70a1f65f8e40909e9e587cc2b970df14c8b
2019-07-17 22:02:40 -07:00
Jon Miranda
11b5535556
Skip TouchInteractionService preload if restore task is pending.
...
Otherwise the preload may cause launcher to restore too early, resulting
in data loss.
Bug: 131315856
Change-Id: I4412c8f691286ba142e9c748a908a3ed42713a82
2019-07-17 21:24:07 -07:00
vadimt
cfc025c10e
Fixing starting scrolls outside of view
...
am: 04ca73b590
Change-Id: I5f67d83a0c10e503de70c0a2dc16dc3c7d0b4feb
2019-07-17 19:42:41 -07:00
vadimt
04ca73b590
Fixing starting scrolls outside of view
...
Change-Id: I0237603d25edc60522c41a3d20615391d5b4f3b6
2019-07-17 18:55:53 -07:00