Jon Miranda
401b921c19
Fix bug where status bar was not set properly.
...
- Need to check both alpha of the view, and alpha of the background color.
Bug: 187467559
Test: check status bar colors when using:
- on white wallpaper,
- on black wallpaper,
- on wallpaper with white text
- on wallpaper with dark text
Change-Id: Ie6f34d34dfa9dea716f95bd6a95125fbd650fc29
2021-06-29 14:23:55 -07:00
Yogisha Dixit
ffd5acea77
Merge "Show resize frame when widget is added." into sc-dev am: 419ee4599e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956205
Change-Id: I318890ec7296fdd9f2176cf19e77898ed5acbf0e
2021-06-29 21:21:45 +00:00
Yogisha Dixit
41ce5a6a2a
Merge "Show resize frame when widget is added." into sc-dev am: 419ee4599e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956205
Change-Id: I33ee7c8ba6380e64bbab23d8af9ba0672ed11d36
2021-06-29 21:20:57 +00:00
Yogisha Dixit
1d161e8209
Merge "Show resize frame when widget is added." into sc-dev am: 419ee4599e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956205
Change-Id: I40b2ab79e02502b9aeda11d89fc3dcd439b4c9e3
2021-06-29 21:19:55 +00:00
Yogisha Dixit
419ee4599e
Merge "Show resize frame when widget is added." into sc-dev
2021-06-29 21:07:34 +00:00
Brian Isganitis
3b39f3164b
Intercept touch events for launcher preview root view
...
This change prevents any accidental touches on any widgets in the
preview.
Test: Tapping on launcher preview in wallpaper app should never activate
a widget.
Bug: 191623924
Change-Id: I98d462eca699cf368dcd5894f15584f280932ccc
2021-06-29 16:07:16 -04:00
Lucas Dupin
0f00c35268
Decouple zooms and blurs on app launch
...
We'd like to be able to disable blurs during app launch, but without
disabling zooms as well. The previous sysprop would set the depth of
BackgroundAppState to 0, when what we want is to conserve wallpaper
zoom.
Bug: 191969790
Test: adb shell setprop ro.launcher.blur.appLaunch false
Change-Id: Ie4b26096f6ac723c3981bba2829557e6cc6c733b
2021-06-29 13:02:12 -07:00
Jon Miranda
c26e5fff7c
Allow two lines max for text view in system shortcuts.
...
This makes it more accessible for more languages.
Bug: 185770234
Test: set language to Spanish, ensure 2 lines
ensure deep shortcuts remain 1 lines
Change-Id: I652fe6a51bde5d8c30f695a0a56f0879412bca01
2021-06-29 12:53:27 -07:00
Samuel Fufa
6dd00b8451
Merge "Update snackbar color" into sc-dev am: 48ec126d8b am: d3f63d9565 am: 743596fb49
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: I6b6d79f9487c30ab9f1f7b12fdb7f0cd46a70402
2021-06-29 19:44:01 +00:00
Samuel Fufa
ff600510c2
Merge "Update snackbar color" into sc-dev am: 48ec126d8b am: 42064e0d30 am: 03f3592799
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: Ibfcab2cb44d5a4c8a5eb9fa15adc4d4f111debe7
2021-06-29 19:42:21 +00:00
Samuel Fufa
743596fb49
Merge "Update snackbar color" into sc-dev am: 48ec126d8b am: d3f63d9565
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: I425cc4a8d0e3a04baf3fbd9b8501d6b9fa36fc69
2021-06-29 19:25:41 +00:00
Samuel Fufa
03f3592799
Merge "Update snackbar color" into sc-dev am: 48ec126d8b am: 42064e0d30
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: Id38337cc942d3a632e1f04ca20e7c90cb6a1e8eb
2021-06-29 19:24:45 +00:00
Samuel Fufa
c5b11d6163
Merge "Update snackbar color" into sc-dev am: 48ec126d8b am: e852e65a9e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: I9e4fd5d7f9268903c23482a0c9851098c90bc483
2021-06-29 19:24:08 +00:00
Samuel Fufa
42064e0d30
Merge "Update snackbar color" into sc-dev am: 48ec126d8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: Ib158406b7300fe1dcb77279cba80d764bc294e29
2021-06-29 19:05:06 +00:00
Samuel Fufa
d3f63d9565
Merge "Update snackbar color" into sc-dev am: 48ec126d8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: Id5aaf7b520de0ee62cae76365d0fa2a8bde19bed
2021-06-29 19:04:25 +00:00
Alina Zaidi
192fdddcb3
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1 am: 890df3490c am: 4c0d3d37f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: Ie2f410cc5d97ab3e064e971396e68bac67e95b0e
2021-06-29 19:03:59 +00:00
Samuel Fufa
e852e65a9e
Merge "Update snackbar color" into sc-dev am: 48ec126d8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: I4cf6f3ff18d95c7585e21ee6c10fa90630e99e52
2021-06-29 19:03:46 +00:00
Alina Zaidi
13452ecb4e
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1 am: dd0b46e6db am: ff4e703bda
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: I663059a182459e2c5320f3fb640a12cdcbff55e5
2021-06-29 19:03:20 +00:00
Alex Chau
ba61b98fca
Snap to relative position to snappd task when dismissing
...
- Calculate the diff to snapped page scroll and apply in onLayout, so tasks won't jump after dismiss when not in snapped position
- In grid, always keep the relateive snapped page unchanged to avoid jump
Bug: 188793333
Test: manual
Change-Id: Id11c2d700dc55440de39cc7409d06a712cedc9bc
2021-06-29 19:54:21 +01:00
Samuel Fufa
48ec126d8b
Merge "Update snackbar color" into sc-dev
2021-06-29 18:48:38 +00:00
Alina Zaidi
4c0d3d37f0
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1 am: 890df3490c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: I496043ee57e90e263fc2ed1b818ce9164f5d7dbc
2021-06-29 18:42:51 +00:00
Alina Zaidi
ff4e703bda
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1 am: dd0b46e6db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: Ib28fa301f01f9bf3493891c0fcf911b8a1832d9a
2021-06-29 18:42:14 +00:00
Alina Zaidi
2eaba8c269
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1 am: fea6b39c10
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: I23f816a8f0f49f62b1bcfd3998182bdaa05b8686
2021-06-29 18:41:45 +00:00
Alina Zaidi
dd0b46e6db
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: I19abded4e3e36cf1adf9ba9185b7debb543fd54d
2021-06-29 18:30:16 +00:00
Alina Zaidi
fea6b39c10
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: Idc77ebec4a856ebebb3e87854e29349c2ee9654c
2021-06-29 18:29:28 +00:00
Alina Zaidi
890df3490c
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: I9e72697fd77b867c06734d539b699b06ea0a2752
2021-06-29 18:28:28 +00:00
Alina Zaidi
7ed32025f1
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev
2021-06-29 18:13:23 +00:00
Steven Ng
680eab8c3b
Merge "Set the widgets pickers' width to at most 80% of screen width on large screen devices" into sc-v2-dev am: c548ab92f9 am: 3648788c16
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15106955
Change-Id: I588e950de7a870f2ad7305f0f7fef61c11b6a656
2021-06-29 17:44:57 +00:00
Steven Ng
3648788c16
Merge "Set the widgets pickers' width to at most 80% of screen width on large screen devices" into sc-v2-dev am: c548ab92f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15106955
Change-Id: Id5af36135e1277c9621403ed74022656f86eacf7
2021-06-29 17:31:46 +00:00
Yogisha Dixit
037a5362d8
Show resize frame when widget is added.
...
I referenced the code in Workspace.java that updates the widget view's
layout params before showing the resize frame.
Test: manual, AddWidgetTest and AddConfigWidgetTest tapl tests
Bug: 183437963
Change-Id: I6655917878fa22d6084b4bf39fc0661e7278d6f9
2021-06-29 18:25:38 +01:00
Steven Ng
c548ab92f9
Merge "Set the widgets pickers' width to at most 80% of screen width on large screen devices" into sc-v2-dev
2021-06-29 17:18:35 +00:00
Jon Miranda
f70265f4ec
Add split_display device profile.
...
Bug: 192215417
Test: manual set isSplitDisplay=true, ensure the added device profile
gets set on device
Change-Id: Ibe33c33d3af140352c0bb4fb44460106ad898285
2021-06-29 17:10:12 +00:00
Steven Ng
12f7a59e5c
Use category icon for pending conversation widgets
...
Fix: 192333050
Test: Manual
Change-Id: Ie3895cd4747f1bec1c8ca9af82347bb0eafa7415
2021-06-29 18:04:09 +01:00
Alina Zaidi
00b313fbe9
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e am: 6644b6f3d7 am: bf13bd1d70
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: I21cfedb64d4d8d9838d72ecf4e241eee0bf59891
2021-06-29 17:03:05 +00:00
Alina Zaidi
4d317a18c6
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e am: 5f7f8c3f74 am: fedd7ee13b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Ib81af7b648b132aae752ee8d16e51a4e1fdd6e74
2021-06-29 17:02:36 +00:00
Alina Zaidi
bf13bd1d70
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e am: 6644b6f3d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Ia9e64d0f7bb59c4575803d168e8785a397040bc9
2021-06-29 16:54:23 +00:00
Alina Zaidi
fedd7ee13b
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e am: 5f7f8c3f74
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Ia809d5c5f8821a31eaa510a8c1f65d3e6a9fc3d8
2021-06-29 16:54:02 +00:00
Alina Zaidi
9a6b17cc97
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e am: e39c1866b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Iaba9b00fa34a42907cd6fe1a6be3e8786b8ecc10
2021-06-29 16:53:37 +00:00
Alina Zaidi
5f7f8c3f74
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: I99ce12f9217fd415720bf25b6482693a5b43c652
2021-06-29 16:46:14 +00:00
Alina Zaidi
e39c1866b9
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Iac5dad36cefad60a3e8542ec50aa536c0e72fefe
2021-06-29 16:45:53 +00:00
Alina Zaidi
6644b6f3d7
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Ia24b17b7f6dffa6e89330af3c74fb5cd80d71d71
2021-06-29 16:44:54 +00:00
Alina Zaidi
8fb6ca3e5e
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev
2021-06-29 16:34:09 +00:00
Alina Zaidi
57973c328a
Make sure search recycler view is bound to fast scroller if user is
...
in search mode at the time of attachment of work/personal recycler view.
Bug: 191980945
Test: Tested manually.
1) Open widget picker, scroll.
2) Enable dark mode, scroll.
3) Type search query, scroll.
4) Disable dark mode, scroll.
5) Have work profile in phone and repeat the above with work tab open
and search.
Change-Id: I106717091a88868c4bbe3fad0dd71c8344e9c8ed
2021-06-29 16:32:32 +01:00
Steven Ng
4edea3a6a6
Set the widgets pickers' width to at most 80% of screen width on
...
large screen devices
Test: Phone: Open the full widgets picker and observe the width of
the widgets picker fills the device screen width.
Large screen devices: Open the bottom widgets picker and observe
the width of the widgets picker only takes at most 80% of the
devices' screen width.
Same behavior is observed for bottom widgets picker.
Bug: 186425352
Change-Id: I801b73ea031a290fb6a7295dca826ac91841877e
2021-06-29 16:24:34 +01:00
Automerger Merge Worker
886f929374
Merge "Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb am: e7f6bc4345" into sc-v2-dev-plus-aosp am: 621b55dcb6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15127003
Change-Id: Ifcd8b6d6ca2db09303e22d163f90e34dacae88b9
2021-06-29 15:13:17 +00:00
Steven Ng
e1799e7901
Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb am: 190471ff2d am: 001c369ff5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15127003
Change-Id: Ia0d325d2063fa9a81d4b445e52c4e33d6d66c83c
2021-06-29 15:12:46 +00:00
Automerger Merge Worker
621b55dcb6
Merge "Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb am: e7f6bc4345" into sc-v2-dev-plus-aosp
2021-06-29 14:58:14 +00:00
Steven Ng
1e743526a8
Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb am: e7f6bc4345
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15127003
Change-Id: I923d7176607c23211ffc6dea51d12bd24336b9c1
2021-06-29 14:58:12 +00:00
Steven Ng
001c369ff5
Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb am: 190471ff2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15127003
Change-Id: Ic9895598af8540830ca5b9d43693239db51c3e01
2021-06-29 14:58:09 +00:00
Steven Ng
399db624a0
Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb am: 34dbd58519
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15127003
Change-Id: I66d27cc5524c00b4b2037490cadf969a8ca3b20f
2021-06-29 14:57:23 +00:00