Commit Graph

6493 Commits

Author SHA1 Message Date
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
Jonathan Miranda eed0520799 Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: Ic13a38f8e5ea7c250b476f0e0751de7898ca4d84
2021-09-02 16:49:06 +00:00
Jonathan Miranda 8bcbb662bb Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I438d4193b9a4ef33613f37e7a4ae30d3f663e6bb
2021-09-02 16:48:46 +00:00
Jonathan Miranda 2f9f6378be Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev 2021-09-02 16:34:03 +00:00
Bill Yi 5c53ce41a5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4e019d50a121267a96f09875c70d8f537a011a0c
2021-09-02 04:41:52 +00:00
Bill Yi 1ec81a93cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I909b0cb92b885cbae61b9fe5e43580b4ef75c013
2021-09-02 04:40:17 +00:00
Samuel Fufa e5f521fbe2 Merge "[AllApps] Polish views according to specs" into sc-v2-dev am: c9d09cac98 am: 2376d37da1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15663383

Change-Id: I4e5aa4af7c29dc5da0199f48c9043e0d914927a6
2021-09-01 21:30:19 +00:00
Samuel Fufa 2376d37da1 Merge "[AllApps] Polish views according to specs" into sc-v2-dev am: c9d09cac98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15663383

Change-Id: I77da2208999e15df3e574b01019847ad901915e6
2021-09-01 21:13:26 +00:00
y bd8d9150e0 [AllApps] Polish views according to specs
Bug: 196391749 Update work edu button stroke color
Bug: 195497351 Update header font size for work apps paused state
Bug: 192673256 Show ArrowTip elevation
Bug: 192668800 Support for two line PopupOption view
Test: visual
Change-Id: I65f8c6152f54306756d6cb66de2581aff45b8d47
2021-08-31 17:04:46 -07:00
Samuel Fufa e48771735d Merge "[Search] Update AllApps header protection" into sc-v2-dev am: e34c2f8272 am: 7f8e1c7213
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619042

Change-Id: I7fa29902406eca8a3e962d2a1c359e8e53f08ebe
2021-08-31 18:43:40 +00:00
Samuel Fufa 7f8e1c7213 Merge "[Search] Update AllApps header protection" into sc-v2-dev am: e34c2f8272
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619042

Change-Id: Idb864ce8f0214f5a00cf03cfcffb667b3349d772
2021-08-31 18:27:27 +00:00
Samuel Fufa e34c2f8272 Merge "[Search] Update AllApps header protection" into sc-v2-dev 2021-08-31 18:08:34 +00:00
Thales Lima 60936f5eac launcher: show smartspace date card on Wallpaper & style
Smartspace requires a lot of information to show cards, and it shouldn't
be required to show a preview for the user on how the home screen looks
like. This changes that to always use the date card from smartspace.

Fixes: 197328474
Test: open Wallpaper & style
Change-Id: I4718a1c0397172f654b7b6b4beb96b50b3b9eeb3
2021-08-31 18:32:02 +01:00
Jon Miranda f3bbd98bf8 Allow users to dismiss notifications in popup view.
Bug: 193014051
Test: - dismiss notifications (left/right)
      - open popup, dismiss notification from shade
        and ensure popup gets updates
      - open popup, trigger new notification
        and ensure popup gets updated

Change-Id: Iea4d458218cbf5cb22f5f89aa0a4cc1bee18cc73
2021-08-30 20:38:16 +00:00
y 8dcd7e0ce7 [Search] Update AllApps header protection
- Disables header protection on AOSP
- Fades in/out search box pill instead of sudden movements
- Work tabs protection shows and hides based on scroll position

Bug: 194106968 [APK attached]
Test: Manual
Change-Id: I5532847ddba3d4555003b0934b8fc846dc5a5cc7
2021-08-29 22:56:54 -07:00
Bill Yi 46ddd6f79d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4444a97d636e307a6d2f16b8dbbc3a74d456f0ee
2021-08-27 05:43:31 +00:00
Bill Yi ed22dd63d0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e406d31ab246c5146a3b139575b59c93873f997
2021-08-27 05:41:55 +00:00