Commit Graph

33301 Commits

Author SHA1 Message Date
zakcohen da08cb2639 RecentsView - reduce work in color tint animator
Don't allocate animators when there is no animation to do. The work was
not required.

Bug: 189492167
Test: Local build, run and trace analysis
Change-Id: I111768b055ed636aa92d5d9d6b799f316a568380
2021-06-02 15:46:46 -07:00
Weilun Du 19d623d921 Revert "Update preferences to Material Next styling"
Revert "Add dependency for settings activity collapsing toolbar"

Revert submission 14740617-collapse3

Reason for revert: Build breakage
Reverted Changes:
I5ef658979:Add dependency for settings activity collapsing to...
I0ca55eecb:Update preferences to Material Next styling

Bug: 189919452
Change-Id: I4aa0bfc473334266a951d84064b4e8e406fff0a4
2021-06-02 22:04:44 +00:00
vadimt 09f1d8f9b7 Postponing CUJ_QUICK_SWITCH and CUJ_APP_CLOSE_TO_HOME
Now starting at the first drawn frame.

Test: perfetto
Bug: 188645726
Change-Id: I035f225f5afe64cf6eafa9ba40cffffce0a9d8cc
2021-06-02 14:09:08 -07:00
TreeHugger Robot 8c46bba98e Merge "AssistContentRequester move binder call to background thread." into sc-dev 2021-06-02 20:31:53 +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
zakcohen 243fbd3e5d AssistContentRequester move binder call to background thread.
The call into system server is synchronous, so make the call off the main
thread to avoid jank.

Bug: 189251291
Test: Local with flag enabled
Change-Id: I1787a0ad68488755bf19e813ecfe9fc079cfaed8
2021-06-02 10:33:31 -07:00
Pat Manning 49cb49b1f5 End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss)
Test: manual
Fix: 188618115
Bug: 188618115
Change-Id: I51d157e224eaeee34ed131e4945bb92d6baf18cd
2021-06-02 16:28:25 +00:00
Pat Manning 67094bfdfb Prevent clearing home between display size changes.
Split display support was previously based on the sizes of supported device profiles. If a device supporting split display increased display size too much, it could trigger a grid migration (due to number of hotseat icons displayed vs in the DB changing as it was no longer seen as split display). The migration would not run however, as the grid had not actually changed, but would still have cleard the DB in preparation of the migration.

By counting the number of supported profiles instead, we can estimate the number of screens invariant of display size changes and avoid undesired grid migrations.

Test: manual
Fix: 187689871
Bug: 187689871
Change-Id: If740c501cab0e80ef6144356ec5618ee30134ed7
2021-06-02 16:18:55 +00:00
TreeHugger Robot 23cf59bfd5 Merge "Remove elevation from the full widgets picker container" into sc-dev 2021-06-02 13:57:45 +00:00
Wei Sheng Shih 630efccd7a Merge "Read the starting surface icon size from framework" into sc-dev 2021-06-02 10:00:22 +00:00
TreeHugger Robot 161027dc3e Merge "Initial commit of rotation contextual button." into sc-v2-dev 2021-06-02 02:05:40 +00:00
Brian Isganitis b177133e7b Merge "Update preferences to Material Next styling" into sc-dev 2021-06-02 01:20:58 +00:00
Lucas Dupin c53c5d8599 Merge "Set blur on effect layer during app launch" into sc-dev am: ee4d67c52d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750658

Change-Id: Ibc67ff5638774294801974e4fe3c6357bf4ee22c
2021-06-02 00:38:36 +00:00
Lucas Dupin ee4d67c52d Merge "Set blur on effect layer during app launch" into sc-dev 2021-06-02 00:32:52 +00:00
TreeHugger Robot 8553d908c2 Merge "Delaying initializing "is launcher3" flag" into sc-dev am: 3941bc65e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793019

Change-Id: Icccec1b00b5ae2594963dc04f6e67114ff1343b9
2021-06-02 00:15:28 +00:00
TreeHugger Robot 3941bc65e3 Merge "Delaying initializing "is launcher3" flag" into sc-dev 2021-06-02 00:11:47 +00:00
TreeHugger Robot cabb9096f3 Merge "Adjust task menu text size and colors" into sc-dev am: 137323c299
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792892

