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
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
ac9df38e9f
Make icon drawable for non-focused grid tasks smaller
...
- Center the icon drawable in center of IconView with and allow a smlaler size to be set
Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
2021-08-03 17:36:15 +01:00
Steven Ng
2a5c594855
Fix cell size calculation in large screen devices
...
Test: Digital clock widget is no longer cropped.
Bug: 184966000, 194784402
Change-Id: I26c406da1e10232019f34620a4d2bc0dbafcbb31
2021-07-30 11:14:11 +01:00
Alex Chau
8e83f31100
Merge "Tune Overview size according to VisD" into sc-v2-dev
2021-07-28 10:41:16 +00:00
Steven Ng
3de51d518d
Merge "Remove drop target button drawable padding if text isn't hidden" into sc-v2-dev
2021-07-27 13:21:57 +00:00
Steven Ng
a1dcbce15a
Remove drop target button drawable padding if text isn't hidden
...
Test: manual
Fix: 194320733
Change-Id: I12adeaf37cee5a0fcf383641f24b7750f14daf27
2021-07-26 17:10:56 +01:00
Alex Chau
5fd9d491b0
Tune Overview size according to VisD
...
- Removed modalTransformY as overview actions no longer need to move in modal view
- Moved row spacing and page spacing to DeviceProfile
- Added several tablet / orientation specific DeviceProfile params
Bug: 194194694
Test: Manual
Change-Id: Id5435e7f6fc1b6fb7c0e55e55fa240cf84c4d6da
2021-07-26 12:01:30 +01:00
Vinit Nayak
7903758d08
Animate SplitPlaceholderView when entering split from overview
...
Bugs tracked in b/181704764
Bug: 181704764
Test: Tested on phone and large screen in multiple orientations
Change-Id: I07509006ae3d1f4425dc5119d0c8ed52b41a3bc2
2021-07-22 20:12:26 +00:00
TreeHugger Robot
de6450e2e7
Merge "AA+ Final UX spec changes" into sc-dev am: bdb06a7d42
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15270059
Change-Id: Ic4a70896b9d90963b86b535271cec14e0c9363d9
2021-07-13 20:58:58 +00:00
Hyunyoung Song
673b475787
AA+ Final UX spec changes
...
Bug: 192670508
Test: manual
Change-Id: Id448f31adef851175306cd513974a64a1f029e50
2021-07-13 09:43:08 -07:00
Hyunyoung Song
13f7b6fd8b
Merge "Edu card spec polish" into sc-dev am: d2182b242b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15241593
Change-Id: Ia1a0dad6ab859a51b3997309ab0f31bb3ef1c828
2021-07-12 17:15:10 +00:00
Hyunyoung Song
d2182b242b
Merge "Edu card spec polish" into sc-dev
2021-07-12 17:00:43 +00:00
Hyunyoung Song
dc7f4623e5
Edu card spec polish
...
Bug: 193134601
Test: manual
Change-Id: Ibcc053b5006d36efd97fb75f6474fb8c8a5c24a4
2021-07-08 22:21:11 -07:00
Hyunyoung Song
288d885f49
Merge "Update work fab radius to match height" into sc-dev am: 7d439991cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15226173
Change-Id: I6e4bef16e33d45f2ba5e86e01b60af1f91501e04
2021-07-08 18:39:42 +00:00
Hyunyoung Song
7d439991cc
Merge "Update work fab radius to match height" into sc-dev
2021-07-08 18:25:17 +00:00
Hyunyoung Song
7184a3b5d2
Merge "Accessibility bug fixes for the snack bar" into sc-dev am: 3b54044300
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15225870
Change-Id: Ic101721e69787e34891710ee2038f15dd9f17bb8
2021-07-08 07:05:30 +00:00
Samuel Fufa
ae8462afb5
Update work fab radius to match height
...
Bug: 192666217
Test: presubmit
Change-Id: I948cab4ce5477eed68480daf70570851d9715006
2021-07-07 18:26:22 -05:00
Hyunyoung Song
675b2b6748
Accessibility bug fixes for the snack bar
...
Bug: 192639465
Bug: 192598846
Test: scanned using accessibility scanner and verified no issue detected
Change-Id: If776a68f7c4c421cdb51ec3eb4f05648ab1ed5c1
2021-07-07 15:36:05 -07:00
Samuel Fufa
d733ce3f94
Merge "Allapps layout polishes" into sc-dev am: e67baf65f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15190139
Change-Id: If7a94da5112c1ae01924a52b32e0fed8953259a6
2021-07-02 22:16:44 +00:00
Samuel Fufa
8b1461d212
Allapps layout polishes
...
Bug: 192666217
Bug: 192648043
Bug: 192648475
Test: Manual
Change-Id: Ib108a6cae8317571520d367334f3bd26b259f04a
2021-07-02 13:03:11 -05:00
Samuel Fufa
1d7a4410e3
Merge "Polish changes for work tab" into sc-dev am: 9010e773e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15157942
Change-Id: Ic3aa2d63e943b41eb65517d2f25154128edb0432
2021-07-01 16:43:29 +00:00
Samuel Fufa
9010e773e4
Merge "Polish changes for work tab" into sc-dev
2021-07-01 16:30:39 +00:00
Alina Zaidi
f03b1aeeb6
Merge "Reduce margin for DropTargetBar to avoid buttons to be truncated." into sc-dev am: eefccccb19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15155531
Change-Id: I92c997fbd0d0f47e78e5169e8cad9938bd2af0a0
2021-07-01 11:52:05 +00:00
Alina Zaidi
1b5efa3216
Reduce margin for DropTargetBar to avoid buttons to be truncated.
...
Bug: 187036287
Test: Tested manually by QA testing team on 4X5 grid size
Change-Id: Iaa4cd3e464ccf50427a5aa96d97093601e1d2948
2021-07-01 09:50:46 +01:00
Samuel Fufa
7f3c8518f1
Polish changes for work tab
...
Bug: 191975224
Test: local
Change-Id: Iee1943c041ebb181d4323935ec80130fe15c62c0
2021-06-30 12:21:47 -05:00
Jonathan Miranda
7a273e2a8b
resolve merge conflicts of a754e678a7 to sc-v2-dev
...
Move qsb according to spec.
Bug: 175329686
Test: visual test
checked 5x5 and confirmed no visual change
checked 4x5 and confirmed visual change
- tested various display sizes to ensure no overlapping is caused
Change-Id: I5e00fcf57ffde597c6af08c6464ddfd7e8456bca
Merged-In: I95a80b484516f634fa13347534810c7a51cecc8d
2021-06-24 21:29:51 +00:00
Jon Miranda
8bdb222a18
Move qsb according to spec.
...
Bug: 175329686
Test: visual test
checked 5x5 and confirmed no visual change
checked 4x5 and confirmed visual change
- tested various display sizes to ensure no overlapping is caused
Change-Id: I95a80b484516f634fa13347534810c7a51cecc8d
Merged-In: I95a80b484516f634fa13347534810c7a51cecc8d
2021-06-24 18:51:46 +00:00
Steven Ng
8a46c403e0
Merge "Update all apps & widget pickers personal / work tabs" into sc-dev am: cec6edf78e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15027782
Change-Id: Ia69538b6b15cb6ab6ce5fa9a2f4f42b2d0664d58
2021-06-22 10:47:31 +00:00
Steven Ng
50f1ff1808
Update all apps & widget pickers personal / work tabs
...
Test: Open all apps to confirm tab style match the mock in both dark &
light mode.
Open widgets picker to confirm tab style match the mock in both
dark & light mode.
Bug: 191387242
Change-Id: Ie0111f65813128fef5befbdefd451cf0e9f01be9
2021-06-21 22:02:54 +01:00
Stevie Kideckel
f792c64c6a
Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527
Change-Id: Iccc9f7d9b3add624b47557350cd85567b17206b1
2021-06-21 19:59:36 +00:00
Stevie Kideckel
ded80076db
Add spacing between items as decorations instead of margins
...
There are bugs in the accounting for the margins if we manipulate the
view directly, causing the wrong top to be reported and the view to be
shifted when we call scrollToPosition. Item decorations ensure that the
layout system for the recycler view always has the right details about
the spacing.
Fix: 191642682
Test: verified locally
Change-Id: Ie80563757079e885c8178883ab16e314d01c5b32
2021-06-21 15:11:33 +00:00
Jonathan Miranda
11a9b035f3
Merge "Update notification popup UI." into sc-dev am: 1bfd350ead
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15017911
Change-Id: I468cd0896be43857ce188186cfda9f3ae94c07fb
2021-06-19 04:11:19 +00:00
Jon Miranda
313b2c2d28
Update notification popup UI.
...
- Update UI to match specs.
- Only shows one notification (removed footer, animation code)
Bug: 175329686
Bug: 190402054
Test: open popup, dismiss notification from shade,
open popup, click on notification
checked RTL
Change-Id: I92672f94233d986ae5b5c54979980967308cb156
2021-06-18 22:42:44 +00:00
Samuel Fufa
ab4fb243b7
Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979
Change-Id: I71867324537972713cb4660a70f20a4d06b5a012
2021-06-17 18:50:23 +00:00
Samuel Fufa
efa5df380c
Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev
2021-06-17 18:48:49 +00:00
Yogisha Dixit
d417d36615
Merge "Center drop target icons in landscape mode." into sc-dev am: 3287dd9fa7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14980961
Change-Id: Id3f175c250acc0a40b9662c20c28c73c9fd35c13
2021-06-17 09:45:50 +00:00
Yogisha Dixit
3287dd9fa7
Merge "Center drop target icons in landscape mode." into sc-dev
2021-06-17 09:34:42 +00:00
Samuel Fufa
d04a92d1ed
Refactor FolderInsetAnimationCallback to be used with any view
...
- Update ic_corp_off icon to outline
- Remove shadow from work toggle
- Translate work fab when keyboard is shown
Screenshot: https://screenshot.googleplex.com/593tEg7bE4kSS4y
Bug: 191251404
Bug: 191250785
Test: local
Change-Id: Ie7dddfd17eb90575a1e1f67e281070dd8d268f8d
2021-06-16 17:25:53 -05:00
Hyunyoung Song
cd4de5ed37
Merge "All apps motion" into sc-dev am: d2ad97989c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766
Change-Id: I0defd93e9d2a6cb99e2695ff185e0ef552dee5f6
2021-06-16 20:34:36 +00:00
Hyunyoung Song
d2ad97989c
Merge "All apps motion" into sc-dev
2021-06-16 20:14:46 +00:00
Yogisha Dixit
58c5e65763
Center drop target icons in landscape mode.
...
Spec: https://docs.google.com/presentation/d/1UxdDh8EFhPbdRWRwzjbpgL-j02ew4Ew3eG3XBCeoYdo/edit#slide=id.vXfwHn8
Test: manual
Bug: 187376586
Change-Id: I2025ba75061a5ca3a004dfef2b33cdbcc17a1408
2021-06-16 20:55:56 +01:00
Hyunyoung Song
54a44d4c44
All apps motion
...
Bug: 189970327
Test: manual
TL;DR;;
equation: settleVelocity = releaseVelocity + interpolator 2nd deritive * t
Change-Id: I86fec339523fbc3bb347dec4affbd2d1c063d13d
2021-06-16 11:17:59 -07:00
TreeHugger Robot
e7cf240e0c
Merge "Add work toggle to work apps paused message" into sc-dev am: 29dba38119
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970540
Change-Id: I66f4c3273eb3fcf5e0f5d956d559915505dfaad3
2021-06-16 16:15:02 +00:00
TreeHugger Robot
29dba38119
Merge "Add work toggle to work apps paused message" into sc-dev
2021-06-16 15:57:49 +00:00
Stevie Kideckel
857820793f
Merge "Use drawable states for list positions instead of swapping drawables" into sc-dev am: 358411a96a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14966492
Change-Id: Iab3dc8912f976159a2536a631594535b39ade45f
2021-06-16 09:50:25 +00:00
Stevie Kideckel
358411a96a
Merge "Use drawable states for list positions instead of swapping drawables" into sc-dev
2021-06-16 09:34:21 +00:00
Samuel Fufa
dfc274364e
Add work toggle to work apps paused message
...
This also fixes scrolling issues in landscape
Bug: 186857875
Bug: 161929312
Bug: 189983516
Bug: 190567199
screenshot: https://screenshot.googleplex.com/BCjcyJFqJo6W4Tr
Test: local
Change-Id: I7bcf23cc4be2fca936eba41342731789eb8f3292
2021-06-15 14:58:05 -05:00
TreeHugger Robot
86ec716300
Merge "Update all apps divider to pill shape" into sc-dev am: 4ff2682787
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14966493
Change-Id: I4eb5916743ec677f9658c3a51d05802d9f71afca
2021-06-15 18:52:50 +00:00
TreeHugger Robot
4ff2682787
Merge "Update all apps divider to pill shape" into sc-dev
2021-06-15 18:33:22 +00:00