Commit Graph

4959 Commits

Author SHA1 Message Date
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
Bill Yi e57d9636a7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I17fda4d6bb542e6b3dd90db73acaf140ba966e12
2021-08-27 05:41:16 +00:00
Mariia Sandrikova bede97cf24 Merge "Change dark overview scrim color to Neutral 2 palette with 35 luminosity." into sc-v2-dev am: e5928ec9d9 am: fae0492b84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15667355

Change-Id: Ia6476955f6fcba65a483c0023b3f8fde5846d8a1
2021-08-25 21:58:25 +00:00
Mariia Sandrikova fae0492b84 Merge "Change dark overview scrim color to Neutral 2 palette with 35 luminosity." into sc-v2-dev am: e5928ec9d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15667355

Change-Id: Ibb91ec93e4d04aaa3af2a78f85e70ac8fad8b7a4
2021-08-25 21:44:39 +00:00
Mariia Sandrikova e5928ec9d9 Merge "Change dark overview scrim color to Neutral 2 palette with 35 luminosity." into sc-v2-dev 2021-08-25 21:32:13 +00:00
Mariia Sandrikova 02ce48601a Change dark overview scrim color to Neutral 2 palette with 35 luminosity.
Bug: 197361088
Test: manual
Change-Id: I2e9a4d41c2660aa10f3f9cfe51bbee55dee917f2
Signed-off-by: Mariia Sandrikova <mariiasand@google.com>
2021-08-25 00:04:36 +01:00
Schneider Victor-tulias 33277fcf8a Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f am: 8cb3df4896
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ida8739d4e792f82ce9c64772756d1e21f4449df9
2021-08-23 20:17:37 +00:00
Schneider Victor-tulias 8cb3df4896 Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ib5cdc82f2747a6c1beaf86d86139bf7585798713
2021-08-23 20:00:40 +00:00
Schneider Victor-tulias ff322310a3 Convert gesture navigation tutorial still image vector drawables to layout files
Bug: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I1cba811c556139bc9ba52459f1b27f21eb156ac0
2021-08-23 11:14:04 -07:00
Alex Chau 3a97c736a1 Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728 am: 3328b32054
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247

Change-Id: I59fdfa471d8f29524179517cee156baf006ee512
2021-08-18 09:08:57 +00:00
Alex Chau 3328b32054 Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247

Change-Id: I554e432e4a06e5fcece33efb39dde074a1873ada
2021-08-18 08:56:27 +00:00
Alex Chau 2683bd7728 Merge "Support different task icon margin for grid tasks" into sc-v2-dev 2021-08-18 08:41:42 +00:00
TreeHugger Robot 4b6a402e40 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-08-17 21:34:22 +00:00
TreeHugger Robot 9e829f5bdb Merge "Only add 2nd screen by default for split display" into sc-v2-dev am: cceef46f16 am: 42a79a3023
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583057

Change-Id: Id04adff0053d16681aa4a9015fb70fc57ac52641
2021-08-17 19:55:33 +00:00
TreeHugger Robot 42a79a3023 Merge "Only add 2nd screen by default for split display" into sc-v2-dev am: cceef46f16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583057

Change-Id: I394ab4a53ccd04da164580312c34e3ea54d36420
2021-08-17 19:49:40 +00:00
TreeHugger Robot cceef46f16 Merge "Only add 2nd screen by default for split display" into sc-v2-dev 2021-08-17 19:45:48 +00:00
TreeHugger Robot 96273bf2ff Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-17 19:39:01 +00:00
Alex Chau eaa6d682d4 Support different task icon margin for grid tasks
- Focused and non focused grid now have differnt margin between icon and snapshot
- The overall margin above snapshot is still the same
- Invoke updateChildTaskOrientations when focus task changes to update the margin
- Also lowered the row spacing according to spec

Bug: 194194694
Test: manual
Change-Id: I25267bef19d5a8b1dc1cf96fc1babdc3ebc39330
2021-08-17 18:33:21 +01:00
Alex Chau fa3a209537 Only add 2nd screen by default for split display
Fixes: 175939730
Fixes: 196951827
Test: atest Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Change-Id: I5b0acf162b7f63c6df8f55a6c7e2975e1748190a
2021-08-17 13:53:07 +00:00
Alex Chau fbd553a947 Merge "Remove widget panel" into sc-v2-dev am: dc57b06e29 am: 6c0bd21c4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547451

