Commit Graph

33301 Commits

Author SHA1 Message Date
vadimt 4bc691b988 Removing workarounds for a fixed bug
Bug: 148422894
Change-Id: Ic6faa173ac5f28c8656daf68ac8304563264afdd
2020-07-13 20:02:13 -07:00
android-build-team Robot 3180034457 Snap for 6676900 from f130c29882 to rvc-release
Change-Id: Ia9a54139b5b9b819e10e96cb00ddd69a4cf1e322
2020-07-14 01:12:45 +00:00
Sunny Goyal 93188d61da Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
2020-07-13 17:44:56 -07:00
Sunny Goyal 6c76a08a5e Preventing disambiguation screen when swiping up am: f130c29882 am: 0ed6042555 am: f030dc602e am: a4a05574e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I2930828ebc247be326d6ca20c07a5f9d98ec02e5
2020-07-13 22:23:12 +00:00
Sunny Goyal 4218830027 Preventing disambiguation screen when swiping up am: f130c29882 am: 88e9c5dcb1 am: a0622a0786 am: 9e3ccab4e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: Idbb8f7e8dd9535d38ad40ceccfab4bc29ca674a0
2020-07-13 22:23:06 +00:00
TreeHugger Robot 2f457a6bbb Merge "Fix velocity in StaggeredWorkspaceAnimation." into ub-launcher3-rvc-qpr-dev am: add69c70c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142607

Change-Id: I6d2e67478dc5a98395aa8f25fe98b206c4fcba75
2020-07-13 22:22:19 +00:00
TreeHugger Robot 149758da21 Merge "Using original taskInfo to create the taskKey instead of fake data" into ub-launcher3-rvc-qpr-dev am: 054280dba4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142606

Change-Id: I87b357e1ce4a30f255598d481ce99fee63ac9d9d
2020-07-13 22:22:13 +00:00
Pinyao Ting 24d44a7777 Fixes the issue Launcher state propagation is slower than onDeferredResume. am: 9d51e49cec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142602

Change-Id: Ic042a5db68e492bedf58d6c328d151411a199ac2
2020-07-13 22:22:07 +00:00
Sunny Goyal e96edf4ee1 Preventing disambiguation screen when swiping up am: f130c29882 am: 88e9c5dcb1 am: 5a9dce4136 am: c659064f22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I5f5ce0b1142c4fe850e13a74327dea22d8a544c2
2020-07-13 22:21:57 +00:00
TreeHugger Robot add69c70c4 Merge "Fix velocity in StaggeredWorkspaceAnimation." into ub-launcher3-rvc-qpr-dev 2020-07-13 22:20:33 +00:00
Sunny Goyal a4a05574e8 Preventing disambiguation screen when swiping up am: f130c29882 am: 0ed6042555 am: f030dc602e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I3fadec57c17ef42c30b2633660c5f0884980b40d
2020-07-13 22:10:27 +00:00
Sunny Goyal 9e3ccab4e9 Preventing disambiguation screen when swiping up am: f130c29882 am: 88e9c5dcb1 am: a0622a0786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I5f800f3706e6f93b7f50cb9e658a927275aa460b
2020-07-13 22:10:01 +00:00
Sunny Goyal c659064f22 Preventing disambiguation screen when swiping up am: f130c29882 am: 88e9c5dcb1 am: 5a9dce4136
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I978f967584dc8ccfec546438378f7beb6f0e0c80
2020-07-13 22:09:44 +00:00
TreeHugger Robot 054280dba4 Merge "Using original taskInfo to create the taskKey instead of fake data" into ub-launcher3-rvc-qpr-dev 2020-07-13 22:06:13 +00:00
Sunny Goyal f030dc602e Preventing disambiguation screen when swiping up am: f130c29882 am: 0ed6042555
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: Ic695bb447d76ecbb2cf7b664535c7a9d42f14e62
2020-07-13 21:57:19 +00:00
Sunny Goyal 5a9dce4136 Preventing disambiguation screen when swiping up am: f130c29882 am: 88e9c5dcb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: Ib290b6b968e8612f03174c3ce88a7d0379c7d292
2020-07-13 21:57:00 +00:00
Sunny Goyal a0622a0786 Preventing disambiguation screen when swiping up am: f130c29882 am: 88e9c5dcb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I0ae7f7da7c356404598fb7c2811edc421acf5aa4
2020-07-13 21:56:46 +00:00
TreeHugger Robot d318bc6dda Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-qpr-dev am: 36a1600d66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12121642

