Commit Graph

49925 Commits

Author SHA1 Message Date
Tony Wickham 3feebeb196 Fix taskbar folder leave-behind not being drawn
I guess FrameLayout has willNotDraw=true by default, so we need to set it to false in order to get onDraw().

Test: open a folder on taskbar
Bug: 197866264
Change-Id: Ia521bc3da28527b9c3f1fa7bcdaf5d9ffb7feccf
2021-08-26 17:38:53 +00:00
Tony Wickham bc30e25cec Hide taskbar icons when recents button is disabled
The idea is that both taskbar icons and recents navigate you to new apps, which we'd want to disable in similar contexts. Hence reusing FLAG_DISABLE_RECENTS.

Test: locally set FLAG_DISABLE_RECENTS=true, ensure taskbar icons don't show up (both in 3 button mode and gesture nav)
Bug: 193183428
Bug: 194990283
Change-Id: I9537f57dc25663151b1414c5260dadb58506fdb0
2021-08-26 10:18:04 -07:00
Alan Viverette bc4dc49c6c Temporarily disable Launcher3 tests affected by fling changes
Bug: 197802324
Test: TaplTestsLauncher3
Change-Id: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
2021-08-26 14:27:11 +00:00
András Klöczl bc1c1ef47d Merge "Two panel home empty page removing logic change" into sc-v2-dev am: 701c76013c am: d26ecd63e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15601176

Change-Id: I78e8e9ca5580273f645ea5c8aa096a308b1cb610
2021-08-26 11:24:17 +00:00
Alex Chau 1c2c0e5606 Merge "More more logging for for Nexus home activity appearing after to-home gesture in L3" into sc-v2-dev am: da7fe8ced1 am: 459ea0955c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15679403

Change-Id: I40ef00caa8a06131484098cf7f60c3e872205800
2021-08-26 11:24:10 +00:00
András Klöczl d26ecd63e7 Merge "Two panel home empty page removing logic change" into sc-v2-dev am: 701c76013c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15601176

Change-Id: I0f81a717464c23f20c8e4ddbfff06fbe54b5dd30
2021-08-26 11:12:53 +00:00
Alex Chau 459ea0955c Merge "More more logging for for Nexus home activity appearing after to-home gesture in L3" into sc-v2-dev am: da7fe8ced1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15679403

Change-Id: I301649577a185f38ac18ac11b23d034a58f9aed8
2021-08-26 11:12:40 +00:00
András Klöczl 701c76013c Merge "Two panel home empty page removing logic change" into sc-v2-dev 2021-08-26 11:09:05 +00:00
Andras Kloczl 8c574de97f Two panel home empty page removing logic change
- Don't remove a single page if it's empty, only if both pages are empty.
- Add back empty pages after they were removed while the phone
  was on single panel home.
- On two panel home don't add new workspace items onto the second screen

Test: manual
Bug: 196376162
Change-Id: I4c54ffa3b359a236deb3ab67adb54111e77ec896
2021-08-26 12:06:50 +01:00
Alex Chau da7fe8ced1 Merge "More more logging for for Nexus home activity appearing after to-home gesture in L3" into sc-v2-dev 2021-08-26 10:57:52 +00:00
Vinit Nayak c335bb08cf Merge "Null out RemoteTargetHandles as soon as finishing recents is requested" into sc-v2-dev am: 759e15fe45 am: b118667290
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15661931

Change-Id: I27371b7e99597e8805d647421581fa4cdacb4989
2021-08-26 06:16:35 +00:00
Vinit Nayak b118667290 Merge "Null out RemoteTargetHandles as soon as finishing recents is requested" into sc-v2-dev am: 759e15fe45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15661931

