Commit Graph

35103 Commits

Author SHA1 Message Date
TreeHugger Robot ea8260ff74 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: I82020ab09534238e1cb186538f3bb32bdcfb9c21
2021-10-27 18:03:49 +00:00
TreeHugger Robot 3edb8de094 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev 2021-10-27 17:45:38 +00:00
TreeHugger Robot 8930cbaf52 Merge "Clean up IllegalStateException for page pairing" into sc-v2-dev am: 0c689ef773
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116271

Change-Id: I04c5afea5e58038823d207e36103e816f4040760
2021-10-27 11:41:16 +00:00
TreeHugger Robot 0c689ef773 Merge "Clean up IllegalStateException for page pairing" into sc-v2-dev 2021-10-27 11:21:46 +00:00
Tracy Zhou 0c79597c9c Merge "Delete TaskbarStateHander" into sc-v2-dev am: c6bdd9243a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124697

Change-Id: Ie02e8e542bd7f03e504204af23d0fd3410712e2a
2021-10-27 02:31:07 +00:00
Tracy Zhou c6bdd9243a Merge "Delete TaskbarStateHander" into sc-v2-dev 2021-10-27 02:11:12 +00:00
Pablo Gamito 656dad492a Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev am: aae8a2a2a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15972977

Change-Id: I5433f900f341004f6dd2ee387dae36f6d31b63c5
2021-10-26 22:05:15 +00:00
Pablo Gamito aae8a2a2a5 Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev 2021-10-26 21:32:16 +00:00
Tracy Zhou 72f1afcf02 Delete TaskbarStateHander
Bug: 204220602
Test: N/A
Change-Id: I6c26b4d3b8acb35750be56986555350e84f31ecb
2021-10-26 13:26:27 -07:00
TreeHugger Robot ac0d4c167a Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev am: e9316d5ba7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124501

Change-Id: I9a1a8e23e922cc6cf590103b2588ca98327e58f1
2021-10-26 20:23:21 +00:00
TreeHugger Robot 9bb891c6e6 Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: Idb089c3f56a19ad2cb48eaffeeaa3ebc906a98ab
2021-10-26 20:23:18 +00:00
TreeHugger Robot e9316d5ba7 Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev 2021-10-26 20:07:40 +00:00
TreeHugger Robot 3cbee2d1d7 Merge "Using a different transition for All-set activity" into sc-v2-dev 2021-10-26 20:00:21 +00:00
TreeHugger Robot 9dc7631d7c Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: I6f910a269a448713bf8726b975799c68707a6f32
2021-10-26 19:17:19 +00:00
TreeHugger Robot 766549a4ca Merge "Fix overview clear all tasks button text color." into sc-v2-dev 2021-10-26 18:37:58 +00:00
TreeHugger Robot 5fb629a179 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev am: 3bd6b8bf81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116819

Change-Id: I344b64d3ab0147ddb3fa12c1e8bf14b1ab2f3a58
2021-10-26 18:27:17 +00:00
Sunny Goyal eed4bbfb49 Using a different transition for All-set activity
Bug: 201797003
Test: Manual
Change-Id: I33b342ca224ab283e2ac475d4defe2eac6a87bb8
2021-10-26 11:25:32 -07:00
Pinyao Ting 35c5755b71 Fix the fallback logic for shortcut icons when icons are missing
The icons of shortcuts in general are not persisted in backup payload
and thus are not available on the new device, apps are reposponsible for
republishing those shortcuts on the new device, with the only exception
being pinned shortcuts, whose icons are stored in launcher.db as a
fallback when icons are not avaialble in the shortcut themselves.

A previous CL unexpected excluded deep shortcuts from loading their
fallback icons in launcher.db, causes pinned shortcut to fallback
further to default droid icons, this CL restores the original behavior.

