Commit Graph

23221 Commits

Author SHA1 Message Date
Bill Yi fac16ea3f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6adc72a4ca -s ours am: 11f740d013 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie2e968e9b14cb1ce2b65df07f1af8320bb26683e
2020-07-17 19:42:22 +00:00
TreeHugger Robot f6f685987a [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: d524036b24 -s ours am: 5c4e41e69b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id3bcf228528b46e706f2a9267712f14c24bc1655
2020-07-17 19:42:16 +00:00
Bill Yi 89141dd074 [automerger skipped] Import translations. DO NOT MERGE am: 812f466f48 -s ours am: 4d6b234c04 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I86ea30d7809dd279673cf464c7f5683fdf765059
2020-07-17 19:42:10 +00:00
TreeHugger Robot 44b7b63852 Merge "Persist prediction cache on every update" into ub-launcher3-rvc-dev am: 1cc0010eba am: 21ff5c4ff0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12077679

Change-Id: I92f9793aefc493d61b10622402339ac5f85acdd7
2020-07-17 19:42:05 +00:00
Sunny Goyal 2985c058a4 [automerger skipped] Fixing recents orientation (when home rotation is allowed) during swipe-up am: 141c231d2f -s ours am: 1e068bc2da -s ours
am skip reason: Change-Id I27be09febcdb6f19687469db34b002ce682aa0cb with SHA-1 12f46d521a is in history

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

Change-Id: Ia562edfed49ff90f8aa56d1bb7e1cb54166a9641
2020-07-17 19:41:57 +00:00
Sunny Goyal 642f679243 Fixing recents orientation (when home rotation is allowed) during swipe-up am: 12f46d521a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12181002

Change-Id: If2459ee1dbfb37a9382fdf016cfec207632e3f00
2020-07-17 19:41:50 +00:00
Bill Yi 11f740d013 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6adc72a4ca -s ours
am skip reason: subject contains skip directive

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

Change-Id: I917a8ab94be0752df9e734329528368df541c81b
2020-07-17 19:19:59 +00:00
TreeHugger Robot 5c4e41e69b [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: d524036b24 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3cafeacb013ffef35f17753cd3cc503944af7cea
2020-07-17 19:19:51 +00:00
Bill Yi 4d6b234c04 [automerger skipped] Import translations. DO NOT MERGE am: 812f466f48 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I13ca6f3a8098a48b6add131983ac9e892c33633f
2020-07-17 19:19:45 +00:00
TreeHugger Robot 21ff5c4ff0 Merge "Persist prediction cache on every update" into ub-launcher3-rvc-dev am: 1cc0010eba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12077679

Change-Id: I5f2cbe314dfb249594a2dff70cda5188cad60fa1
2020-07-17 19:19:40 +00:00
Sunny Goyal 1e068bc2da [automerger skipped] Fixing recents orientation (when home rotation is allowed) during swipe-up am: 141c231d2f -s ours
am skip reason: Change-Id I27be09febcdb6f19687469db34b002ce682aa0cb with SHA-1 12f46d521a is in history

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

Change-Id: I48c9c9316f74997ef331790de1c6fe52e3155702
2020-07-17 19:19:27 +00:00
Sunny Goyal 12f46d521a Fixing recents orientation (when home rotation is allowed) during swipe-up
Bug: 158781568
Bug: 160149607
Change-Id: I27be09febcdb6f19687469db34b002ce682aa0cb
Merged-In: I27be09febcdb6f19687469db34b002ce682aa0cb
(cherry picked from commit 141c231d2f)
2020-07-17 18:53:01 +00:00
TreeHugger Robot 3a80d76fac Merge "Prevent showing TaskMenuView if icon isn't present" into ub-launcher3-rvc-qpr-dev am: 4b1d1a0f18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130181

Change-Id: Iff8f2a973f2204e332f74f1af5499cdce6b9a5bd
2020-07-17 00:32:05 +00:00
TreeHugger Robot 4b1d1a0f18 Merge "Prevent showing TaskMenuView if icon isn't present" into ub-launcher3-rvc-qpr-dev 2020-07-17 00:04:41 +00:00
Tony Wickham 32b52cedbd Fix tracking window being slightly off when swiping from an app am: 94be66acd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12172317

Change-Id: I4c69a9ff4d8398e873ac5aea37c565d13a626c95
2020-07-16 21:27:12 +00:00
Tony Wickham 94be66acd6 Fix tracking window being slightly off when swiping from an app
Test: swipe up from an app in landscape, seascape, and portrait,
and verify the window tracks with the finger 1:1 until pullback

Bug: 149934536
Change-Id: Ia469877e7152c8135e0b9153f69c191ba86cbd14
(cherry picked from commit f0a1b2ccd8)
2020-07-16 20:03:36 +00:00
Sunny Goyal a587387a4f Merge "Fixing shortcut popop non-clicable on the icon" into ub-launcher3-rvc-qpr-dev am: 4ef25b0122
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141678

Change-Id: I31b3c452ffc24e53a09434225524de957041186d
2020-07-16 06:11:51 +00:00
Sunny Goyal 4ef25b0122 Merge "Fixing shortcut popop non-clicable on the icon" into ub-launcher3-rvc-qpr-dev 2020-07-16 05:58:23 +00:00
TreeHugger Robot eb682915f0 Merge "Move rotation logic to RotationTouchHelper" into ub-launcher3-rvc-qpr-dev am: eb2eb38cc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12155343

Change-Id: I504871c83bd89d0fc895f6df2d93a7c9023c8cd8
2020-07-16 05:34:14 +00:00
TreeHugger Robot eb2eb38cc2 Merge "Move rotation logic to RotationTouchHelper" into ub-launcher3-rvc-qpr-dev 2020-07-16 05:14:25 +00:00
Vinit Nayak 0affd89031 Move rotation logic to RotationTouchHelper
No functional changes.

Fixes: 159764370
Change-Id: Ie7739a62242377bda69c86bd46e24d2f847f17e0
2020-07-15 22:03:14 -07:00
Sreyas Rangaraju d84cdd36ab Merge "Disabling overview actions when thumbnail is not loaded." into ub-launcher3-rvc-qpr-dev am: e1037c63dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160683

Change-Id: I22ea60d92d75d8caf964511773119fc38fdbb5ca
2020-07-15 23:47:44 +00:00
Sreyas e73bd5ed99 Reset disabled flags when action buttons lose visibility. am: 0d2eea3316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12161695

Change-Id: Ibec95a59a16a98c42270e1977cda1b6adb93822b
2020-07-15 23:47:31 +00:00
Sreyas Rangaraju e1037c63dd Merge "Disabling overview actions when thumbnail is not loaded." into ub-launcher3-rvc-qpr-dev 2020-07-15 23:31:51 +00:00
Sreyas 0d2eea3316 Reset disabled flags when action buttons lose visibility.
Bug: 159993889
Change-Id: Id2a38eee5de067d5e8f1df425644dfdcb3334cdb
2020-07-15 16:16:43 -07:00
Sreyas 68330a93fa Disabling overview actions when thumbnail is not loaded.
Bug: 160331177
Change-Id: I05eaec7d6f2e3f2ba71d8148a4e97dcf5a1522c6
2020-07-15 19:46:09 +00:00
TreeHugger Robot 171b2ae917 Merge "Focuses on folder container for Accessibility when no contents to focus on." into ub-launcher3-rvc-qpr-dev am: 4c7ced91c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12146163

Change-Id: I7f2e6121a735b2c356958a74cdd9d2daa625f174
2020-07-14 16:56:14 +00:00
TreeHugger Robot 4c7ced91c0 Merge "Focuses on folder container for Accessibility when no contents to focus on." into ub-launcher3-rvc-qpr-dev 2020-07-14 16:41:25 +00:00
Sunny Goyal 9fbc80da6a Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev am: ec78aef4fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12144100

Change-Id: If9f4248235d42be8d829d0837227202a0e30edc5
2020-07-14 16:19:12 +00:00
Sunny Goyal ec78aef4fc Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev 2020-07-14 16:01:43 +00:00
Andy Wickham f865551ff0 Focuses on folder container for Accessibility when no contents to focus on.
This happens when you drag an app into a folder when the current page is
already full. The new page has no apps in it until you drop the one you
want to add.

Fixes: 161040039
Change-Id: Iaa857e7a114e859fa7e6a0653028856a3a8a94a6
2020-07-13 20:56:38 -07:00
Sunny Goyal 93188d61da Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
2020-07-13 17:44:56 -07: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
TreeHugger Robot add69c70c4 Merge "Fix velocity in StaggeredWorkspaceAnimation." into ub-launcher3-rvc-qpr-dev 2020-07-13 22:20:33 +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
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
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
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
Bill Yi e888e9a4e8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I7d49ec8c7023d2b1feb0d974907e4d9f9e171f96
2020-07-13 09:01:32 -07:00
TreeHugger Robot c277ac41e5 Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-07-10 22:17:10 +00:00
Bill Yi 18e3dd64f8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7df52e7035975535c717ca0510c4473bbc0eacd9
2020-07-10 14:57:27 -07:00