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
Steven Ng
190471ff2d
Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev am: 9bb83f65cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15127003
Change-Id: I6962b6c720359677764bdbde507b2a6aaae801f1
2021-06-29 14:41:27 +00:00
Steven Ng
9bb83f65cb
Merge "Set the widget preview title a11y text to "{widget name} widget"" into sc-dev
2021-06-29 14:25:13 +00:00
Steven Ng
85486d1c2c
Set the widget preview title a11y text to "{widget name} widget"
...
Fix: 187376680
Test: Manual
Change-Id: I211d8e2b437091808d1f5a764075af4c3832ef48
2021-06-29 12:12:43 +01:00
Steven Ng
b14a7a2d16
Merge "Extract common measurement in widgets pickers to its base class" into sc-dev am: 9f2674b6a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15114084
Change-Id: If0e29d3c3d9461b0c222fb9ca826f253733cf0a1
2021-06-29 11:02:12 +00:00
Steven Ng
9f2674b6a9
Merge "Extract common measurement in widgets pickers to its base class" into sc-dev
2021-06-29 10:45:58 +00:00
Yogisha Dixit
57a6f10e40
Merge "Don't show resize handle if widget cannot be resized." into sc-dev am: 9b8932f579
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15114085
Change-Id: Iff6ecb28dfb972b347faab76c757c8c3ec955d87
2021-06-29 10:13:54 +00:00
Yogisha Dixit
9b8932f579
Merge "Don't show resize handle if widget cannot be resized." into sc-dev
2021-06-29 09:59:40 +00:00
Yogisha Dixit
ad68318048
Don't show resize handle if widget cannot be resized.
...
Test: manual
Bug: 190015493
Change-Id: Ibb0cc347103b8d01d30a19925f929617426e4889
2021-06-29 09:08:09 +01:00
Jonathan Miranda
ec5beb8332
Merge "Ensure iconScale never exceeds 1." into sc-dev am: fab44042cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133276
Change-Id: I4adff0a4fb256e13fdbfc3056f09bb43dea01461
2021-06-29 02:23:26 +00:00
Jonathan Miranda
fab44042cb
Merge "Ensure iconScale never exceeds 1." into sc-dev
2021-06-29 02:12:56 +00:00
Hyunyoung Song
fcac0c503f
Merge "RecyclerView Scrollbar is easier to target" into sc-dev am: 40c4d5fc4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15115886
Change-Id: Ie360a92fb6669cf86ef4b9a7e64562af08f77f79
2021-06-29 00:09:08 +00:00
Hyunyoung Song
40c4d5fc4a
Merge "RecyclerView Scrollbar is easier to target" into sc-dev
2021-06-29 00:08:52 +00:00
Sunny Goyal
925311975e
Merge "Remove expensive logging." into sc-dev am: 2d6d8f890a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15112728
Change-Id: I0432590d39862c7efd312b760c64e4632fe170fc
2021-06-29 00:08:40 +00:00
Hyunyoung Song
587ab6b6bc
Merge "Don't use ProxyActivity when launching from SearchActionItemInfo intent" into sc-dev am: c2e05c1df5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15105731
Change-Id: I55f81d6765381dd306e0cc56a13abb0c1a72aa36
2021-06-29 00:08:04 +00:00
Sunny Goyal
2d6d8f890a
Merge "Remove expensive logging." into sc-dev
2021-06-29 00:05:12 +00:00
Hyunyoung Song
c2e05c1df5
Merge "Don't use ProxyActivity when launching from SearchActionItemInfo intent" into sc-dev
2021-06-28 23:58:46 +00:00
Jon Miranda
ab3c681df8
Ensure iconScale never exceeds 1.
...
The rest of the scaled values should scale accordingly.
Bug: 190777089
Test: manual
Change-Id: I97f1724b7e96eea3ad81c295a98ccb71da756abb
2021-06-28 16:55:10 -07:00
Steven Ng
17afc8d2fd
Merge "Refine all apps tabs alignment & remove ripple effect from tabs" into sc-dev am: c9d5391bf2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15079828
Change-Id: Idaf1c4715bf938d92102e9b9e121e637ee5d34af
2021-06-28 16:57:18 +00:00
Steven Ng
c9d5391bf2
Merge "Refine all apps tabs alignment & remove ripple effect from tabs" into sc-dev
2021-06-28 16:38:50 +00:00
Steven Ng
fbe1836627
Extract common measurement in widgets pickers to its base class
...
Bug: 191644950
Test: 1. Open the full widget picker. Observe the clock widgets'
previews are shown properly. Then, rotate the screen and
observe the clock widgets' previews are shown properly.
2. Open the bottom widgets picker for clock. Observe the
clock widgets' previews are shown properly. Then, rotate
the screen and observe the clock widgets' previews are shown
properly.
3. Repeat 1, 2 after changing the system navigation from button
to gesture.
Change-Id: I564fc2ce0baf3103ae77499380ad69ec38ac6930
2021-06-28 14:55:27 +01:00
Hyunyoung Song
878dedfb84
Don't use ProxyActivity when launching from SearchActionItemInfo intent
...
Bug: 188490184
Test: Manual
Change-Id: I9b1b17dfb7e896025a01245414cdab11cf3125cb
2021-06-28 06:34:48 -07:00
Hyunyoung Song
58f49418ff
RecyclerView Scrollbar is easier to target
...
Bug: 191666122
Test: manual
TL;DR;;
1) Allow some x offset when determining touch points are hitting the track
2) reduce the timeout to consider dragging state
Change-Id: Iebcbbbd1e50b602119795c57fc04c4c2a5ccdde5
2021-06-27 22:57:55 -07:00
Steven Ng
a3df3b8bf2
Merge "Fix rounded corners for shortcut & generated preview shadow box" into sc-dev am: bf60673bbb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15098570
Change-Id: Ia04afd31b5f225fd0020c50f19b55125f6a8bdef
2021-06-26 22:47:47 +00:00
Steven Ng
3bf38cb556
Merge "Refine widgets removal logging" into sc-dev am: 57072af106
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15106953
Change-Id: I39f50ba31e70131c9709096a822f7894a245db44
2021-06-26 22:47:42 +00:00
Steven Ng
bf60673bbb
Merge "Fix rounded corners for shortcut & generated preview shadow box" into sc-dev
2021-06-26 22:38:51 +00:00
Steven Ng
57072af106
Merge "Refine widgets removal logging" into sc-dev
2021-06-26 22:37:35 +00:00
Hyunyoung Song
5d52dc0201
Merge "When KEYCODE_BACK is received, hide keyboard" into sc-dev am: 24c8ebd88d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15107283
Change-Id: I53d61df02679024e2362e8e63a02de37b0bbe95a
2021-06-26 20:24:11 +00:00
Hyunyoung Song
24c8ebd88d
Merge "When KEYCODE_BACK is received, hide keyboard" into sc-dev
2021-06-26 20:08:55 +00:00
Alina Zaidi
b06e92fc83
Merge "Compare maxSpanSize for WidgetsListContentEntries when updating visible entries in widget picker." into sc-dev am: 50401e31bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052492
Change-Id: Id36a1ed53de7fc45cb8f7f9fc2f295f23ca3643d
2021-06-26 18:13:24 +00:00
Alina Zaidi
de30ace4db
Merge "Remove scrim from navigation bar from full widget picker." into sc-dev am: 57cdcceb07
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095782
Change-Id: Ia60f26b7a13c8404ad26701c824921ae8da5ec37
2021-06-26 18:13:14 +00:00
Alina Zaidi
50401e31bd
Merge "Compare maxSpanSize for WidgetsListContentEntries when updating visible entries in widget picker." into sc-dev
2021-06-26 18:04:19 +00:00
Alina Zaidi
57cdcceb07
Merge "Remove scrim from navigation bar from full widget picker." into sc-dev
2021-06-26 18:01:23 +00:00
Jonathan Miranda
9f113f76fa
Merge "Update colors for non-v31 devices." into sc-dev am: 7a582f2d7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15096360
Change-Id: Ib926073532c53a4db19e9930ade8c9efd776796d
2021-06-26 15:10:27 +00:00
Jonathan Miranda
ca670425a8
Merge "Fix folder icon text alignment." into sc-dev am: 48dbfcd1c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15111651
Change-Id: I17cf64b9aa733dbe045626d66b287cbe085edbf5
2021-06-26 15:10:14 +00:00
Hilary Huo
40a75363a1
Merge "[settings-pixel-search] Flag guard slice logging." into sc-dev am: 7a5a96ea73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084513
Change-Id: Id2f7128634bfe31987e9822426bf786b007f16de
2021-06-26 15:09:52 +00:00
Jonathan Miranda
7a582f2d7d
Merge "Update colors for non-v31 devices." into sc-dev
2021-06-26 00:09:59 +00:00
Jonathan Miranda
48dbfcd1c8
Merge "Fix folder icon text alignment." into sc-dev
2021-06-25 22:31:46 +00:00
Schneider Victor-tulias
9617332f60
Remove expensive logging.
...
Removed expensive logs added for debugging. Removed unused code.
Fixes: 168788486
Test: none
Change-Id: I0579275633361d2d67399c773e6376af74c9f1b1
2021-06-25 11:48:15 -07:00
Jon Miranda
2be425b6b0
Fix folder icon text alignment.
...
- We set the parent view padding to be cellYPadding, so we no longer need to
account for it when setting the text LayoutParams.
Bug: 191954558
Test: grid where scalableGrid=true and scalableGrid=false (4x5, and 5x5)
Change-Id: I8d7578b2589f801ceef229b663446d868d135ad0
2021-06-25 10:33:20 -07:00
Yogisha Dixit
3893eefe75
resolve merge conflicts of 1491ec31c5 to sc-v2-dev
...
Test: manual
Bug: 192076258
Change-Id: I44e02383cd8ce386811e24a1c4fd6ce62e38f90f
2021-06-25 17:23:22 +00:00
Hilary Huo
7a5a96ea73
Merge "[settings-pixel-search] Flag guard slice logging." into sc-dev
2021-06-25 16:54:59 +00:00
Steven Ng
0d4e57d4f0
Merge "Extra logging related to widget removal upon restore" into sc-dev am: 408a73ea76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15098572
Change-Id: I5bf17c3b4344b91fee64eab63bf013ea7ab94550
2021-06-25 16:30:53 +00:00
TreeHugger Robot
1491ec31c5
Merge "Update widget manipulation colors." into sc-dev
2021-06-25 15:18:45 +00:00
Alina Zaidi
0b320545f8
Compare maxSpanSize for WidgetsListContentEntries when updating visible
...
entries in widget picker.
This is so that widgets are rearranged according to maxSpanSize in
widget table
Bug: 191336852
Test: Manually rotated widget picker with one of the headers expanded
and checked that widgets in widget table adjust according to screen's
horizontal size.
Change-Id: I2406ca9eccd18f4bb32b396acaa188c37f0059ee
2021-06-25 13:46:03 +01:00
Steven Ng
acd9d79932
Refine widgets removal logging
...
Test: N/A
Bug: 190565858
Change-Id: I7fb20eaf727db19787fa9b1fb36eeb5d1392e50c
2021-06-25 11:51:44 +01:00
Pinyao Ting
bbb9a9c033
Extra logging related to widget removal upon restore
...
As observed in b/187799223, widgets are removed after restore. We cannot
identify the root cause from the bugreport. This CL includes more
logging in the hope of identifying the root cause.
Bug: 18779922
Bug: 190565858
Test: manual
Change-Id: Ibdc9876716028592d17beac4542e1d8c498f9e4c
(cherry picked from commit 655ac082c2 )
2021-06-25 09:22:33 +00:00
Yogisha Dixit
c0ac1dda74
Update widget manipulation colors.
...
Spec:
* Resize frame: https://docs.google.com/presentation/d/1UxdDh8EFhPbdRWRwzjbpgL-j02ew4Ew3eG3XBCeoYdo/edit#slide=id.OeO4S0j
* Drop target bar: https://docs.google.com/presentation/d/1UxdDh8EFhPbdRWRwzjbpgL-j02ew4Ew3eG3XBCeoYdo/edit#slide=id.vXfwHn8
Test: manual
Bug: 187910396
Change-Id: I6fd433796970c428841ee96e45ee4fca1ded3665
Merged-In: I6fd433796970c428841ee96e45ee4fca1ded3665
2021-06-25 08:43:29 +00:00
Hyunyoung Song
011f438c97
When KEYCODE_BACK is received, hide keyboard
...
Bug: 191845409
Bug: 190351740
Test: manual
Change-Id: I9e3a55f7eb81b2c2a668532ebb991cefbf248163
2021-06-25 01:28:27 -07:00
Hilary Huo
b4538d1ef4
[settings-pixel-search] Flag guard slice logging.
...
Test: m
Bug: 191297465
Change-Id: I3f5f1ef5ad295e5d8ccedac00f290080653df5a3
2021-06-24 16:08:09 -07:00