Change-Id: I31ed76ec3ea6394ddd42a4530d1e1c8635e52b0a
2021-08-26 06:07:50 +00:00
Vinit Nayak 759e15fe45 Merge "Null out RemoteTargetHandles as soon as finishing recents is requested" into sc-v2-dev 2021-08-26 05:54:46 +00:00
vadimt 1a79f87004 More more logging for for Nexus home activity appearing after to-home gesture in L3
Bug: 192018189
Test: presubmit
Change-Id: Id99dbf9469c61f81643e5182d17012b508cfce1e
2021-08-25 20:12:56 -07:00
Alan Viverette a88802ee92 Disable eager initialization of Jetpack libraries
Bug: 197780098
Test: Launcher3 tests
Change-Id: I8f921ae26e873822ac2340ad78449cf1040af4cf
2021-08-26 03:12:07 +00:00
Vinit Nayak ced9b107f4 Merge "Fix public variables to not have 'm' prefix" into sc-v2-dev am: f1aa726e9f am: 6c3530c6d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15675535

Change-Id: If0b071648cc0748d1c119400469e8017fb7e9f8b
2021-08-26 00:35:28 +00:00
Vinit Nayak 6c3530c6d7 Merge "Fix public variables to not have 'm' prefix" into sc-v2-dev am: f1aa726e9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15675535

Change-Id: I45ed90d37022f77f615ccbd20cf4ca0b8be55b53
2021-08-26 00:23:20 +00:00
Vinit Nayak f1aa726e9f Merge "Fix public variables to not have 'm' prefix" into sc-v2-dev 2021-08-26 00:07:45 +00:00
Android Build Coastguard Worker a5d3973f81 Snap for 7673824 from 3d1143f833 to sc-v2-release
Change-Id: Ibe29358aace61ae17ea4525a6c7bb8fefbf7586f
2021-08-25 23:13:46 +00:00
Becky Qiu f5eea6c1ac [AA+ Search] Create the plugin interface for search suggest.
Also removed the internet permission for Launcher3 and moved it to the plugin.

Bug: 196586652
Test: tested with plugin

Change-Id: Id36e037d7520e29c1989adf9c451488d7e9c96e1
2021-08-25 16:09:13 -07:00
Mariia Sandrikova bede97cf24 Merge "Change dark overview scrim color to Neutral 2 palette with 35 luminosity." into sc-v2-dev am: e5928ec9d9 am: fae0492b84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15667355

Change-Id: Ia6476955f6fcba65a483c0023b3f8fde5846d8a1
2021-08-25 21:58:25 +00:00
Mariia Sandrikova fae0492b84 Merge "Change dark overview scrim color to Neutral 2 palette with 35 luminosity." into sc-v2-dev am: e5928ec9d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15667355

Change-Id: Ibb91ec93e4d04aaa3af2a78f85e70ac8fad8b7a4
2021-08-25 21:44:39 +00:00
Mariia Sandrikova e5928ec9d9 Merge "Change dark overview scrim color to Neutral 2 palette with 35 luminosity." into sc-v2-dev 2021-08-25 21:32:13 +00:00
Android Build Prod User 736c15be51 Merge changes I54e39cc5,Iec62abae into sc-v2-dev am: 14a7d63c23 am: dec80427e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15671418

Change-Id: Ie1370d87b4a2d7d3e4286a3c15133038e49caad7
2021-08-25 21:01:02 +00:00
Android Build Prod User dec80427e0 Merge changes I54e39cc5,Iec62abae into sc-v2-dev am: 14a7d63c23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15671418

Change-Id: If86886dc25704f6fd2e864c70987bebd4d940e28
2021-08-25 20:46:42 +00:00
Android Build Prod User c7620944c7 Merge "Revert^2 "Enable input window rotation flag"" into sc-v2-dev am: 9b2ec7d2d2 am: 5280266d9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15624998

Change-Id: I51944375a0fb0bb9538669a3fa1720fee1b3394d
2021-08-25 20:35:55 +00:00
Android Build Prod User 478ba7e93c Merge "Add feature flag to control two panel home in portrait" into sc-v2-dev am: 543bf45c9b am: 574f72607e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15659589

