Commit Graph

46740 Commits

Author SHA1 Message Date
TreeHugger Robot cdcbebb752 Merge "Revert "fix broken build on erorrprone"" into tm-dev 2022-04-15 04:09:57 +00:00
Hongwei Wang 778b5e6bd0 Merge "Fix flicker when entering PiP from split-screen / overview" into tm-dev 2022-04-15 02:48:08 +00:00
Sunny Goyal 645af0a6b3 Revert "fix broken build on erorrprone"
Revert submission 17730702-fixErrorProneBuild

Reason for revert: Breaks Launcher3 unbundled build by using hidden library in main Launcher code
Reverted Changes:
Id0ce4d308:Change version checks to use SdkLevel.isAtLeast*
I8fc801b00:fix broken build on erorrprone

Change-Id: Ib1cd50a746bad3b6fb9fbd455a7cdce30f341d8b
2022-04-14 16:54:07 -07:00
Sunny Goyal 2248d74666 Merge "Improving folder icon drawable" into tm-dev 2022-04-14 23:35:05 +00:00
TreeHugger Robot 8c65675382 Merge "Add flag that disables depth on overlay scroll" into tm-dev 2022-04-14 23:16:20 +00:00
Lucas Dupin 4d90868075 Add flag that disables depth on overlay scroll
Test: manual
Fixes: 229261804
Change-Id: I132d9b5ca78255447ca72655b0a1fb1a4f86c3a1
2022-04-14 14:06:11 -07:00
TreeHugger Robot 998c47e594 Merge "Prevent double selection of second split app" into tm-dev 2022-04-14 20:13:59 +00:00
Sunny Goyal bc25ec02a2 Merge "Updating code due to TaskStackChangeListener changes" into tm-dev 2022-04-14 20:11:58 +00:00
Sihua Ma af91920955 Merge "Showing alert dialog when shortcut version higher than the App" into tm-dev 2022-04-14 18:26:10 +00:00
Vinit Nayak a4e5a9eebe Prevent double selection of second split app
* Also fix small other bug where we were
checking only for LauncherState
OVERVIEW_SPLIT_SELECT and not for equivalent
3P RecentsState