Bug: 202346722
Test: manual
Change-Id: Ie09becd3a0dc1ca1e7c2573fe1b68b61a58c2091
2021-10-26 18:02:08 +00:00
TreeHugger Robot 3bd6b8bf81 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev 2021-10-26 18:01:48 +00:00
Pablo Gamito 77d3cab287 Set custom task transition spec when taskbar is visible
This is to ensure that the task to task animations look good when the
taskbar is visible (the transition background is the same as the taskbar
color, the taskbar overlay rounded corners are hidden, and the task
animates above the taskbar so it's rounded corners are visible during
the animation and not hidden behind the taskbar).

Test: Open tasks from other tasks to trigger task to task animations and
see if they look good
Bug: 200675009
Bug: 196387647

Change-Id: I8e46718829c0e6541a5c1b1a3a156285aeecd30a
2021-10-26 14:56:27 +02:00
Tony Wickham a222a0d6d9 Merge "Hide taskbar background when notification shade is expanded" into sc-v2-dev am: add188f339
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102657

Change-Id: I447aca295140455bdba48508baef922bda287721
2021-10-26 03:10:09 +00:00
Tony Wickham add188f339 Merge "Hide taskbar background when notification shade is expanded" into sc-v2-dev 2021-10-26 02:56:47 +00:00
TreeHugger Robot 8b5fe18795 Merge "Fix the remove button icon not centered when the home screen is in landscape." into sc-v2-dev am: 8935b22cd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087348

Change-Id: I6c7f31d1b5e38d39551dc82410c869a3fd773802
2021-10-26 00:21:24 +00:00
TreeHugger Robot 8935b22cd7 Merge "Fix the remove button icon not centered when the home screen is in landscape." into sc-v2-dev 2021-10-26 00:06:37 +00:00
Schneider Victor-tulias 1bda3e7424 Fix overview clear all tasks button text color.
Test: checked button on dark/light mode on a wallpaper similar to bug
Fixes: 203198804
Change-Id: I03e663422d2cdba63f3c5953741b5c0bd722fccf
2021-10-25 16:49:36 -07:00
Alex Chau 8c7ff40062 Merge "Avoid calling getIconResult if recycle is called after request is queued" into sc-v2-dev am: 4941b84717
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118639

Change-Id: I246fce26863074168012589e6b60c64eb863440e
2021-10-25 23:39:38 +00:00
TreeHugger Robot 2aa0bc0f5d Merge "Fix launching window bounds for immersive apps" into sc-v2-dev am: c6649763a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049085

Change-Id: I4fbff919b24a13ad948e2d03feff0562c2572db7
2021-10-25 23:39:34 +00:00
Alex Chau 4941b84717 Merge "Avoid calling getIconResult if recycle is called after request is queued" into sc-v2-dev 2021-10-25 23:30:32 +00:00
TreeHugger Robot c6649763a7 Merge "Fix launching window bounds for immersive apps" into sc-v2-dev 2021-10-25 23:20:47 +00:00
Sebastian Franco 63d1a181e5 Fix the remove button icon not centered when the home screen is in landscape.
To fix it I put the bounds of the Icon/drawable when the text is not visible.

Fix: 202811811
Test: Manually Tested.
Change-Id: Ieff54a73e819c4b3a61e28fd76faf93a84b67666
2021-10-25 17:34:11 -05:00
Tony Wickham 232e9a4631 Hide taskbar background when notification shade is expanded
- In 3 button mode, don't hide the background but do ensure nav buttons are translated down when swiping to notificaitons from the home screen

Test: swipe down notifications, background hides in 0 button mode but not in 3 button mode
Fixes: 199163951
Change-Id: Ic70adc7d67b2ab7c92a2d5d846b9b259d1bd7bfc
2021-10-25 13:44:09 -07:00
Alex Chau 53c7ed5084 Avoid calling getIconResult if recycle is called after request is queued
Fix: 203582251
Test: atest -c NexusLauncherTests:com.android.launcher3.memory.MemoryTests
Change-Id: Ice1e981e1813df516008be578aa89ee17fb79fab
2021-10-25 21:06:27 +01:00
Alex Chau 062e5650fb Fix TaskView jumping caused by split select am: 39da1f78da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16095449

