Stevie Kideckel
b4e4e7da30
Merge "Scroll to the selected widget picker row after headers are clicked" into sc-dev am: f15214597e am: 9753e04102 am: c4c42616c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800533
Change-Id: I325d35ca637310070c1c38af27cd463b9d26f037
2021-06-03 15:07:57 +00:00
Stevie Kideckel
c4c42616c5
Merge "Scroll to the selected widget picker row after headers are clicked" into sc-dev am: f15214597e am: 9753e04102
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800533
Change-Id: Ie8566f94997ebec0b2d3188fd6ed50f3b54e226e
2021-06-03 14:45:31 +00:00
Stevie Kideckel
f15214597e
Merge "Scroll to the selected widget picker row after headers are clicked" into sc-dev
2021-06-03 14:15:00 +00:00
Stevie Kideckel
48517a2217
Merge "Use the LayoutManager as the source of truth for visible positions" into sc-dev am: 5cc44eb73e am: f492620c7d am: 80d0956b75
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800536
Change-Id: I37b1f0f0c77f8a67f665aecb93471996afa8b5c4
2021-06-03 11:40:27 +00:00
Alina Zaidi
53ccbbeb83
Merge "Update scrim in widget pickers." into sc-dev am: c599c90eaa am: 2882bf5180 am: 435fe175e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14776603
Change-Id: I4f3b51ac54b1f6d1ff8b114dddb9bb05afb9c9eb
2021-06-03 11:40:04 +00:00
Stevie Kideckel
80d0956b75
Merge "Use the LayoutManager as the source of truth for visible positions" into sc-dev am: 5cc44eb73e am: f492620c7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800536
Change-Id: I7e3429c771529dc32ce4f646acf80b079dee1078
2021-06-03 11:26:11 +00:00
Alina Zaidi
435fe175e6
Merge "Update scrim in widget pickers." into sc-dev am: c599c90eaa am: 2882bf5180
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14776603
Change-Id: I6e1d10c7dbac9e8e062badad6b68e63dd709bd3e
2021-06-03 11:25:33 +00:00
Stevie Kideckel
5cc44eb73e
Merge "Use the LayoutManager as the source of truth for visible positions" into sc-dev
2021-06-03 11:00:32 +00:00
Stevie Kideckel
eb367e471b
Scroll to the selected widget picker row after headers are clicked
...
This keeps the row in view. Currently, this will scroll the row to the
centre-bottom of the screen due to the top padding being double counted,
but that will remedied in a future CL.
This also resolves the issue where the last row's widgets aren't visible
by handling that case specially
Fix: 188665456
Bug: 183378651
Test: verified locally
Change-Id: I9acb9087a8cdaf130ac5955c810c96462b368f36
2021-06-03 09:48:21 +00:00
Stevie Kideckel
abd33b38e2
Use the LayoutManager as the source of truth for visible positions
...
During animations, the view group child may not correspond to the
visible views that appear at the top.
The previous logic is kept in the case that the layout manager returns
null for any reason, which can happen before layout has occurred for the
position.
Fix: 189588014
Test: verified locally
Change-Id: Ie8b5dcef50287e9e90a21f86e30a1ebcbbcba30f
2021-06-03 09:36:22 +00:00
Alina Zaidi
8796707172
Update scrim in widget pickers.
...
Also adjust padding in pin widget bottom sheet.
Test: Tested manually
Bug: 189802334
Change-Id: Ic25547ab1519139afdbf07aaefeb9168cf3501ff
2021-06-02 20:39:28 +01:00
TreeHugger Robot
f7b4699451
Merge "Revert "Add haptic feedback to Launcher recent apps scrolling"" into sc-dev am: f5af5ce11f am: da91a85359 am: 8a6cfe1c15
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793398
Change-Id: Ia1ea2f49fb1c792ed7b30c8ea4d29b5775205b3e
2021-06-02 00:24:03 +00:00
TreeHugger Robot
da91a85359
Merge "Revert "Add haptic feedback to Launcher recent apps scrolling"" into sc-dev am: f5af5ce11f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793398
Change-Id: Ic5a7e1fc9f5ac07f84b10496b1f3ece2bf8e8b8f
2021-06-01 23:41:10 +00:00
TreeHugger Robot
f5af5ce11f
Merge "Revert "Add haptic feedback to Launcher recent apps scrolling"" into sc-dev
2021-06-01 23:39:39 +00:00
Steven Ng
ada789ddbc
Merge "Show app widget resize frame after launcher state change" into sc-dev am: c58b204926 am: 8e133e45cf am: 4bbcb3623a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14733440
Change-Id: I263e8aca2c65d14f975589d872573bc7a62bd9e8
2021-06-01 22:26:23 +00:00
Steven Ng
8e58ec5f75
Merge "Fix add extra empty screen logic" into sc-dev am: a45ea6cf33 am: f573435d2c am: 29adf88bba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14717704
Change-Id: Ib97706e0a8dcb70259876da8af5a6b71ae579735
2021-06-01 22:26:09 +00:00
TreeHugger Robot
6b5e04157f
Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev am: b13200c6b1 am: 0bd5f8fd6d am: 7214078ed6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14735875
Change-Id: I7a7f8cb174653518894c53923e10d30ff75e8c72
2021-06-01 22:25:54 +00:00
TreeHugger Robot
9d3af45f3a
Merge "Fixing deadlock when surface creation is waiting on surface destroy" into sc-dev am: 9ccd3c5e12 am: 2db8cbebfa am: 52ed5d4013
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773075
Change-Id: I0da464cd387fba9b228cc603f9a149df1c68b8a9
2021-06-01 22:25:22 +00:00
Wale Ogunwale
0e25d2eba8
Revert "Add haptic feedback to Launcher recent apps scrolling"
...
This reverts commit b1ef5e5c55 .
Reason for revert: b/182382085#comment4
Change-Id: I001944da64dc05324b14cc9dd3db5921faf8806c
Bug: 182382085
2021-06-01 22:10:18 +00:00
Steven Ng
4bbcb3623a
Merge "Show app widget resize frame after launcher state change" into sc-dev am: c58b204926 am: 8e133e45cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14733440
Change-Id: I0e96ad43f4347931a7920a7e2478c13986c5486e
2021-06-01 21:55:23 +00:00
Steven Ng
29adf88bba
Merge "Fix add extra empty screen logic" into sc-dev am: a45ea6cf33 am: f573435d2c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14717704
Change-Id: I23571c1c8bfa27bb1d7290e5529526cf9ffcbc03
2021-06-01 21:55:17 +00:00
TreeHugger Robot
7214078ed6
Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev am: b13200c6b1 am: 0bd5f8fd6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14735875
Change-Id: Icb7706462cec52fff086dce5adecb550d41a293b
2021-06-01 21:55:08 +00:00
TreeHugger Robot
52ed5d4013
Merge "Fixing deadlock when surface creation is waiting on surface destroy" into sc-dev am: 9ccd3c5e12 am: 2db8cbebfa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773075
Change-Id: I2b0ac053dc6de7b30c47f9f99b657c2076212c71
2021-06-01 21:54:51 +00:00
Steven Ng
8e74a1f2a7
Merge "Show app widget resize frame after launcher state change" into sc-dev am: c58b204926
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14733440
Change-Id: I347e1fae2221f478cc7cab478e3924ea8a131eb8
2021-06-01 21:31:34 +00:00
Steven Ng
6ed0112871
Merge "Fix add extra empty screen logic" into sc-dev am: a45ea6cf33
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14717704
Change-Id: I69033f2b4ca9f3508ed31125bb9b74a09dd32829
2021-06-01 21:31:30 +00:00
TreeHugger Robot
c3629c8e9c
Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev am: b13200c6b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14735875
Change-Id: Icea54a23541cdd1791d9adc1c5dde67bbd6583c9
2021-06-01 21:31:25 +00:00
TreeHugger Robot
d46e3b0322
Merge "Fixing deadlock when surface creation is waiting on surface destroy" into sc-dev am: 9ccd3c5e12
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773075
Change-Id: Ifbfcb12c653035489552644e3afe4f524ee69c23
2021-06-01 21:31:20 +00:00
Steven Ng
c58b204926
Merge "Show app widget resize frame after launcher state change" into sc-dev
2021-06-01 21:11:01 +00:00
Steven Ng
a45ea6cf33
Merge "Fix add extra empty screen logic" into sc-dev
2021-06-01 21:04:55 +00:00
Brian Isganitis
1340036d1e
Merge "Create settings activity layout with explicit toolbar" into sc-dev am: d9463fbfdd am: dc07ef153c am: c2e037c3b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738956
Change-Id: I134aee68a976cec1c48e28d0e588c91be1c60c94
2021-06-01 21:04:17 +00:00
TreeHugger Robot
b13200c6b1
Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev
2021-06-01 21:02:29 +00:00
TreeHugger Robot
9ccd3c5e12
Merge "Fixing deadlock when surface creation is waiting on surface destroy" into sc-dev
2021-06-01 21:00:19 +00:00
Brian Isganitis
c2e037c3b7
Merge "Create settings activity layout with explicit toolbar" into sc-dev am: d9463fbfdd am: dc07ef153c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738956
Change-Id: I43757dc5ee9a29d399f2841a3f09e082b54cf23e
2021-06-01 20:42:41 +00:00
Brian Isganitis
25bf26ff4d
Merge "Create settings activity layout with explicit toolbar" into sc-dev am: d9463fbfdd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738956
Change-Id: I26c09f9a1da137cc194a0215d085ffc4fa09a4f0
2021-06-01 20:36:26 +00:00
Jonathan Miranda
116b88ceca
Merge "Turn off app close flag, Revert back to R implementation." into sc-dev am: d8035e1821 am: 1676ef9700 am: 06346412db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750661
Change-Id: Ib23cdb441a28255d66f9c95d2c6de210a08acf01
2021-06-01 20:24:43 +00:00
Jonathan Miranda
66b5c1cef7
Merge "Change folderFillColor to colorBackgroundFloating." into sc-dev am: dfde41cf1e am: 2abc3933ed am: c0ea362c85
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754919
Change-Id: I2974b99391a33b81e6640194558000149f84834b
2021-06-01 20:24:05 +00:00
Alina Zaidi
c3cc3b3c37
Merge "Add more education tips for widgets. (2/3)" into sc-dev am: 8a8c36cca9 am: f14a4682b6 am: 34419d22e8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678271
Change-Id: Ifb87d56cb334e2085de2f8234e4ff079ddc9d1b8
2021-06-01 20:22:50 +00:00
Brian Isganitis
d9463fbfdd
Merge "Create settings activity layout with explicit toolbar" into sc-dev
2021-06-01 20:15:15 +00:00
Jonathan Miranda
1676ef9700
Merge "Turn off app close flag, Revert back to R implementation." into sc-dev am: d8035e1821
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750661
Change-Id: Iee90e5897e98c8e06ea957c0b5f8418936c7d866
2021-06-01 19:52:01 +00:00
Jonathan Miranda
2abc3933ed
Merge "Change folderFillColor to colorBackgroundFloating." into sc-dev am: dfde41cf1e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754919
Change-Id: I7d4b2b8f1dbd68032677134a20b09b2a28fdb2b5
2021-06-01 19:51:40 +00:00
Alina Zaidi
f14a4682b6
Merge "Add more education tips for widgets. (2/3)" into sc-dev am: 8a8c36cca9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678271
Change-Id: I54f4236c54a56fa6c6945f2bd72f9530badccd00
2021-06-01 19:50:57 +00:00
Sunny Goyal
4c29af3a6d
Fixing deadlock when surface creation is waiting on surface destroy
...
Bug: 189049869
Test: Manual
Change-Id: I0f92d3666dab81bc381163d93530119d45c4fdbd
2021-06-01 12:36:38 -07:00
Jonathan Miranda
d8035e1821
Merge "Turn off app close flag, Revert back to R implementation." into sc-dev
2021-06-01 18:18:38 +00:00
Jonathan Miranda
dfde41cf1e
Merge "Change folderFillColor to colorBackgroundFloating." into sc-dev
2021-06-01 18:17:17 +00:00
Alina Zaidi
8a8c36cca9
Merge "Add more education tips for widgets. (2/3)" into sc-dev
2021-06-01 17:34:18 +00:00
TreeHugger Robot
2d3028461c
Merge "Further adjust work profile tabs paddings in the widgets picker" into sc-dev am: 04ef35f854 am: 23bb5e0bfc am: 5ddbe2c71e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14748539
Change-Id: Ie044ca17df36360de5ba3e89ff8be88c76ba2473
2021-06-01 14:17:33 +00:00
TreeHugger Robot
23bb5e0bfc
Merge "Further adjust work profile tabs paddings in the widgets picker" into sc-dev am: 04ef35f854
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14748539
Change-Id: I606a60882b3635d3e67535ec5727e39a30eac876
2021-06-01 13:33:27 +00:00
TreeHugger Robot
04ef35f854
Merge "Further adjust work profile tabs paddings in the widgets picker" into sc-dev
2021-06-01 13:13:03 +00:00
Alina Zaidi
f2c79dea0d
Add more education tips for widgets. (2/3)
...
Show education dialog on WidgetsFullSheet.
-Have a button in widget education dialog to intent into PixelTips apps.
-Make sure arrow tip view shows after dismissing education dialog on
WidgetsFullSheet if there is a widget to show it on.
-Update colors and layout for arrow tips.
Test: Tested manually
Bug: 185354491
Change-Id: I5cbdd02fc4f19a49a42dac4451b071e3d604747f
2021-06-01 13:58:18 +01:00
Steven Ng
7e3d96c620
Show app widget resize frame after launcher state change
...
When this bug occurs, the resize frame coordinate is incorrect because
the launcher state animation has not finished when the drag view
finishes animating back to its original position.
Test: Quickly long press and release a widget from the home screen.
Observe the resize frame is correctly shown around the widget.
Bug: 186370472
Change-Id: I6bfba2e85e3354a215c26203dd22df13db3b8b83
2021-06-01 12:20:32 +01:00