Change-Id: Iec85e73cef73116f829d09d28bd06cab1cb2791d
2021-06-02 00:03:20 +00:00
TreeHugger Robot 137323c299 Merge "Adjust task menu text size and colors" into sc-dev 2021-06-01 23:50:40 +00:00
Brian Isganitis 9b8ab05a17 Update preferences to Material Next styling
Styles are forked from SettingsLib to avoid using any private APIs.

Test: Settings root, all apps, and about have new style on S
Bug: 187732263
Fix: 188254205, 188012913
Change-Id: I0ca55eecbc82cfa5d0b8707beb4bb7c82b2aa2b1
2021-06-01 19:44:19 -04: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
Tony Wickham 7f1f42ffb0 Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev am: 3cc2f46ca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792890

Change-Id: Ie5ef2aff3414a85e0cd855e0bda04610f5c74c30
2021-06-01 23:41:00 +00:00
TreeHugger Robot 5d6c6a8727 Merge "Task Overlay - refresh task overlay on size change." into sc-dev am: a357d6da6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757953

Change-Id: I7a3520045fad9eb54b7a371ea829ff200fa636c6
2021-06-01 23:40:53 +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
Tony Wickham 3cc2f46ca8 Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev 2021-06-01 23:17:36 +00:00
TreeHugger Robot a357d6da6d Merge "Task Overlay - refresh task overlay on size change." into sc-dev 2021-06-01 23:15:25 +00:00
Steven Ng 6ed382efee Remove elevation from the full widgets picker container
Test: Open the full widgets picker and observe no shadow added to the
      rounded corners.
Bug: 189808029
Change-Id: I539f6ebc0310cd4a037cd5eab6db4ee22b579195
2021-06-01 23:21:03 +01: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 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
Vinit Nayak 6ea5f721e5 Adjust task menu text size and colors
Fixes: 189855320
Fixes: 189855322
Change-Id: I0df4109f91ab09211b3cb5f3d18ad7374fa3f68c
2021-06-01 14:24:42 -07:00
vadimt 8d27c4c40c Delaying initializing "is launcher3" flag
Launcher3 tests may set default launcher after instantiating TAPL

Test: presubmit
Bug: 188477498
Change-Id: I6e40bc3fcf9c4f040983f164d3a04d0189228f83
2021-06-01 14:11:58 -07: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
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
Tony Wickham 950388bf0e Fix duplicate depth animations when swiping from overview to home
- Add SKIP_DEPTH_CONTROLLER in OverviewToHomeAnim if WorkspaceRevealAnim is used, because WorkspaceRevealAnim already handles the depth.

Test: visual, and also log to ensure we only get one call to DepthController#setStateWithAnimation()
Fixes: 189060172
Change-Id: Ifb4ff3278272b3e98b4cf43bf94d6e108921ea80
2021-06-01 13:56:00 -07: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
Vinit Nayak 91dca0f282 Initial commit of rotation contextual button.
UI fixing todo: b/187754252

Bug: 180046394
Test: Works in basic cases with on home and
in app taskbar.

Change-Id: I69985b57e38a9fdb7935fcafb097b1e6da73a6b9
2021-06-01 13:16:48 -07: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 121587eb13 Merge "Update launcher content animation to spec." into sc-dev am: cdc73b512e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757888

Change-Id: If73328d6c5a4827052ff0d7652c5002ccfc5d365
2021-06-01 19:52:05 +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 783a577b4a Merge "Update device paddings to spec." into sc-dev am: 920b6e7ffd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757163

Change-Id: Idd12264e590ea09869efaee30dc89ae6ce783404
2021-06-01 19:51:56 +00:00
Jonathan Miranda bd5a18f298 Merge "Make BaseIcon.Workspace so that it can be overriden." into sc-dev am: 8a51f11b63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754618

Change-Id: Ida61085ead3304a8c1eeb7beacf708b1c8e68e43
2021-06-01 19:51:48 +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
Alex Chau 5081182bcb Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev am: 5e13d36cba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683793

Change-Id: I9af64949edc129c53ab6ef202d3e2423a92837da
2021-06-01 19:51:36 +00:00
Rajeev Kumar 1ff0ae14c4 Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev am: f6e138cf21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753495

Change-Id: If50ea4927c64482748adf65ea5714491b55457f1
2021-06-01 19:51:28 +00:00
Alina Zaidi 3683bf6c72 Merge "Update buttons in pin widget picker." into sc-dev am: 8bd4ef6122
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678281

Change-Id: Ie52b48d6a2fb2bc991e4e0b56102e4ce5a1bfe2f
2021-06-01 19:51:19 +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