Change-Id: Iae8916945942185f8669520e4634c351c8d9405d
2021-10-25 17:50:00 +00:00
Alina Zaidi fa37c6742e Make sure distinct widgets items are used when mapping widget component
names to widget items.

This is to prevent a crash on duplicate key when creating map.

Bug: 204065759
Test: Enabled flag and got no crash
Change-Id: Ice9f93af76c02eeba53c934687358ed806c60b60
2021-10-25 16:10:45 +01:00
Alex Chau 39da1f78da Fix TaskView jumping caused by split select
- Never apply split select translation to grid overview, instead use dismiss translation to make space to split placeholder to minimize motion and avoid janky double movement
- Ensures snapping to last task for end of grid split cases
- Adjust mCurrentPageScrollDiff due to coordinate shift
- Use longGridRowWidthDiff to shift all task to make space for split placeholder
- Also fixed a bug that split translation isn't reset if entering overview immediately after exit

Bug: 200537815
Test: manual
Change-Id: Ie1b57c34ce4bb079f898ba5b7c3464a714021847
2021-10-25 15:38:34 +01:00
Alex Chau 920be89b26 Clean up IllegalStateException for page pairing
Fix: 198820019
Test: manual
Change-Id: Ic691f781b20d664c57a26370aae479ab68508303
2021-10-25 15:20:16 +01:00
TreeHugger Robot 5647d9f39b Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev am: f409849bc4 am: 85da1db1aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16097527

Change-Id: I98e18faab5c397dd208e83dd1df9135c36418dc3
2021-10-22 01:46:07 +00:00
Bill Yi cc2a629ee0 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df am: a72c102031 -s ours am: 7bb30c848f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I74e675d1d0611dcbcf6babed48a7af80ea0997a4
2021-10-22 01:46:06 +00:00
Bill Yi 63c80798bd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dda2a04183 -s ours am: a69d7317fc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4bde68a5e7db34ff47ae9dc3c2bb33e7282587b6
2021-10-22 01:46:02 +00:00
TreeHugger Robot 85da1db1aa Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev am: f409849bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16097527

Change-Id: I67aaa34d281376260aa4bd8e5cc4fcef49402932
2021-10-22 01:27:31 +00:00
Bill Yi 7bb30c848f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df am: a72c102031 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I62b04a7d14e92ab68cfa04d179314b9b63334c3c
2021-10-22 01:27:30 +00:00
Bill Yi a69d7317fc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dda2a04183 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If248f35638fae7d66b6e281b20418946a837698b
2021-10-22 01:27:21 +00:00
TreeHugger Robot f409849bc4 Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df
  Import translations. DO NOT MERGE ANYWHERE
2021-10-22 01:13:07 +00:00
TreeHugger Robot 98b0e4eb82 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 7c15035bfd -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie99014c1c662e4e9c85c3c81bdd44b92c15b3a2f
2021-10-22 01:04:25 +00:00
TreeHugger Robot 1391c02298 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 92203abe18 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4074c87c5da5e41b7bae7cdef75246f3603e9291
2021-10-22 01:04:23 +00:00
TreeHugger Robot 7c15035bfd Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-22 00:54:20 +00:00
TreeHugger Robot 92203abe18 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-22 00:52:12 +00:00
Alex Chau 5f44ce0608 Ignore testOverviewForTablet until root cause of cuttlefish failure is found. am: 385a6b9caa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102445

Change-Id: Ib3484141f857f8962aa0edf9fb7b530d843438cb
2021-10-21 22:31:47 +00:00
Alex Chau 385a6b9caa Ignore testOverviewForTablet until root cause of cuttlefish failure is found.
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: I9b6f658ab8f55beafaf784d7a374e2780a591089
Merged-In: I9b6f658ab8f55beafaf784d7a374e2780a591089
2021-10-21 21:30:23 +00:00
Makoto Onuki d3fc199300 Merge "Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."" into sc-v2-dev am: 1b5e2679a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102337

Change-Id: Ib207c0afbcdaf2ad472bf6972cb69511d1fa9db5
2021-10-21 21:03:12 +00:00