Jon Miranda
8dd67c0d68
Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev am: 1d43df01a4
...
am: cd914c41bc
Change-Id: I55ea1c75c3111592e0964bb3af9049778fb139d5
2019-05-29 12:50:14 -07:00
Vadim Tryshev
956a9c5176
Merge "Enabling tests for pausing apps" into ub-launcher3-qt-dev am: 8ffa234955
...
am: b0496c5ba0
Change-Id: Iae7352128169d57c3065a35e66007d02b430fd02
2019-05-29 12:44:13 -07:00
Jon Miranda
cd914c41bc
Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev
...
am: 1d43df01a4
Change-Id: I1d7de3bbf6090ce57770825e354fc7890da5e9df
2019-05-29 12:44:13 -07:00
Vadim Tryshev
b0496c5ba0
Merge "Enabling tests for pausing apps" into ub-launcher3-qt-dev
...
am: 8ffa234955
Change-Id: I148a5e32c5310ca59b8bf73b1d63f600946e709f
2019-05-29 12:39:13 -07:00
TreeHugger Robot
1d43df01a4
Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev
2019-05-29 19:33:58 +00:00
Vadim Tryshev
8ffa234955
Merge "Enabling tests for pausing apps" into ub-launcher3-qt-dev
2019-05-29 19:23:57 +00:00
vadimt
8296c6132d
Enabling tests for pausing apps
...
Bug: 123892607
Change-Id: I1fa90f6dd4312b9311b8e706b2119dc04e3e2389
2019-05-29 12:07:55 -07:00
Sunny Goyal
48f1e57ca0
Merge "Fixing ANR when loader task could run while helding the lock object" into ub-launcher3-qt-dev am: 88faafd4e7
...
am: 593564284a
Change-Id: I0ae3a521787e52f8cf0dd99a64bdc69461c58df1
2019-05-29 11:57:59 -07:00
Sunny Goyal
593564284a
Merge "Fixing ANR when loader task could run while helding the lock object" into ub-launcher3-qt-dev
...
am: 88faafd4e7
Change-Id: I1d346260c4b0be99ecd15fbba1644a1c9619236d
2019-05-29 11:52:58 -07:00
TreeHugger Robot
88faafd4e7
Merge "Fixing ANR when loader task could run while helding the lock object" into ub-launcher3-qt-dev
2019-05-29 18:35:55 +00:00
Sunny Goyal
51f220dac2
Fixing ANR when loader task could run while helding the lock object
...
During AppWidgetRestoredReceiver, we call forceReload from worker thread
which in turn starts the loader while holding mLock. This causes other
loader calls on UI thread to cause ANR
Bug: 133651528
Change-Id: Iabf983c4319bd6e6ef88e74fe6076289294454f9
2019-05-29 11:07:10 -07:00
Vadim Tryshev
5fbee37d8e
Merge "Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes" into ub-launcher3-qt-dev am: e01f5f4bd7
...
am: c01c40e692
Change-Id: I7f324ddafda33f7c95854fc9f348f5f1b61e5213
2019-05-28 19:50:23 -07:00
Vadim Tryshev
c01c40e692
Merge "Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes" into ub-launcher3-qt-dev
...
am: e01f5f4bd7
Change-Id: I215081a4a9501231e849564f75b15b9e323b663b
2019-05-28 19:45:21 -07:00
Bill Yi
479b6495cf
[automerger skipped] Import translations. DO NOT MERGE am: 9789beae0e -s ours
...
am: bffbb6b060 -s ours
am skip reason: subject contains skip directive
Change-Id: Id00fea5ed1ec1b91c95dd641785499aca3daf205
2019-05-28 19:45:20 -07:00
Bill Yi
bffbb6b060
[automerger skipped] Import translations. DO NOT MERGE
...
am: 9789beae0e -s ours
am skip reason: subject contains skip directive
Change-Id: I6b392e470d952228315b12701d2256460126506e
2019-05-28 19:41:19 -07:00
Vadim Tryshev
e01f5f4bd7
Merge "Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes" into ub-launcher3-qt-dev
2019-05-29 02:35:57 +00:00
vadimt
b77b018ec7
Increasing activated-task wait time to 60000 ms am: f9bf37d569
...
am: 42c8e85e5e
Change-Id: I5e0919ff7d668f354158d7b86abcbcea8e8066cc
2019-05-28 19:20:16 -07:00
vadimt
42c8e85e5e
Increasing activated-task wait time to 60000 ms
...
am: f9bf37d569
Change-Id: I791065119575c2db0f54f24276ec82c3e7522c97
2019-05-28 19:15:15 -07:00
vadimt
3369d7308f
Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes
...
Bug: 132460627
Change-Id: I2af5bba289781a122cf9253833915b0e8cddd79c
2019-05-28 19:15:04 -07:00
Bill Yi
9789beae0e
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I029f3fe3ecc187db70a0e86ed98f498f04be1d0a
2019-05-28 19:13:27 -07:00
vadimt
f9bf37d569
Increasing activated-task wait time to 60000 ms
...
Bug: 112282235
Change-Id: I14f63ce77395b9f95743a6fb36c0b02a80a8983f
2019-05-28 18:35:36 -07:00
Vadim Tryshev
98d3c7edea
Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev am: 666b60a074
...
am: 9bb2efe14f
Change-Id: I8d6beda40e19218148c7c59e187e51fbd540123e
2019-05-28 17:52:57 -07:00
Vadim Tryshev
9bb2efe14f
Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev
...
am: 666b60a074
Change-Id: I2191c4ed1b405e13a55cf35c7398e021b80c9063
2019-05-28 17:47:56 -07:00
Vadim Tryshev
666b60a074
Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev
2019-05-29 00:41:10 +00:00
vadimt
aa8019308b
Fixing pressHome when a context menu is visible
...
Bug: 132460627
Change-Id: I78064166fccd3a29bcb3fa6175bd4937ae032a98
2019-05-28 17:31:03 -07:00
Winson Chung
42ce0306f5
Merge "Support individual lock task features" into ub-launcher3-qt-dev am: 293d964024
...
am: def865a645
Change-Id: I0bcee1d1f62c580f5c77e609154be1f24fd1c4bb
2019-05-28 17:26:50 -07:00
Winson Chung
def865a645
Merge "Support individual lock task features" into ub-launcher3-qt-dev
...
am: 293d964024
Change-Id: I2a53a5633d4d65ecc1ed2f9d78a7f18d749a82a6
2019-05-28 17:21:49 -07:00
Winson Chung
293d964024
Merge "Support individual lock task features" into ub-launcher3-qt-dev
2019-05-29 00:10:02 +00:00
Tony Wickham
ceff588a00
Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev am: 5860288fc8
...
am: 4cc7f1ac89
Change-Id: I392e16b1915cedbbdafbe3bc6cff511574172411
2019-05-28 16:29:05 -07:00
Tony Wickham
4cc7f1ac89
Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev
...
am: 5860288fc8
Change-Id: I3ef16cd60ae0ba272dcfb761417dd8be10e331a5
2019-05-28 16:24:04 -07:00
Tony Wickham
5860288fc8
Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev
2019-05-28 23:21:32 +00:00
Sunny Goyal
0a87e613bb
Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev am: e34c91765f
...
am: fa2e88be96
Change-Id: Ic4d52690e67bf0237826a66059c671adf612c700
2019-05-28 16:19:04 -07:00
Sunny Goyal
fa2e88be96
Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev
...
am: e34c91765f
Change-Id: If49078e2b15375eb08c23aa002709f67c692e1e6
2019-05-28 16:13:01 -07:00
TreeHugger Robot
e34c91765f
Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev
2019-05-28 23:05:31 +00:00
Jon Miranda
c0f1f4f3af
Fix bug where changing the display size does not update the launcher grid.
...
The bug is caused by launcher saving the grid name and using that grid name
to look for matching display options. This makes sense when changing the grid
size, but doesn't work well when changing the display size.
Example: Initial Pixel display size is set to Default, so we save "normal" as
the KEY_IDP_GRID_NAME. When we change display size to Largest, the
KEY_IDP_GRID_NAME is still "normal" and so we only look at display options
under "normal". Before this, Pixel with display size set to Largest would be
set to "reasonable".
This should be safe change for Q, and we can have a proper fix when we
officially support changing grid size.
Bug: 131867841
Change-Id: If5f3b0a13b90069973e929024b26bd9b9c45a7d8
2019-05-28 16:05:09 -07:00
Sunny Goyal
221895d06b
Improving swipe up interaction when device is locked
...
When device is locked, only scale down the top task as a response to
the user interaction. When user flings or lifts his finger, the task
is dismissed to go to the lock screen
LockScreenRecentsActivity is an empty activity which starts on top of lock
screen and finishes immediately. This allows us to start a recents transition
with just the top activity as the animation target. This target is then used
for swipe up interaction
Bug: 133167096
Change-Id: I466ed142ea33d626c78cb9cc5f6311bad26b8d98
2019-05-28 15:55:07 -07:00
Zak Cohen
348866b350
Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev am: b36ab46e93
...
am: b4b597a4ff
Change-Id: I7afe34cd8a4867dcb340e65fe6608b030f681b39
2019-05-28 15:24:06 -07:00
Jon Miranda
ead6e4e92f
Fix bug where DiscoveryBounce is not cancelled after state change. am: ed7d714805
...
am: 4ac3af1243
Change-Id: I91a12e2caf168ae669fc7bc18ab728002a9c4ca3
2019-05-28 15:23:43 -07:00
Zak Cohen
b4b597a4ff
Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev
...
am: b36ab46e93
Change-Id: I6bd6e9410b05b6624bda00f42f6f71b9f16eabed
2019-05-28 15:21:00 -07:00
Jon Miranda
4ac3af1243
Fix bug where DiscoveryBounce is not cancelled after state change.
...
am: ed7d714805
Change-Id: I4274f94c79b3e31b58077e17722caf0cc9c14dc4
2019-05-28 15:20:39 -07:00
TreeHugger Robot
b36ab46e93
Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev
2019-05-28 22:09:43 +00:00
Zak Cohen
560fe07448
Chips container - Don't hard code the height of the chips container.
...
When the container was present, but empty, it was showing it's background.
Bug: 133783088
Change-Id: I97b65435d66e9ced7f5487dc50a00665794f8fcd
Tested: manual
2019-05-28 14:53:41 -07:00
Jon Miranda
ed7d714805
Fix bug where DiscoveryBounce is not cancelled after state change.
...
Bug: 131768436
Change-Id: I7d389671969a75ae7ec9f9f5cc1326f7105e2071
2019-05-28 14:44:52 -07:00
Tony
bef6a44e7b
Continue scaling down recents past final position in 0 button mode
...
- Previously, we clamped the progress to 1 when reaching mTransitionDragLength.
Now, we allow dragging all the way to the top of the screen, and store this
new top progress in mDragLengthFactor (> 1f).
- Because the launcher animation controller is inherently bound to a progress
between 0 and 1, we have to do a bit of trickery involving interpolators.
Specifically, we normalize the progress to 0 to 1 by dividing by
mDragLengthFactor, but then we set the interpolators to multiply their
progress by mDragLengthFactor. The result is that the animation progress
appears to go from 0 to mDragLengthFactor, just like the window progress.
- To avoid scaling too small, we start interpolating the progress at a certain
point, ending at a specified max progress when reaching the top of the screen.
Bug: 131741395
Change-Id: Ie8b4b56d37249cd1456f93c110c26c78fe052dc0
2019-05-28 21:41:43 +00:00
Bill Yi
016a81cae4
Import translations. DO NOT MERGE
...
Change-Id: I4b7ca67ccacf3b2526537bb563785f17fca4abdf
Auto-generated-cl: translation import
2019-05-25 17:12:34 -07:00
Vadim Tryshev
5aab39b9ec
Merge "Launcher reports whe 0-button swipe-up gesture pause is detected." into ub-launcher3-qt-dev am: ebd5e88164
...
am: 33e42ab34f
Change-Id: I8d39ac40c46f2b5c0604e181f1169ff9f9c4178b
2019-05-24 20:42:58 -07:00
vadimt
0593b87375
Swiping from Overview to All Apps from apps_view am: a8a98a1640
...
am: ee3f005c5b
Change-Id: Ibd06591a14434537a14a76dfb877f813c9952970
2019-05-24 20:42:32 -07:00
Sunny Goyal
92eae9a078
Fixing user getting stuck in quick-switch state am: 55d1e44c47
...
am: d3a565f737
Change-Id: Ieec999d9d48cd45bae3f990dda9397f71c6c378c
2019-05-24 20:42:10 -07:00
Vadim Tryshev
33e42ab34f
Merge "Launcher reports whe 0-button swipe-up gesture pause is detected." into ub-launcher3-qt-dev
...
am: ebd5e88164
Change-Id: I03cb2447b095c479394d7897b95b802c731db014
2019-05-24 19:53:56 -07:00
Vadim Tryshev
ebd5e88164
Merge "Launcher reports whe 0-button swipe-up gesture pause is detected." into ub-launcher3-qt-dev
2019-05-25 02:44:30 +00:00