Change-Id: I6e78bb0491d37c39ece1b356d028a8dec6db434e
2020-07-13 21:51:50 +00:00
Jon Miranda aee792403d Fix velocity in StaggeredWorkspaceAnimation.
* Velocity should match the direction of the spring values.
  (Swipe direction is upwards, but icons move downwards on screen).
* Remove additional conversion to pxPerS since getDimension already does that.

Bug: 160003774
Change-Id: I12912edb2354c4a30c538da6ca3789c46d82b94d
(cherry picked from commit 54003963d8)
2020-07-13 21:48:19 +00:00
Sunny Goyal 55a9b544c9 Using original taskInfo to create the taskKey instead of fake data
Change-Id: Ie4e35b35484e0f6cb939febe6357b37381d81682
(cherry picked from commit fabfb3ae90)
2020-07-13 21:47:16 +00:00
Pinyao Ting 9d51e49cec Fixes the issue Launcher state propagation is slower than onDeferredResume.
There's currently a bug prevents Launcher release drag lock for two step
widgets. Supposedly, onDeferredResume should release the drag lock; However,
in 3-button navigation mode, the transition from Overview -> Normal is
triggered in Launcher#onNewIntent, which happens after onDeferredResume.

This issue is not reproducible with gesture navigation because its
transition from Overview -> Normal is handled in NavBarToHomeTouchController

Test: manual verified with following steps
1. Enable 3-button navigation
2. Long press in WorkSpace -> Widgets
3. Drag Settings Widget to WorkSpace
4. When the config activity is shown, press "recents" button to see Overview
5. press "home" button to go back to workspace
6. repeat 2 and 3, verify the widget can be dragged
Bug: 149659788

Change-Id: I396ffa8a7db44bf3872a10de4208340a99a7efe8
(cherry picked from commit 3bf889a02f)
2020-07-13 21:46:05 +00:00
TreeHugger Robot 36a1600d66 Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-qpr-dev 2020-07-13 21:44:57 +00:00
Sunny Goyal f86ca319c1 Preventing disambiguation screen when swiping up am: f130c29882
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I2431fadcc0365cb60e8b2b106b5488654377f725
2020-07-13 21:38:01 +00:00
Sunny Goyal 0ed6042555 Preventing disambiguation screen when swiping up am: f130c29882
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I77b4149f114788606d1b249adf2e1bfe82de65af
2020-07-13 21:37:58 +00:00
Sunny Goyal 88e9c5dcb1 Preventing disambiguation screen when swiping up am: f130c29882
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141303

Change-Id: I4af9c71769ac0ce7d30311b88a1564e31a5eac8d
2020-07-13 21:37:47 +00:00
Vinit Nayak de43fb6323 Notify TaskViews of updated orientation state
There was a race condition between when recent
tasks get loaded for overview and when the
RecentsOrientationState gets updated based on
which orientation was touched. Now notify
tasks view every time orientation state
updates.

Fixes: 160912655
Test: Kill launcher while landscape app
is open then swipe up to recents.
App in correct location.

Change-Id: If2b239f748c000257bd91b14a23d68ba026e3a48
2020-07-13 14:31:24 -07:00
TreeHugger Robot 5491b2e2e0 Merge "Fix shelf tracking distance for landscape app over portrait launcher" into ub-launcher3-rvc-qpr-dev 2020-07-13 20:44:30 +00:00
Tony Wickham 032db3289a Merge "Wait until activity present before calling onEndTargetCalculated()" into ub-launcher3-rvc-qpr-dev 2020-07-13 20:37:15 +00:00
Tony Wickham 452db0db0c Fix shelf tracking distance for landscape app over portrait launcher
Bug: 149934536
Change-Id: I14fa62fa9f51356613f4a3827446b00af774dbf5
2020-07-13 13:21:02 -07:00
Sunny Goyal 44a3b2030d Fixing shortcut popop non-clicable on the icon
Bug: 160819504
Change-Id: I182399aa271a2ad290c33fb39356f8f2c99e105f
2020-07-13 13:15:28 -07:00
Sunny Goyal 386b75305c Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301

Change-Id: Icca8524c3d2ea19c50015825138dd916d5e13161
2020-07-13 19:44:03 +00:00
Tony Wickham ddbaadb562 Wait until activity present before calling onEndTargetCalculated()
At least one code path relies on the activity to be created: if the
end target is RECENTS, we add a state manager listener to see when
user goes to NORMAL state.

