Commit Graph

4959 Commits

Author SHA1 Message Date
Samuel Fufa 9ac78866d3 Merge "[Refactor] Extract work profile related logic from AllAppsContainerView to WorkProfileManager" into sc-v2-dev 2021-09-23 20:11:15 +00:00
Zak Cohen ecc9eee624 Merge "Update Overview scrim to N1 @ L35 for Dark Theme." into sc-v2-dev am: 144b5c182d am: cc5cfa385b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15889494

Change-Id: Ib55236791ad2f70fb9efe2a51562d4a8b11593fd
2021-09-23 16:06:52 +00:00
Zak Cohen cc5cfa385b Merge "Update Overview scrim to N1 @ L35 for Dark Theme." into sc-v2-dev am: 144b5c182d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15889494

Change-Id: Iebfd45d0aa7c8b5ed85fcedc54894110754b6a76
2021-09-23 15:58:15 +00:00
Zak Cohen 144b5c182d Merge "Update Overview scrim to N1 @ L35 for Dark Theme." into sc-v2-dev 2021-09-23 15:44:06 +00:00
Steven Ng baa470614f Merge "Fix RecyclerViewFastScroller scrolling in widgets full sheet" into sc-v2-dev am: 2c4c58a14e am: 4c9d83d6db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15871269

Change-Id: I7141f5b6e4b78b1511c125af1ea91d36e7e7d135
2021-09-23 08:32:27 +00:00
Steven Ng 4c9d83d6db Merge "Fix RecyclerViewFastScroller scrolling in widgets full sheet" into sc-v2-dev am: 2c4c58a14e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15871269

Change-Id: Idd623627eef21821689432b7f327d40369df83bc
2021-09-23 08:16:40 +00:00
Steven Ng 2c4c58a14e Merge "Fix RecyclerViewFastScroller scrolling in widgets full sheet" into sc-v2-dev 2021-09-23 08:05:35 +00:00
Vinit Nayak ab02520ca6 Merge "Shorten and center TaskMenuView for landscape" into sc-v2-dev am: 5dded93a72 am: 870a105b79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15857414

Change-Id: I144ed5776c8c64e9827309ef732b82ac0db43433
2021-09-23 06:17:04 +00:00
Vinit Nayak 870a105b79 Merge "Shorten and center TaskMenuView for landscape" into sc-v2-dev am: 5dded93a72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15857414

Change-Id: Iab80cdbf68e75a16b64f4b8e9bae9a8602866cc6
2021-09-23 06:07:37 +00:00
y eb52419282 [Refactor] Extract work profile related logic from AllAppsContainerView to WorkProfileManager
Bug: 195623679
Test: presubmit
Change-Id: I9954fb40034d1804aaf19f0778f95477e48ccc8f
2021-09-22 16:35:56 -07:00
Zak Cohen ebda0e4848 Update Overview scrim to N1 @ L35 for Dark Theme.
This avoids clashes with app backgrounds.

Bug: 197321290
Test: Flashed and tested in Dark Theme
Change-Id: Ie94b80ef5bf30f05834d2779f5fc9205dc03c2f4
2021-09-22 15:20:45 -07:00
Vinit Nayak 9e6a642d8b Shorten and center TaskMenuView for landscape
* The width of the task menu view for landscape
(both fake and real) is the same as the width
it would be in portrait.
* With the shorter width, we also center the
positioning of the TaskMenuView
* Note this is only for phone, large screen
changes TODO

Bug: 193432925
Test: Tested real/fake landscape + seascape,
view is centered. Portrait same as before.

Change-Id: Ide41e252a3c177c4a911aab544f78930fed2e76f
2021-09-22 14:55:29 -07:00
Jonathan Miranda 47bd7aeb3a Merge "Play window close animation to home for most app to launcher scenarios" into sc-v2-dev am: e37b51b30f am: 739afa1bec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741392

Change-Id: I156b5694002f5c5c299b84d019f70c53536c00b0
2021-09-22 18:58:39 +00:00
Jonathan Miranda 739afa1bec Merge "Play window close animation to home for most app to launcher scenarios" into sc-v2-dev am: e37b51b30f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741392

Change-Id: I95b22ad6b05fb86707aff017eb11fca3af9f9c7d
2021-09-22 18:38:32 +00:00
Steven Ng 0e8a2ce0a9 Fix RecyclerViewFastScroller scrolling in widgets full sheet
See b/200132426 regarding to the bugs.

Test: manually tested full widgets picker scrolling on phone and 2
      panels UI.
