Commit Graph

49925 Commits

Author SHA1 Message Date
Bill Yi 2f2bae1ebc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d417011a96 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5ba88d5c0464b2792616bde3f79d66ffbc0c5733
2021-10-15 14:41:10 +00:00
TreeHugger Robot 90b025d995 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fbd45b7274 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I689c5cab4dc38d7a5ed2f67a64b979b195d8bc04
2021-10-15 14:40:43 +00:00
Bill Yi 2063a30de2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 0ff2d62704 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2ce0e8aa03c1a5c193141712dd01e8f260039383
2021-10-15 14:40:07 +00:00
Bill Yi a6a9d37e74 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 0ff2d62704 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie46a3b10f6b2890b414edff7dc86cdcac6e27a12
2021-10-15 14:40:06 +00:00
TreeHugger Robot fbd45b7274 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-15 14:29:17 +00:00
TreeHugger Robot 45ad152948 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-10-15 14:21:45 +00:00
Thales Lima 4fb5b0470e launcher: add paddings to 5 row grids
Add new paddings for some devices, and bring grid spaces up to spec

Bug: 191879424
Fixes: 200810597
Fixes: 201690454
Fixes: 201711891
Fixes: 202082058
Bug: 202708085
Test: checking cell size and extra space in dumpsys and hsv
Change-Id: Ia13af870a89e5b933b24a0955dbd7b66446ebf4e
2021-10-15 14:16:09 +01:00
Nick Chameyev ae818dfe42 Do not animate statusbar unfold when in portrait orientation
Disables unfold animation for statusbar when it is
perpendicular to the screen fold.
Moves ScopedUnfoldTransitionProgressProvider from launcher
to shared SysUI/Launcher code

Bug: 201518277
Test: manual
Test: atest com.android.systemui.unfold.util.NaturalRotationUnfoldProgressProviderTest
Change-Id: I1417ee89b132b541d5a3ed0e5ddcbc56d827da96
2021-10-15 14:06:42 +01:00
Thales Lima a8cbab843f Merge "launcher: create a device profile for foldables" into sc-v2-dev am: 4d6f3d67d2 am: c163d4952b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16048152

Change-Id: I8c0f0055121a60cbfe37a87f3d250232c3782f3c
2021-10-15 10:43:37 +00:00
Thales Lima c163d4952b Merge "launcher: create a device profile for foldables" into sc-v2-dev am: 4d6f3d67d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16048152

Change-Id: I2828963daf4dcb4c8459a1dfd1ee22435f5250fc
2021-10-15 10:21:20 +00:00
Thales Lima 4d6f3d67d2 Merge "launcher: create a device profile for foldables" into sc-v2-dev 2021-10-15 10:10:36 +00:00
Samuel Fufa 0d258310d1 Merge "[Search] Fix ItemInfo assignment conflict" into sc-v2-dev am: f53278c908 am: 9851b0fced
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16059407

Change-Id: I48c8c30912d58120f234bd42421ea58444722cb3
2021-10-15 09:42:46 +00:00
TreeHugger Robot 249420ef41 Merge "Update logging to help debug b/200572078" into sc-v2-dev am: cd9f57042c am: 4613c6efb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049619

Change-Id: I1b5626409e0845c2e029a4b11659c223b2123869
2021-10-15 09:42:39 +00:00
Vinit Nayak 23c40bee98 Merge "Suspend auto-hiding taskbar when folder is open" into sc-v2-dev am: 22762d91cd am: 55c5ae2395
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010272

Change-Id: I43c74433fb4534ee89af77a43a870f4e7375a2d5
2021-10-15 09:42:08 +00:00
Samuel Fufa 9851b0fced Merge "[Search] Fix ItemInfo assignment conflict" into sc-v2-dev am: f53278c908
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16059407

Change-Id: I9018f824a80a7b774fa8d57c2090a0a9dee56b0a
2021-10-15 09:26:55 +00:00
TreeHugger Robot 4613c6efb2 Merge "Update logging to help debug b/200572078" into sc-v2-dev am: cd9f57042c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049619

Change-Id: Ie4da725e70cfccf369dc29aa418804ed8c582e8b
2021-10-15 09:25:54 +00:00
Vinit Nayak 55c5ae2395 Merge "Suspend auto-hiding taskbar when folder is open" into sc-v2-dev am: 22762d91cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010272

Change-Id: I3dd86dc6b32e65f87e3c1c37702a964afbdfb8b7
2021-10-15 09:25:39 +00:00
Tony Wickham bb6e278f14 Fix taskbar layout issues in setup wizard
- Align nav buttons (only back is enabled) to start instead of end
- Don't animate from init()
- Provide 0 contentInsets.bottom
  - Auto-stash the taskbar during setup
  - Hide the stashed handle by adding an alpha channel for home disabled
  - Report 0 contentInsets when stashed if the handle isn't visible