Change-Id: I0aaae6bc060cf2070304893f9be03c063e6448e8
2021-08-25 20:34:57 +00:00
Android Build Prod User 14a7d63c23 Merge changes I54e39cc5,Iec62abae into sc-v2-dev
* changes:
  Set thumbnails for GroupedTaskView based on split layout bounds
  Implement swipe gesture for staged split in landscape
2021-08-25 20:30:43 +00:00
Android Build Prod User 5280266d9b Merge "Revert^2 "Enable input window rotation flag"" into sc-v2-dev am: 9b2ec7d2d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15624998

Change-Id: I7671e41196a6e9fe65288966d9ce55b4a38dba22
2021-08-25 20:17:15 +00:00
Android Build Prod User 574f72607e Merge "Add feature flag to control two panel home in portrait" into sc-v2-dev am: 543bf45c9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15659589

Change-Id: I809ab423d78ea5d333e74bc9b1664905aef18253
2021-08-25 20:16:58 +00:00
Android Build Prod User 9b2ec7d2d2 Merge "Revert^2 "Enable input window rotation flag"" into sc-v2-dev 2021-08-25 20:11:15 +00:00
Android Build Prod User 543bf45c9b Merge "Add feature flag to control two panel home in portrait" into sc-v2-dev 2021-08-25 20:04:40 +00:00
Vinit Nayak aa11976cc5 Fix public variables to not have 'm' prefix
Bug: 181704764
Change-Id: I89e43ce6cc74119514c8124e7cc61b11dc475f58
2021-08-25 11:59:43 -07:00
Vinit Nayak c35507dc29 Set thumbnails for GroupedTaskView based on split layout bounds
Bug: 181704764
Test: Go to stage split in landscape w/
home rotation on/off, swipe up.
Thumbnails aren't perfectly overlaid, polish needed

Change-Id: I54e39cc5a18f527e80a664d60aca72dfd706ebdc
2021-08-25 11:59:00 -07:00
Lucas Dupin c9f94097e2 [automerger skipped] Constrain scroll amount am: 6d7a006302 -s ours am: 3d1143f833 -s ours am: 5be7c006de -s ours
am skip reason: Merged-In Ibf16fb72cf95e29ed820d5f511e764a388c93bb0 with SHA-1 b259a896f5 is already in history

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

Change-Id: I16f61cb5b63fc720103a0391350801fa4d08e0f0
2021-08-25 18:57:09 +00:00
Lucas Dupin 4cd4815452 [automerger skipped] Constrain scroll amount am: 6d7a006302 am: 3be13be63b -s ours am: adbc2c5b5e -s ours
am skip reason: Merged-In Ibf16fb72cf95e29ed820d5f511e764a388c93bb0 with SHA-1 b259a896f5 is already in history

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

Change-Id: Ia85e95e7c105fae059dd420ddb8b7dd064b20939
2021-08-25 18:56:58 +00:00
Lucas Dupin 5be7c006de [automerger skipped] Constrain scroll amount am: 6d7a006302 -s ours am: 3d1143f833 -s ours
am skip reason: Merged-In Ibf16fb72cf95e29ed820d5f511e764a388c93bb0 with SHA-1 b259a896f5 is already in history

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

Change-Id: I486ac39254258fd4fb4fa85f15cf821b24829f66
2021-08-25 18:39:30 +00:00
Lucas Dupin adbc2c5b5e [automerger skipped] Constrain scroll amount am: 6d7a006302 am: 3be13be63b -s ours
am skip reason: Merged-In Ibf16fb72cf95e29ed820d5f511e764a388c93bb0 with SHA-1 b259a896f5 is already in history

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

Change-Id: Ic7e46b5818d99068896621a3377eef01b512f385
2021-08-25 18:38:58 +00:00
Lucas Dupin 3d1143f833 [automerger skipped] Constrain scroll amount am: 6d7a006302 -s ours
am skip reason: Merged-In Ibf16fb72cf95e29ed820d5f511e764a388c93bb0 with SHA-1 b259a896f5 is already in history

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