Fix: 200132426
Change-Id: I13c7a7262e9357cf0acac1c2c7c069b2118bd527
2021-09-22 18:02:44 +01:00
Jon Miranda 8d3d2757e2 Play window close animation to home for most app to launcher scenarios
- Animates into icon/widget location on workspace (when applicable)
- Excludes unlock animation
- Excludes when user goes back to to All Apps state

Bug: 197656197
Bug: 197450256
Bug: 197656915
Test: go in app, swipe back to land on home
Change-Id: Icdf680bd88599f1b6288822a177087283668431c
2021-09-21 20:19:23 -07:00
Steven Ng 7a3be2e933 Merge "Add an animation for invalid widget resizing in 2 panel UI" into sc-v2-dev am: 3bbebe2439 am: 407587b721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828712

Change-Id: Ib385b82433caf0ed8ab37e9a7785e7df72ef3174
2021-09-21 10:16:14 +00:00
Steven Ng 407587b721 Merge "Add an animation for invalid widget resizing in 2 panel UI" into sc-v2-dev am: 3bbebe2439
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828712

Change-Id: I0847d3d3366bbc81ebe1299c294f5110311a5586
2021-09-21 10:02:53 +00:00
Steven Ng 3bbebe2439 Merge "Add an animation for invalid widget resizing in 2 panel UI" into sc-v2-dev 2021-09-21 09:27:44 +00:00
Steven Ng 4b346108d1 Add an animation for invalid widget resizing in 2 panel UI
Test: manual
Fix: 197509872
Change-Id: Ibcfae107e7f4b3bfbc562d4a6436f4b9237db122
2021-09-20 15:33:23 +01:00
TreeHugger Robot 651516ecba Merge "Use ICU to format plural strings" into sc-v2-dev am: c9e7bf458f am: 3da93a868b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15819388

Change-Id: I19ce94b884bdc3fe721c57a393489265440e54fe
2021-09-20 12:35:32 +00:00
Thales Lima 79ebf929e6 Merge "launcher: use scalable grid in 4x4" into sc-v2-dev am: 5f8bbcd552 am: e5b9e95161
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15754333

Change-Id: I569b24b60e99bd074e6471fe9337a452a79a76c1
2021-09-20 12:29:36 +00:00
TreeHugger Robot 945a865e79 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-20 06:18:56 +00:00
Bill Yi 0d33c08c45 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib81254a6cc782b55ddcef4a4f45a5b8a368382fe
2021-09-18 14:13:48 +00:00
Bill Yi 2cc57ca771 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If829091c28ecac581fbafe694da830449b6f70ee
2021-09-18 14:12:05 +00:00
TreeHugger Robot 3da93a868b Merge "Use ICU to format plural strings" into sc-v2-dev am: c9e7bf458f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15819388

Change-Id: Ica026351ae69bee87489e2403400e7b669539054
2021-09-18 04:53:37 +00:00
TreeHugger Robot c9e7bf458f Merge "Use ICU to format plural strings" into sc-v2-dev 2021-09-18 04:37:46 +00:00
Steven Ng 707b118184 Use ICU to format plural strings
Test: manual
Fix: 199230208
Change-Id: I0b6fe9f8bb134a1479117c832575c63da2a07794
2021-09-17 22:44:06 +01:00
Thales Lima e5b9e95161 Merge "launcher: use scalable grid in 4x4" into sc-v2-dev am: 5f8bbcd552
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15754333

Change-Id: I7aae2cb0bad4fa85253b1004f1f3b0a91c2ff5ce
2021-09-17 20:47:42 +00:00
Thales Lima d1df5fcaac launcher: use scalable grid in 4x4
Many changes are required to make scalable displays work correctly on
foldables. This first one is making sure that the correct number of
columns is used when calculating the used width for scalable grid. The
spaces around the workspace are not final yet.

Bug: 191879424
Test: manual
Change-Id: Idc41ed004580f1f86d8f9595d005abc72301b1e3
2021-09-17 10:43:42 +01:00
Pratyush fa29127c48 Merge "Revert "Make hotseat bottom a launcher config"" 2021-09-15 09:15:57 +00:00
Pratyush 8c2932567b Revert "Make hotseat bottom a launcher config"
Revert "Add vendor/unbundled_google/packages/LauncherIndiaGoogle..."

Revert "Create a new launcher for lily"

Revert submission 15080460-lily-launcher-master

Reason for revert: <Build Breakage>
Reverted Changes:
I0b2d19ee7:Make hotseat bottom a launcher config
I0bb4c815c:Add vendor/unbundled_google/packages/LauncherIndia...
I666ce8258:Create a new launcher for lily
I4d078a9d9:Move QSB to bottom of the home screen in LauncherL...