- Tint nav buttons according to theme

Test: adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Bug: 194786060
Change-Id: I4a40501e8aad2a38ec00398efe9ea3dbfa7428cd
2021-10-14 21:50:03 -07:00
Vinit Nayak 74b25ca266 Align 3 button nav with hotseat
* Animate translationY alongside icons
* When device rotates on home, update
translationY
* Add padding to contextual buttons to center
it

Bug: 189807374
Change-Id: I149ef25df570fb1fd385f1da960c827105ff975d
2021-10-14 18:32:35 -07:00
Samuel Fufa f53278c908 Merge "[Search] Fix ItemInfo assignment conflict" into sc-v2-dev 2021-10-14 23:22:16 +00:00
Android Build Coastguard Worker 2b04d50f69 Snap for 7824833 from 22762d91cd to sc-v2-release
Change-Id: I52b91c3e950d42ff17030f48553fb97cb9c1e612
2021-10-14 23:10:55 +00:00
TreeHugger Robot cd9f57042c Merge "Update logging to help debug b/200572078" into sc-v2-dev 2021-10-14 22:33:59 +00:00
Bill Yi a77cb24f2e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7b23f05f79b5b570e825b7ad7776057790c3131b
2021-10-14 22:16:04 +00:00
Bill Yi 98f806e42c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I27dd278dce99e743c0b3c42ec7e224328f9046a6
2021-10-14 22:14:30 +00:00
Bill Yi d417011a96 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I620316d32600beeb2bf029262d7800a90167a506
2021-10-14 22:13:50 +00:00
Bill Yi 0ff2d62704 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I48ea05ff4807e4f64e12b7a78175d3c9c35c4dcf
2021-10-14 22:13:09 +00:00
Thales Lima 1de4d55d55 launcher: create a device profile for foldables
This creates a device_profiles_split.xml that will be used when the
device is a foldable. This makes the changes contained for specific
devices and make it possible to use different padding files in the
future if needed.

Bug: 191879424
Test: tested with NexusLauncher and Launcher3, in foldables and
handhelds
Test: check that 4x4 is not scalable anymore on handhelds by using HSV

Change-Id: If6ef14e3611c5252634c080643433545ce186f0d
2021-10-14 22:42:25 +01:00
sfufa@google.com 0fe464ddb9 [Search] Fix ItemInfo assignment conflict
When a BubbleTextHolder has more than one bubble text view, BubbleTextView#getParent().onItemInfoChanged is problematic as the ItemInfo associated with the last BubbleTextView will be the final ItemInfo set on parent. This is fixed by setting ItemInfo change receiver more explicitly.

Bug: 203020679
Test: Manual
Change-Id: Ia8aeead1a6151c2aa47148ba4846ae3d3ee39b73
2021-10-14 14:35:08 -07:00
Schneider Victor-tulias 97b85ee6cb Update gesture navigation tutorial with new specs for foldable devices.
- Added new layout files for mock screens.
- Added new mock hotseat

Bug: 198434693
Test: launched and completed tutorial on regular phone and foldable device.
Change-Id: I1ad04f9e8e3a012528d6fd8fbaa0366687c65d06
2021-10-14 12:37:34 -07:00
Vinit Nayak 22762d91cd Merge "Suspend auto-hiding taskbar when folder is open" into sc-v2-dev 2021-10-14 19:11:53 +00:00
TreeHugger Robot 16b69de1cf Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev am: 485f2a53b2 am: 5f61b2dc27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16014242

Change-Id: Ia9de754faac5ecc6bcd5a3de13d2dcf26a5a2a8f
2021-10-14 18:47:34 +00:00
TreeHugger Robot 5f61b2dc27 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev am: 485f2a53b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16014242

Change-Id: Ifac1ac169e1e83f002b4c8270f5dd0b4f8d1ec2d
2021-10-14 18:31:49 +00:00
TreeHugger Robot 485f2a53b2 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev 2021-10-14 18:18:20 +00:00
Pratyush 37980c6d2c Merge "Make hotseat bottom a launcher config" 2021-10-14 05:12:37 +00:00
Samuel Fufa 4206d9d4c6 Merge "[Search] Introduce feature flag ENABLE_ONE_SEARCH" into sc-v2-dev am: d942287299 am: 625d375536
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15975399

Change-Id: I8e17b762a7ba7fae6820e9816d6e365741822c11
2021-10-14 00:51:37 +00:00
Samuel Fufa 625d375536 Merge "[Search] Introduce feature flag ENABLE_ONE_SEARCH" into sc-v2-dev am: d942287299
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15975399

