Samuel Fufa
185253e2d5
[Search][Motion] Normal<->AllApps transition revamp am: ee9aff9b5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13900476
Change-Id: I76a17e05879a7309d2005b6c76a0d64ce196acc4
2021-04-05 21:36:24 +00:00
Samuel Fufa
ee9aff9b5b
[Search][Motion] Normal<->AllApps transition revamp
...
Preview video attached to BR
Key changes:
- SearchUiManager#getScrollRangeDelta is removed. AllApps initial vertical offset is now controlled by deviceProfile.allAppsOpenVerticalTranslate.
- ShelfScrimView is renamed to AllAppsScrimView. Scrim no longer does vertical translate with AllApps open. Shelf/overview related code removed.
- Scrim and AllApps content transition are animated with different interpolators. Scrim color is a blend of accentColor and allAppsScrim with proportion determined by progress*TINT_DECAY_MULTIPLIER
Bug: 183001675
Test: Manual
Change-Id: Id6bde7ee65c55c83c2973fe41f458b9364d39ecd
2021-04-05 13:32:51 -05:00
Thiru Ramasamy
4ffec25707
Merge "[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event." into sc-dev am: 9efbf6f39b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066162
Change-Id: I7977775beeea1b9f08987bc31d7e356cfbd2974f
2021-04-05 17:55:28 +00:00
Thiru Ramasamy
9efbf6f39b
Merge "[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event." into sc-dev
2021-04-05 17:01:27 +00:00
Sunny Goyal
0b2ca30014
Removing unnessary resource split in overview am: 11d7d34f0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066159
Change-Id: Ia22fd53a016cb1c914aa152c5f122f17afa1d18d
2021-04-03 00:53:32 +00:00
thiruram
0eabc781b1
[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event.
...
Before: https://screenshot.googleplex.com/8ZYxhujUR3amgmF.png
After: https://screenshot.googleplex.com/AZ7PExbBhGW2pAC.png
Bug: 178562918
Test: Manual
Change-Id: Id0bc54049e3a13cd53aaa37d0acee27ec7433fab
2021-04-02 14:34:26 -07:00
Sunny Goyal
11d7d34f0d
Removing unnessary resource split in overview
...
Bug: 184169818
Test: Presubmit
Change-Id: Iff5a8510be337472f05acb5629712ec088361471
2021-04-02 11:43:29 -07:00
Alex Chau
d1c72d3116
Merge "Focus running task in overview grid" into sc-dev am: 5bd9ba2a80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973225
Change-Id: Ide467f1966ace3e8bfd72cae21e64d1324eda62e
2021-04-02 04:22:39 +00:00
Alex Chau
5bd9ba2a80
Merge "Focus running task in overview grid" into sc-dev
2021-04-02 03:57:58 +00:00
Jonathan Miranda
6de76253c0
Merge "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent." into sc-dev am: ed85ee6ca6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066641
Change-Id: I2aa2db56b4209247af17f41b2e29f22d8094ca63
2021-04-01 21:55:39 +00:00
Jonathan Miranda
ed85ee6ca6
Merge "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent." into sc-dev
2021-04-01 21:28:07 +00:00
TreeHugger Robot
72e6426a5c
Merge "Fixing notification dots settings not updated properly" into sc-dev am: 20efbbbb1c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14056550
Change-Id: I37edb3687cc75426d5a91d20dc843ab719b64aea
2021-04-01 20:34:48 +00:00
Sunny Goyal
8924c1d84d
Merge "Removing some unused classes" into sc-dev am: 7a5b6f868a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14053587
Change-Id: I3195c57057d7ea1202837dafec186e86a35d3c82
2021-04-01 20:33:09 +00:00
TreeHugger Robot
20efbbbb1c
Merge "Fixing notification dots settings not updated properly" into sc-dev
2021-04-01 20:14:34 +00:00
Sunny Goyal
7a5b6f868a
Merge "Removing some unused classes" into sc-dev
2021-04-01 20:11:14 +00:00
Jon Miranda
b62fba0d01
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
...
Bug: 183927137
Test: restore phone and ensure broadcast is sent
Change-Id: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2
2021-04-01 13:20:12 -04:00
Pierre Barbier de Reuille
b7a251aa25
Merge "Prevent launcher crash when an App Widget is removed." into sc-dev am: 8c3f8d3f71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14063486
Change-Id: I315c2c459b9196523efe2b3667cb9f8e6112a132
2021-04-01 15:45:07 +00:00
Pierre Barbier de Reuille
8c3f8d3f71
Merge "Prevent launcher crash when an App Widget is removed." into sc-dev
2021-04-01 15:07:01 +00:00
Alex Chau
dfde4d96ea
Focus running task in overview grid
...
- calculateTaskSize now returns the Rect for focused task
- Introduced calculateGridTaskSize for non-focused task, and translate non-focused tasks to fit the grid
- As Task Rect is now vertically centered, removed ClearAllButton's grid vertical translation
- When ClearAllButton is not shown (e.g. quickswitch), make sure ClearAllButton's scroll won't be used when page snapping. This happens when page scrolls are translated so they're negative.
- Added back ActionsView when task is focused below the TaskView, which become invisible as you scroll
- In Modal state, move the ActionsView down so it won't cover the TaskView
Bug: 175939487
Test: manual
Change-Id: Idfa94a51f856418adc0503cf04211dcb4b1814fe
2021-04-01 14:52:25 +01:00
Pierre Barbier de Reuille
712a8bf004
Prevent launcher crash when an App Widget is removed.
...
If an App Widget with a scrollable element is removed, we may end up in
a situation where we try to draw the view directly on a canvas while the
it has already been detached from the workspace. This can crash as some
of the drawing the scroll indicators require the view to be attached.
In general, we should never draw a view by calling the draw method
directly, even more so when the view is detached: the behavior is
undefined as the method expects the canvas to be properly set up, and it
is not. A crash can therefore be expected. This patch should avoid
crashing the launcher until we stop doing that altogether.
Fix: 183386115
Test: Manally add a view with a preview layout
Test: Manually remove an app widget with a list view
Change-Id: I8e1aa581700a08d6747eab085199c2b293e0e3fb
2021-04-01 13:32:45 +01:00
TreeHugger Robot
361fcc1603
Merge "Move disabled test out" into sc-dev am: 8626706fae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14043347
Change-Id: I48baeeb1cb5a95bba78d72a45a857c8a56de56ee
2021-04-01 08:18:28 +00:00
TreeHugger Robot
8626706fae
Merge "Move disabled test out" into sc-dev
2021-04-01 07:37:13 +00:00
Winson Chung
063e350fa3
Move disabled test out
...
Bug: 182844465
Test: presubmit
Change-Id: I543c43db3fb27e671eea00d112bab2a4f485dbc9
2021-04-01 04:24:46 +00:00
Winson Chung
68416ba426
Merge "Expose the full task info with the remote animation target" into sc-dev am: 80988abae3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13927514
Change-Id: Iaf10c3f0dd9c18dd5a191270333122bde652b001
2021-04-01 04:00:05 +00:00
Winson Chung
80988abae3
Merge "Expose the full task info with the remote animation target" into sc-dev
2021-04-01 03:56:56 +00:00
TreeHugger Robot
f45bb612cc
Merge "Fixing all-apps appearing as blank" into sc-dev am: ab9476461f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14056546
Change-Id: Ie6ca2329ed3e6d3ebd3ea6816889a084c10d77a6
2021-04-01 01:13:42 +00:00
TreeHugger Robot
ab9476461f
Merge "Fixing all-apps appearing as blank" into sc-dev
2021-04-01 00:31:28 +00:00
Sunny Goyal
58530bd64b
Fixing notification dots settings not updated properly
...
Also avoiding settings cache reset whenever someone registers
a new listener
Bug: 184200027
Test: Manual
Change-Id: I0c8b7084b6b4656102e9041b779b80a98624ddd8
2021-03-31 15:57:49 -07:00
Zak Cohen
3005c6a621
Merge "TAPL Increase size of Background to Overview swipe gesture" into sc-dev am: 31e18d6fe7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14056548
Change-Id: I652f2724f7990296e88f5c2af1381967fd9c1054
2021-03-31 22:42:00 +00:00
Jonathan Miranda
61cfe945eb
Merge "Only hide workspace labels if there is not enough space for it in the cell." into sc-dev am: 4c5a08e122
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13951693
Change-Id: Ibce2dc24bb1ed646822898e219836efebf54bb27
2021-03-31 22:41:27 +00:00
Zak Cohen
31e18d6fe7
Merge "TAPL Increase size of Background to Overview swipe gesture" into sc-dev
2021-03-31 22:19:04 +00:00
Zak Cohen
b391ebf798
TAPL Increase size of Background to Overview swipe gesture
...
The instrumentation is using the swipe height, not width, for when in
landscape. Ideally this should be plumbed through but it isn't yet so fix
with a bigger gesture.
Test: TaplTestNexus#testBackground
Bug: 184059820
Change-Id: Id19f65f51468af707baea0a1b31569bb84f7fcb8
2021-03-31 15:10:21 -07:00
Jonathan Miranda
4c5a08e122
Merge "Only hide workspace labels if there is not enough space for it in the cell." into sc-dev
2021-03-31 22:02:40 +00:00
Sunny Goyal
0b5b8d4969
Fixing all-apps appearing as blank
...
Since all-apps and homescreen do not share any QSB, we can
change the alpha for hotseat QSB directly
Bug: 184122599
Test: Manual
Change-Id: Ifa610fe75ad22cfe8a7d816ed2b48e2b9411c4c1
2021-03-31 14:59:54 -07:00
Marvin Bernal
100256c7c4
Merge "Add System Back function to SystemUiProxy" into sc-dev am: a090cfc836
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14040067
Change-Id: I8466fe6457470e4bb79895fe6d4053994e030d5d
2021-03-31 21:12:18 +00:00
Zak Cohen
9ca302cc4f
Merge "Overview - update UI to use solid color scrim." into sc-dev am: 00611188e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14036591
Change-Id: I2aa43861a43616f018604a42625fb34fa543dfb1
2021-03-31 21:11:37 +00:00
Marvin Bernal
a090cfc836
Merge "Add System Back function to SystemUiProxy" into sc-dev
2021-03-31 20:59:03 +00:00
Zak Cohen
00611188e5
Merge "Overview - update UI to use solid color scrim." into sc-dev
2021-03-31 20:34:00 +00:00
Sunny Goyal
157a9ee7dd
Removing some unused classes
...
Bug: 184183801
Test: Manual
Change-Id: I946b4b4d486d52e467bb3df7dcac65e534803b7d
2021-03-31 12:59:57 -07:00
Jonathan Miranda
06e71fd6be
Merge "Folder cell should match grid cell aspect ratio if isScalableGrid is true." into sc-dev am: f072b062a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13902372
Change-Id: Ic4704bd973f380d1c78b25e6b945e552c44e3ffe
2021-03-31 19:51:40 +00:00
Jonathan Miranda
a3c495285e
Merge "Snap to destination page before animating folder close." into sc-dev am: 1536248f3d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13899901
Change-Id: Ia281cab92320f1b78bb8c70eb0d05058416abd7d
2021-03-31 19:51:11 +00:00
Jonathan Miranda
f072b062a2
Merge "Folder cell should match grid cell aspect ratio if isScalableGrid is true." into sc-dev
2021-03-31 19:15:30 +00:00
Jonathan Miranda
1536248f3d
Merge "Snap to destination page before animating folder close." into sc-dev
2021-03-31 19:14:56 +00:00
Jon Miranda
941375eda4
Only hide workspace labels if there is not enough space for it in the cell.
...
- Also increases the spacing in all apps to reduce visual clitter.
Bug: 175329686
Test: manual, change grid to mw, smaller grid, and verify labels
Change-Id: I75c7fa9c69b8446ce0e48f4353fb225004e2a2fc
2021-03-31 14:52:49 -04:00
Zak Cohen
a547b781ee
Overview - update UI to use solid color scrim.
...
Also required updates to colors and status bar icons to match with new
color.
Bug: 179922117
Test: local build and flash on two devices
Change-Id: Ibec54107f52c01f125e6d100abe32434f2067b71
2021-03-31 11:25:41 -07:00
Alex Chau
638d50b035
Merge "Changes page alignment in PagedView calcualtion" into sc-dev am: 21dfadab76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14018930
Change-Id: Ic9d43d0a62fe2b92e04609a149438dc0ad289479
2021-03-31 11:03:01 +00:00
Alex Chau
21dfadab76
Merge "Changes page alignment in PagedView calcualtion" into sc-dev
2021-03-31 10:36:12 +00:00
András Klöczl
adbee1ec52
Merge "Fix app close animation for two panel home" into sc-dev am: ea2b30d7fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14018943
Change-Id: Ic9a9e1b5157f08dcf52c7a6492bcef88b93bf0d8
2021-03-31 09:46:00 +00:00
TreeHugger Robot
7afac06821
Merge "Using an independent drawable for rounded corners" into sc-dev am: 70c3d5f98b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14015805
Change-Id: Ie3e1c530bf5c2a361707679f15d52a6633c05c73
2021-03-31 09:42:39 +00:00
András Klöczl
ea2b30d7fd
Merge "Fix app close animation for two panel home" into sc-dev
2021-03-31 09:14:22 +00:00