Commit Graph
87505 Commits
Author SHA1 Message Date
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
Suphon Thanakornpakapong 66dd0a4e98 Port icon shape system from Lawnchair 10 2021-10-15 16:25:12 +07: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
Suphon Thanakornpakapong b99effeed4 Fix drop target text color 2021-10-15 09:29:27 +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
Android Build Coastguard Worker 00305fa80c Snap for 7825444 from 16b69de1cf to tm-release
Change-Id: Ifc7c61f953c3a4c4564b933ae464c08cb5e274fd
2021-10-15 01:09:02 +00: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
Suphon Thanakornpakapong 763af6b5f8 Fix grid size preview in rtl 2021-10-15 00:38:12 +07:00
Suphon Thanakornpakapong 2d2f1949bc Align preference search bar input with content 2021-10-15 00:25:18 +07:00
Suphon Thanakornpakapong b63997c61d Also apply colors to shortcut ripples 2021-10-15 00:18:03 +07:00
Patryk Michalik def7f9de3f PreferenceSearchScaffold: Match search bar and content widths 2021-10-14 19:08:55 +02:00
Patryk Michalik f6f5d34e81 Optimize imports 2021-10-14 19:08:55 +02:00
Patryk Michalik 5db73b52a7 Update dependencies 2021-10-14 19:08:55 +02:00
Suphon Thanakornpakapong 26d9e7d5d9 Apply accent color to search bar 2021-10-15 00:01:07 +07:00
Suphon Thanakornpakapong 47a10063f0 Theme ui elements using accent color palette 2021-10-14 23:57:17 +07:00
Suphon Thanakornpakapong 06fc509b45 Show flag toggler ui on all devices 2021-10-14 19:20:32 +07:00
Patryk Michalik a4fc3b8a78 Add ability to customize opacity of folder icon backgrounds 2021-10-14 13:31:45 +02:00
Pratyush 37980c6d2c Merge "Make hotseat bottom a launcher config" 2021-10-14 05:12:37 +00:00
Android Build Coastguard Worker 32ed5d0832 Snap for 7821439 from 925e85e561 to tm-release
Change-Id: I6d5c82b4ec7cc8dcef00db9dc2fe300512c94565
2021-10-14 01:09:23 +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
Patryk Michalik 025b0c2bf1 Refactor PreferenceGroupHeading 2021-10-13 19:29:27 +02:00
Patryk Michalik e4718db8c0 Reformat AllAppsSearchInput 2021-10-13 19:29:16 +02:00
Suphon Thanakornpakapong c365455f8e Wrap icon pack icon in custom adaptive drawable 2021-10-13 18:28:38 +07:00
Suphon Thanakornpakapong 3d19e7c319 Simplify icon pack resolving 2021-10-13 18:27:57 +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
Suphon Thanakornpakapong b81cb45053 Move root service binding to IO dispatcher 2021-10-13 18:11:29 +07: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
Suphon Thanakornpakapong 8e1e66ad0c Fix quickstep on Android 12 2021-10-13 17:38:12 +07:00