Change-Id: Ic89fcfebfbb1840e0001612518a134be76ebc243
2021-10-14 00:37:15 +00:00
Samuel Fufa d942287299 Merge "[Search] Introduce feature flag ENABLE_ONE_SEARCH" into sc-v2-dev 2021-10-14 00:26:20 +00:00
Android Build Coastguard Worker 1ea50a5ae0 Snap for 7821078 from 238aaee059 to sc-v2-release
Change-Id: Ia44fa7bcb74ddc94ce9c445774e6d47ee2451dd4
2021-10-13 23:09:09 +00:00
Schneider Victor-tulias 8d8412f5b0 Update logging to help debug b/200572078
The class name logged in a repro of b/200572078 was insufficient after updated logs. Added more logging to get a pointer and stack trace when callbacks are added.

Test: ran launcher and checked logs
Bug: 200572078
Change-Id: I01bf98f488204311415a3946d66d99f656387cc4
2021-10-13 15:02:12 -07:00
Tony Wickham 615cf6c431 Fix launching window bounds for immersive apps
Test: Open an immersive app (e.g. fullscreen YT video), ensure it fills
the screen; open a non-immersive app (e.g. Calculator), ensure it only
fills up to the top of the taskbar.
Fixes: 200036592

Change-Id: Id815bbc8140cbaf1e61ac587ae1f1325e7ec5b72
2021-10-13 21:17:16 +00:00
sfufa@google.com 3b6b03b756 [Search] Introduce feature flag ENABLE_ONE_SEARCH
Bug: 201781284
Test: Manual
Change-Id: I31f8b6fe5664c874e4c9605a1d174807b6170df0
2021-10-13 11:28:09 -07:00
Pratyush 9afe1ea212 Make hotseat bottom a launcher config
The changes are required for the bottom placement of QSB on lily
devices. This enables lily devices to tweak the required factors to
adjust the placement of QSB

Bug: 190080582
Bug: 184060190

Test: Tested the changes manually
Change-Id: Ibd80db5d78a5792963407a0b03af7e4f40717e08
2021-10-13 11:13:27 +00:00
Alex Chau 925e85e561 Allow 2x2 and 3x3 to be migrated after restore am: 238aaee059 am: 7ca1aba4e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992138

Change-Id: I9fbcb691e088fb02194c4d50c3bd0a9b3b36a6b3
2021-10-13 11:00:37 +00:00
Alex Chau 7ca1aba4e6 Allow 2x2 and 3x3 to be migrated after restore am: 238aaee059
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992138

Change-Id: I8cf6ed0cdfc12678259a31194eb94992822a61cd
2021-10-13 10:46:41 +00:00
Android Build Coastguard Worker c6a4888bd8 Snap for 7816887 from fa8860a1b5 to sc-v2-release
Change-Id: I7837e873f126b2bb1910aa9df7dc8ea6a4f34c30
2021-10-12 23:08:52 +00:00
Trevor Radcliffe caecf6393b Migrate Aardwolf to Soong
Fixes: 202886196
Test: apkanalyzer--apks are identical
Test: Treehugger
Change-Id: Iff24028632c4b6929c408db2dbae9a3d98604810
2021-10-12 23:00:23 +00:00
Alex Chau 238aaee059 Allow 2x2 and 3x3 to be migrated after restore
- Allow disabled grid to be used during restore
- Remove all inactive grid dbFiles to allow grid migration to happen
- Set the proper grid after restore to trigger migration

Bug: 202125760
Test: Restore a 2x2,3x3 grid, icons and widgets are migrated to 4x4 grid
Test: Restore a 4x4 grid, icons and widgetse stays in original position
Change-Id: Ie59e1ca0ca56ed2de52d88cd5f51b980788afa52
2021-10-12 17:36:04 +01:00
TreeHugger Robot 54edd378aa Merge "Revert "More logging for drop bar not appearing for dragged widget"" into sc-v2-dev am: fa8860a1b5 am: 730cbff58c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16033841

Change-Id: If34038c0abce83ef4374f4ff22b35f5380194d00
2021-10-12 10:04:34 +00:00
TreeHugger Robot 730cbff58c Merge "Revert "More logging for drop bar not appearing for dragged widget"" into sc-v2-dev am: fa8860a1b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16033841

Change-Id: I403a85f283f47a186fb8ec875f106f79443b187d
2021-10-12 09:44:53 +00:00
TreeHugger Robot fa8860a1b5 Merge "Revert "More logging for drop bar not appearing for dragged widget"" into sc-v2-dev 2021-10-12 09:18:08 +00:00