Change-Id: Ib9f32150de561dcd56122761975abe8828839f40
2021-09-15 08:30:08 +00:00
Pratyush 4340b12da5 Merge "Make hotseat bottom a launcher config" 2021-09-15 07:52:56 +00:00
Pratyush d869eac03f 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: I0b2d19ee7651a02db0bfc1756fdc730b2d0fc3f3
2021-09-13 13:40:17 +00:00
TreeHugger Robot 0555a36c41 Merge "Fix wrong screenId when committing emptyScreens" into sc-v2-dev am: b94401646d am: 1c0e188171
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795676

Change-Id: I8accc7c6fe020b2e8ba299cd1f4a57160b8a96d5
2021-09-10 16:12:43 +00:00
TreeHugger Robot 1c0e188171 Merge "Fix wrong screenId when committing emptyScreens" into sc-v2-dev am: b94401646d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795676

Change-Id: I922d7c34a4e031f72b5ed8b1a4a31d16a7c8f065
2021-09-10 15:58:35 +00:00
Alex Chau 1d5929dd82 Fix wrong screenId when committing emptyScreens
- Need to increment newScreenId whenever the screen is already bound
- Also cleaned up placeholder on w1 as we now have page pairing logic

Bug: 199160559
Bug: 175939730
Fix: 199131780
Test: drag and drop after clear data
Change-Id: Ic42f3bddfa6cf11b8b726d6181ed2477defde19d
2021-09-10 14:36:36 +01:00
Samuel Fufa 86a5fcfc8e Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev am: 8aecc9ac36 am: 2e4bb875d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788127

Change-Id: I6f1d81eb6675090941a6028589e0fcb612cbb9db
2021-09-09 01:47:37 +00:00
Samuel Fufa 2e4bb875d4 Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev am: 8aecc9ac36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788127

Change-Id: Icf0456d3dd9ce4d1cdbcdcb1190211bfdaf3900d
2021-09-09 01:23:42 +00:00
Samuel Fufa 564e9ca223 [Work] Fix work apps showing in personal tab
The problem here is that we are tracking hasWorkApps and usingTabs using the same value.
 This leads to work/personal apps showing together when clearing search since mUsingTabs is overridden to false on setLastSearchQuery and later used to determine if tabs should show.
Bug: 198546279
Test: Manual

Change-Id: I7df5d65472703bedcc9dd688847d9ebd146d5f61
2021-09-08 15:02:24 -07:00
Thales Lima 31a2afef49 Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev am: 9223c1e27c am: 4f347ef3cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15726603

Change-Id: I2a0e1b1c880c88a0d1940490e5a1c1276790e10c
2021-09-08 10:29:19 +00:00
Thales Lima 4f347ef3cf Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev am: 9223c1e27c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15726603

Change-Id: Idc653dbb5b86432f8f9626ee567ae22453bbeeda
2021-09-08 10:15:58 +00:00
Thales Lima 9223c1e27c Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev 2021-09-08 09:58:11 +00:00
TreeHugger Robot 316ff9e86f Merge "Remove widget panel related leftover workspace items" into sc-v2-dev am: 69fd5cb959 am: 29ad430f36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763353

Change-Id: Ice35fd5a9ca28916a33059ff776ff06db9acef02
2021-09-06 13:05:54 +00:00
TreeHugger Robot 29ad430f36 Merge "Remove widget panel related leftover workspace items" into sc-v2-dev am: 69fd5cb959
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763353

Change-Id: Iecc4d2a2013a44c278a71e32e3d6c5c4737e289d
2021-09-06 12:52:54 +00:00
Andras Kloczl 929e3a2742 Remove widget panel related leftover workspace items
Upgrade launcher DB version and remove items with
widget panel IDs from the database.

Test: follow test instructions (in CL comment)
Bug: 198254728
Change-Id: I077a5f70ee93b7eca738b38f6b0e788d49f7ce70
2021-09-06 11:58:32 +01:00
TreeHugger Robot bb873b5a72 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-09-03 17:29:30 +00:00
TreeHugger Robot 6c88109006 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-03 16:51:11 +00:00
Jonathan Miranda 9a0a3a361e Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be am: eed0520799 am: 44b3eed902
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: Ic6b61a559c0fd0f92cdc8f73867ea2bbdc3d830c
2021-09-02 17:18:11 +00:00
Jonathan Miranda 44b3eed902 Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be am: eed0520799
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I9da12885327677e30f505ef91a741238c4be7bda
2021-09-02 17:03:39 +00:00