Fixes: 227419997
Test: Repro steps don't cause bug. Yay.
Change-Id: Ibb8238185b959d22d8455b6812d29b2e268d9739
2022-04-14 11:06:47 -07:00
Jonathan Scott ad90ded7bc Merge "fix broken build on erorrprone" into tm-dev 2022-04-14 18:00:10 +00:00
Hongwei Wang 5f5bd84d99 Fix flicker when entering PiP from split-screen / overview
This is a follow-up of ag/16418447 where we hide the Tasks in
split-screen mode on swipe-home-to-pip and here we use the same
mechanism when we are entering PiP from the overview and the pip-able
task is in split-screen mode.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bNtg3ZOhuTBKm9nU9CPeNQ
Bug: 228289777
Test: follow the reproduce steps in bug, see video
Change-Id: Icab11d52cedaf94af0ee72023cebca8ec51d8851
2022-04-14 10:49:29 -07:00
TreeHugger Robot f78ff2b90d Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-14 17:10:53 +00:00
Bill Yi 856629cc58 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 66a79956b3 -s ours am: 0ea47ea8df -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iab1c5d65c2d715131b59d7d9e0035b3e8611ebc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 15:34:42 +00:00
Bill Yi f45361b8b0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6f41d53de9 -s ours am: ccac214bba -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic5c813ed4ef4a809b6c01df521af958663fb8e12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 15:34:05 +00:00
Bill Yi 63a5f2eb4b [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 8c619a2b52 am: af25e91b3a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id15aa605ea24fe6c224c712220be1fd3ec16dd13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 15:32:09 +00:00
Bill Yi 0ea47ea8df [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 66a79956b3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I28915d11b6d4afe8b1d7e0581eea48bd632fa0d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 15:16:10 +00:00
Bill Yi ccac214bba [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6f41d53de9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4dd1b47bae4de86e4d5c5d04048599ca0401710b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 15:16:02 +00:00
Bill Yi 66a79956b3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-04-14 15:14:26 +00:00
Bill Yi 614046bd46 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-14 15:06:26 +00:00
TreeHugger Robot 7ea312db9b Merge "Creaet separate pull back animation for AllApps" into tm-dev 2022-04-14 14:07:58 +00:00
kholoud mohamed 9db305478e fix broken build on erorrprone
Bug: 229190745
Test: m -j out/soong/.intermediates/packages/apps/Launcher3/Launcher3/android_common/lint/lint-baseline.xml
Change-Id: I8fc801b0051a7e14578fa331b22653f109c1dcc6
2022-04-14 14:18:30 +01:00
TreeHugger Robot 5ee9d60fd0 Merge "Update edit state drop target and hotsteat margins." into tm-dev 2022-04-14 11:58:32 +00:00
TreeHugger Robot bf5a0d5fe3 Merge "Use bottomMargin to align OverviewActions with 3 button" into tm-dev 2022-04-14 10:56:43 +00:00
Alex Chau a74a8595fb Creaet separate pull back animation for AllApps
- In tablet, only animate recyclerView on pullback to be consistent with widget bottom sheet, and avoid showing a gap below mAppsView

Fix: 220345008
Test: manual on small and large screen
Change-Id: I1f7d03b6bd16af7a91a51a0985ef163d9e365261
2022-04-14 11:01:25 +01:00
Sihua Ma da8759ae29 Showing alert dialog when shortcut version higher than the App
Creating an AlertDialog when the disabled reason of the shortcut is DISABLED_REASON_VERSION_LOWER, which happens when the backed-up shortcut was created from an application that has a version higher than the one installed on the device. The AlertDialog will direct the user to the play store and update the application.

Test: Manual
Fix: 224796975
Change-Id: I0125fada60b48176775de6782ba03ee6790904aa
2022-04-14 01:34:44 -07:00
TreeHugger Robot d07ba1ca38 Merge "Dismiss keyboard when leaving AllApps state" into tm-dev 2022-04-14 04:15:19 +00:00
Vinit Nayak 37ce441089 Merge "Listen for density changes through DisplayController callbacks" into tm-dev 2022-04-13 22:57:00 +00:00
Alex Chau b1508b8023 Use bottomMargin to align OverviewActions with 3 button
- This ensure the updated OverviewActions position is considered when calculating modal task size

Fix: 228976149
Test: manual
Change-Id: I635e00096fdb26c164bc76fc94f6bf203f5c9c71
2022-04-13 18:51:40 +01:00
Alex Chau 59120581e4 Dismiss keyboard when leaving AllApps state
Fix: 221024791
Test: Launcher3 dismiss keyboard when leaving AllApps
Test: NexusLauncher can still open keyboard automatically in AllApps
Change-Id: I61b50e3fc4c6ed83bd5234c5daef3b2cb428b520
2022-04-13 18:48:23 +01:00
Hongwei Wang d34d3b4834 Merge "Pass sourceRectHint to auto-enter-pip transition" into tm-dev 2022-04-13 17:38:34 +00:00
Sunny Goyal afb6e23500 Updating code due to TaskStackChangeListener changes
Bug: 221961069
Test: Presubmit
Change-Id: I40b2e5a12c4cd6faa53ee788939c31b25bf5c37b
2022-04-13 10:31:18 -07:00
András Klöczl fed1182660 Merge "Change page snapping logic for large screen devices" into tm-dev 2022-04-13 11:18:39 +00:00
Pat Manning 8c4dd9e6dc Update edit state drop target and hotsteat margins.
Bug: 227336507
Test: manual
Change-Id: Id47f312e00d86143e6c95d21d6e37b7196590cef
2022-04-13 12:04:08 +01:00
Shikha Malhotra 80a315e50f Merge "Review comments followup" into tm-dev 2022-04-13 08:00:31 +00:00
TreeHugger Robot d9939d8174 Merge "Adjust the insets frame providing method per API change" into tm-dev 2022-04-13 01:53:04 +00:00
Bill Yi 1d313372fe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifc067459518e15838a8a472234a26eb7b2214ebd
2022-04-12 21:25:52 +00:00
Bill Yi 05e2272138 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30fb3d0870ddb6c69511b5200058dd3b4961479
2022-04-12 21:23:51 +00:00
Bill Yi af25e91b3a [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 8c619a2b52
Blank merge reason: commit message contains skip directive

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

Change-Id: Iddc5b25fde1413cdadfd4c909eddc3570bc5417f
2022-04-12 21:21:24 +00:00
Bill Yi 8c619a2b52 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e187a5b7f88bbcf8e3255177c21e1d2ba342210
2022-04-12 21:21:07 +00:00
Bill Yi 6f41d53de9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I23c6b47f55ab4fbf719d576ba9c134c2e50fd4aa
2022-04-12 21:20:31 +00:00
Andras Kloczl 07111f25f4 Change page snapping logic for large screen devices
Use 15% of the screen width instead of 40% of the page
width currently used for phones.

Test: try page snapping on Launcher home
Bug: 213305066
Change-Id: I6a525100bf942c5089f580a27250c425ca95cf00
2022-04-12 20:23:23 +01:00
Pat Manning 08a408408c Merge "Animate clear all button's alpha after last task has scrolled beyond its edge." into tm-dev 2022-04-12 17:04:24 +00:00
Shikha Malhotra f78da1bae3 Review comments followup
These are review comments followup from ag/17399997

Bug: b/218187058
Test: manually test thet Launcher3 features work correctly
Change-Id: I9865a37c1ed663370dc28e7678994f3d961e3cd1
2022-04-12 14:33:07 +00:00
Pat Manning 29fbab4ddd Animate clear all button's alpha after last task has scrolled beyond its edge.
Test: manual
Fix: 208879377
Change-Id: Iad43abbe36d11317869a0c5aa6a8d59fd1fddb67
2022-04-12 15:32:06 +01:00
Pat Manning 7013ee716d Add drop target button overlap correction to second button only.
Bug: 228311837
Bug: 228311837
Test: manual.
Change-Id: Ib9256deadd58c7350143221bf98c79415aaf9bc4
2022-04-12 12:54:15 +01:00
Pat Manning 4349d21246 Merge "Adjust grid cell visualizations." into tm-dev 2022-04-12 11:50:38 +00:00
Brian Isganitis 4ad53f1268 Defer unstashing taskbar on all apps close if gesture in progress.
This behavior is more consistent with how we update taskbar stashing when IME is dismissed.

Test: Verified stashing behavior with gestures, 3-button, and bottom sheet dismiss.
Fix: 223837786
Change-Id: Ib85ebe629f33f0bddc36bbc8d99136711105b279
2022-04-11 19:54:53 -07:00
Tracy Zhou b5d7744c1b Merge "Play icon alignment animation in live tile mode" into tm-dev 2022-04-12 00:05:34 +00:00
Tracy Zhou abc2288399 Merge "Update task bar icon alignment logic when launcher is paused and resumed in Overview" into tm-dev 2022-04-12 00:03:15 +00:00