Change-Id: If266743bc02e6367d881f5b85c9ef873b6bba324
2021-08-17 09:22:20 +00:00
Bill Yi d32a35b27b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib59fde9a1b087d927af5e3d96a75ce7ee2f748d6
2021-08-17 02:19:05 -07:00
Bill Yi fd68c8bdeb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic974cc411ced8abc87034adcf2e079f42202b98e
2021-08-17 02:17:05 -07:00
Bill Yi f07084c8f4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e99b63e1092bd252b2052280d05e765cbe799ac
2021-08-17 02:16:14 -07:00
Alex Chau 6c0bd21c4e Merge "Remove widget panel" into sc-v2-dev am: dc57b06e29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547451

Change-Id: I9b5638d2abdfe85f2bb86caaeb884c3d082bc1de
2021-08-17 09:11:46 +00:00
Alex Chau dc57b06e29 Merge "Remove widget panel" into sc-v2-dev 2021-08-17 08:48:26 +00:00
Sunny Goyal 42384dec50 Merge "Fixing header jump" into sc-v2-dev am: 48b012b148 am: ea35a6edcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550092

Change-Id: I78d9fdb9cd3301a614bf063e4886692a67083f2a
2021-08-16 18:46:53 +00:00
Sunny Goyal ea35a6edcb Merge "Fixing header jump" into sc-v2-dev am: 48b012b148
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550092

Change-Id: Ie59fd030a058a75346869e854ee3549fb1977580
2021-08-16 18:30:47 +00:00
Sunny Goyal 48b012b148 Merge "Fixing header jump" into sc-v2-dev 2021-08-16 18:20:00 +00:00
Sunny Goyal 77acf12905 Fixing header jump
Linking header position to an empty entry in the recyclerView,
instead of calculating the vertical scroll position. This
allows the header to be in sync with the recyclerView scroll and
item animations

Other simplifications:
> Moving top collapse handle out of header view (it doesn't scroll)
> Removing background clipping logic from full-sheet
> Moving tab bar inside the header view

Bug: 196464142
Test: Verified on device
Change-Id: Iae5a0ae9af7ce258e1b391b8e85c5c270fe56197
2021-08-16 09:45:14 -07:00
Alex Chau f551c876e4 Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990 am: 298db67fd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531

Change-Id: I82d22dcb706ca5ab2ba83a5994e801c3f369d022
2021-08-13 22:10:36 +00:00
Alex Chau 298db67fd8 Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531

Change-Id: Ifd297a22641a8d3a074c27d637ee895a1fc24de0
2021-08-13 21:59:14 +00:00
Alex Chau 1e4484669d Remove widget panel
- Remove all usage of LEFT_PANEL_ID and fixed left panel code
- For preview renderer, load screen 0 + screen 1 instead
- Added a split display specific default workspace layout, with a placeholder app to pass test before we implement page pairing(b/196376162)
- Known issue: If screenId 1 is deleted, right panel will disappear from Wallpaepr & Style because there is no screenId 1. Will be resovled after page pairing(b/196376162)

Bug: 175939730
Test: manual and TaplTestsLauncher3#testWorkSpace
Change-Id: Icac1c94165c14a49c17897c45355b6cdc4d87e91
2021-08-13 21:48:35 +01:00
Thales Lima 7ec8382044 launcher: hide grid options for foldables
Some grid options are too dense for foldables (those with 5 icons), so
we are hiding them on those devices.

This also move the parsing to be done on InvariantDeviceProfile only.

Fixes: 183140646
Test: open Wallpaper & style and change app grid options
Change-Id: I771571db02709db5d0f814236060c57ce0180cd1
2021-08-13 16:07:05 +00:00
TreeHugger Robot 21cb8f7bd0 Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev am: 00d0ce9b3b am: 39a93b1d8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472539

Change-Id: I4df81aeab62eb168bb6202b2a3f806e186349b00
2021-08-13 01:41:13 +00:00
TreeHugger Robot 39a93b1d8d Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev am: 00d0ce9b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472539

Change-Id: I5d2fbfd71d5d69f3343854e94498ed5c23c84770
2021-08-13 01:26:37 +00:00