Fixes: 160903658
Change-Id: I3449dec773399f7e9cf2e7ef8b79734b1baa59b4
2020-07-13 12:32:37 -07:00
Sunny Goyal c031040a2f Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev 2020-07-13 19:23:17 +00:00
Bill Yi 5f412b514c [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev am: 6bee1701c7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140155

Change-Id: Id073f9e2ef995bb61f8100896f259ddafbf2a414
2020-07-13 19:16:19 +00:00
Sunny Goyal f130c29882 Preventing disambiguation screen when swiping up
Bug: 161052537
Change-Id: Ibeeba0841963dc5eb1b5a09847cafc26eb6e4adc
2020-07-13 19:03:56 +00:00
Bill Yi 6bee1701c7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2020-07-13 18:51:15 +00:00
Bill Yi 79bb0afd76 [automerger skipped] Import translations. DO NOT MERGE am: 3e0bc0da69 -s ours am: c09c90213b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140154

Change-Id: I71ffc1abb61b8ce89f00c80c00769adf69fa784c
2020-07-13 18:09:22 +00:00
Bill Yi c09c90213b [automerger skipped] Import translations. DO NOT MERGE am: 3e0bc0da69 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140154

Change-Id: I062eb110d0fa78ef7438f90dee5d68a91f61f0a2
2020-07-13 17:58:44 +00:00
Bill Yi 8dbff3462d [automerger skipped] Import translations. DO NOT MERGE am: bda86377d5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140156

Change-Id: I231760385eb080e4f780656480d6fa31e36f5acf
2020-07-13 17:58:25 +00:00
Sunny Goyal a639d46c8b Preventing disambiguation screen when swiping up
Bug: 161052537
Change-Id: Ibeeba0841963dc5eb1b5a09847cafc26eb6e4adc
2020-07-13 10:42:47 -07:00
Bill Yi e888e9a4e8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I7d49ec8c7023d2b1feb0d974907e4d9f9e171f96
2020-07-13 09:01:32 -07:00
Bill Yi bda86377d5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ib6c93b1b07d90da7333bce3cb6cbbf8eb4f7cffe
2020-07-13 09:01:02 -07:00
Bill Yi 49cc656c58 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I3459c37dc46796cc8269475ac3242bc2fa2e627b
2020-07-13 09:00:30 -07:00
Bill Yi 3e0bc0da69 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I8e0011048459efe373201bd47cc53c060ed9bd7c
2020-07-13 08:59:49 -07:00
Tracy Zhou 611fe76180 Place launcher above the target app in live tile mode
Fixes: 160361464
Test: manual
Change-Id: Id9d012fb71c6817ce82aa048d3dd56ea4d456f01
2020-07-11 20:54:31 -07:00
android-build-team Robot 53efd60897 Snap for 6672760 from e9bf882158 to rvc-release
Change-Id: If27730a8744b2dbd2d98f44173fce413dc8c999a
2020-07-11 23:03:29 +00:00
Sunny Goyal 8bd2ff0671 [automerger skipped] Import translations. DO NOT MERGE am: e9bf882158 -s ours am: 3338f1e98d -s ours am: 346bc0fb08 -s ours am: 621b7d2d10 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130183

Change-Id: Ia8167b20b98bebf005b38fda37d501c09f2358ce
2020-07-11 05:34:32 +00:00
Sunny Goyal c842c6de02 [automerger skipped] Import translations. DO NOT MERGE am: e9bf882158 -s ours am: 9824cf5312 -s ours am: f24bee953b -s ours am: c0b9fec226 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130183

Change-Id: I3c659f82ed2568a5c4d625d12ac417a1e9c413b6
2020-07-11 05:34:24 +00:00
Sunny Goyal e2f36e0dcb [automerger skipped] Import translations. DO NOT MERGE am: e9bf882158 -s ours am: 3338f1e98d -s ours am: 4f2180d07b -s ours am: 1f15db7ce2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130183

Change-Id: Ibec646ef6744d98fefb4413e7c63a7215ab0778e
2020-07-11 05:34:13 +00:00
Sunny Goyal 621b7d2d10 [automerger skipped] Import translations. DO NOT MERGE am: e9bf882158 -s ours am: 3338f1e98d -s ours am: 346bc0fb08 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130183

Change-Id: I39c1d915a9d5f385c29b87d0f56b17965de2101d
2020-07-11 05:23:27 +00:00