Change-Id: I7f99bd3e6b9c62c4c0a80c71baff56663473d8ef
2021-08-25 18:26:04 +00:00
Lucas Dupin 3be13be63b Constrain scroll amount am: 6d7a006302
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15675922

Change-Id: I451a7ae7625aba4775ccae1a08abb26812d9344a
2021-08-25 18:24:48 +00:00
Lucas Dupin 6d7a006302 Constrain scroll amount
Test: scroll vertically and horizontally
Fixes: 196309367
Change-Id: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
Merged-In: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
(cherry picked from commit b259a896f5)
2021-08-25 16:45:20 +00:00
Thales Lima efd15ca87b Merge "workspace: get the correct page when setting paddings" into sc-v2-dev am: 653ae0a524 am: 46eaebba86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15640815

Change-Id: I652ac2aa0b8484e129e186d3576dfb30eb5d2eba
2021-08-25 12:33:00 +00:00
Alex Chau 4935404399 Return mSynchronouslyBoundPages as getPagesToBindSynchronously between onInitialBindCompleteand finishBindingItems
- Otherwise it'll return wrong currentPage value, as currentPage aren't updated until finishBindingItems
- There is still problem that wallpaper jumps to page 0 and then to the desired page: https://drive.google.com/file/d/132Sq5oRZKRclhdh1Ls1RaHNEVXJQcrxC/view?usp=sharing&resourcekey=0-l2N9NWtZ8FqfaVT0bVGVqw

Bug: 191657065
Test: manual
Change-Id: I7ec167b617a8f59865e959d9dd677256b1ab4ef9
2021-08-25 13:21:58 +01:00
Thales Lima 46eaebba86 Merge "workspace: get the correct page when setting paddings" into sc-v2-dev am: 653ae0a524
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15640815

Change-Id: I42a42640bbffa3fa4edb7f01494f9b97423be336
2021-08-25 12:16:15 +00:00
Thales Lima 653ae0a524 Merge "workspace: get the correct page when setting paddings" into sc-v2-dev 2021-08-25 11:54:13 +00:00
Alex Chau b1c36ce938 Add feature flag to control two panel home in portrait
Bug: 197723099
Test: manual
Change-Id: I20d7751e09053dc90c495f398334431f390f64bf
2021-08-25 11:54:08 +01:00
Thales Lima 41f33c3cfd workspace: get the correct page when setting paddings
When adding a new page to the workspace, mWorkspaceScreens doesn't
necessarily keeps the order. We should use the mScreenOrder field to get
 the correct index of pages.

Fixes: 197198491
Test: drag an app from first page and paddings should be correct
Change-Id: I4f79c164391348b53b71a87d5d49cfc4d3d35e5a
2021-08-25 11:16:13 +01:00
Alex Chau e494d08213 [automerger skipped] Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-qpr1-dev am: d688120ee1 am: 495721aa68 -s ours am: f261ef2291 -s ours
am skip reason: skipped by user alexchau

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

Change-Id: I0c48db292e6f3a52eda4087b88da1c214393fe5c
2021-08-25 09:56:10 +00:00
Alex Chau 473cd7dd26 [automerger skipped] Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-qpr1-dev am: d688120ee1 -s ours am: 992fde6abd -s ours am: b7ad5aa5bd -s ours
am skip reason: skipped by user alexchau

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

Change-Id: Iae6e1cffc31f4289f8040f3e107138a1d4e71040
2021-08-25 09:56:05 +00:00
Android Build Prod User 1299e0d062 Merge "Waiting for Launcher to settle after enabling test provider" into sc-v2-dev am: 50f928c388 am: 9479bb31f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15670670

Change-Id: I45bb4d64f4e6c3ee6a8bd49ce4903a882d2aa4b2
2021-08-25 09:55:58 +00:00