Commit Graph

33301 Commits

Author SHA1 Message Date
Vinit Nayak 675d845b00 Merge "Don't set enabled on TaskMenu view if shortcut not available" into sc-dev am: 887bfef157
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14637304

Change-Id: Ic257537c32a25d43098b520c4a9a352260404e10
2021-05-19 19:10:01 +00:00
Samuel Fufa 6019318f9e Merge "[Search] Update all apps header protection" into sc-dev am: b1114a9834
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14628251

Change-Id: I7307d0599972bb7a13ff76e8b1906ecab36125f7
2021-05-19 19:09:51 +00:00
Sunny Goyal 9e1b279f3b Merge "Renaming TaskbarController to LauncherTaskbarUIController" into sc-dev am: 749f55f07a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14626089

Change-Id: Iaff666ee3f900668a84781aa939f0df13cbaa6f1
2021-05-19 19:09:35 +00:00
Vinit Nayak 3f47826339 Enable SplitSelect flag by default
Bug: 188195640
Change-Id: I5ea90460275aabf9d048b187c3da9f3202368ec3
2021-05-19 19:05:06 +00:00
Vinit Nayak 887bfef157 Merge "Don't set enabled on TaskMenu view if shortcut not available" into sc-dev 2021-05-19 19:03:21 +00:00
Samuel Fufa b1114a9834 Merge "[Search] Update all apps header protection" into sc-dev 2021-05-19 19:00:33 +00:00
Sunny Goyal 749f55f07a Merge "Renaming TaskbarController to LauncherTaskbarUIController" into sc-dev 2021-05-19 18:41:47 +00:00
TreeHugger Robot 6e1059810e Merge "Folder polish" into sc-dev am: 1e558a2f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625965

Change-Id: Ic291da103051a18efc9acf7fe3531fc366e6a8c3
2021-05-19 18:22:41 +00:00
TreeHugger Robot 1e558a2f4c Merge "Folder polish" into sc-dev 2021-05-19 18:00:18 +00:00
TreeHugger Robot 814532969e Merge "Updated gesture navigation tutorial." into sc-dev am: f126d078ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14537683

Change-Id: Ia35f02c7b46b6c4edada3645780e61487bd5551a
2021-05-19 17:33:38 +00:00
Tracy Zhou effce2e586 Merge "Finish the recents animation upon home rotation" into sc-dev am: dc2be3d8a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14613421

Change-Id: I75d9bc3759ed5b1aca66dab92d6fae38288317fe
2021-05-19 17:33:23 +00:00
TreeHugger Robot f126d078ac Merge "Updated gesture navigation tutorial." into sc-dev 2021-05-19 17:25:48 +00:00
Tracy Zhou dc2be3d8a2 Merge "Finish the recents animation upon home rotation" into sc-dev 2021-05-19 17:17:57 +00:00
Jon Miranda a2ef1a0238 Remove min/max values for RectFSpringAnim2.
- Fixes crash on landscape
- We added this to stop the windows from going way out of bounds. But we no
  longer need it since we've tightened up the stiffness so that
  it would take a super aggressive swipe/high velocity for the window
  to go out of bounds

Bug: 188617892
Test: manual
Change-Id: Icc2a0af0a1b26985502ddbc7a5a370e7eecdb346
2021-05-19 09:55:25 -07:00
Lucas Dupin 3e19e57d22 Remove shadows from app launch animation
The Material You style proposes a flat model without shadows.

This will also help us reduce overdraw because shadows are drawn in
client composition, causing an almost full screen redraw, given that
shadows have the size of the window, which is not usually marked as
opaque.

Bug: 188420494
Test: manual
Change-Id: I5073788a247ea9084b8e3399d4ca8618c21b8d6b
2021-05-19 09:01:38 -07:00
Steven Ng 427c143ef6 Fix WidgetsSearchBarControllerTest
Test: Run WidgetsSearchBarControllerTest
Bug: 188650001
Change-Id: I687d602f8d857061f71a8fba86c30ea3017065c1
2021-05-19 16:08:22 +01:00
Steven Ng 2f2cbce818 Reset visible entries when the app tile of the same app no longer match
Test: Switch language and then go to full widgets picker. Expand apps.
      Expanded entry is shown underneath the expanded app.
Bug: 187529983
Change-Id: Ib438cf01656d3a177309e7f22796d0fa0c11881f
2021-05-19 15:40:02 +01:00
Steven Ng 1a55d1ff37 Widgets: Only reset expanded item & scroll to top if the user switch tab
Test: Open widgets picker, then adb install an app that has widget.
      Observe the newly installed app widget is shown and the widgets
      picker doesn't scroll itself back to top.
Bug: 188425375
Change-Id: I7ac29f08b06d528ef64e902e678a67e56971c681
2021-05-19 15:32:54 +01:00
Jon Miranda e3104682fb Folder polish
- Update folder hint text to ensure enough contrast.
- Clamp down on alpha when animating to local color extraction
- Update colors to new spec.

Bug: 179209484
Bug: 175329686
Test: manual
Change-Id: I9471504e10f02630ae13b2c478ced1ee05bd5220
2021-05-19 14:03:09 +00:00
wilsonshih 1bcb9d94ce Read the starting surface icon size from framework
Bug: 177264697
Test: Manual verify icon size on splash screen.
Change-Id: Iec6b0c519cf4692ac6851911ed1e21a3c1b752b4
2021-05-19 19:29:03 +08:00
Steven Ng 66034efaae Clear widgets search bar focus when the user taps outside the search bar
Test: Focus widgets search bar. Then tap outside the search bar and
      observe the keyboard is being dismissed.
Bug: 188540267
Change-Id: Ica1b5b804ed97dd0b1cd8d41351eddcf5249ded0
2021-05-19 11:31:09 +01:00
Alex Chau 59da8e5a9d Launcher feature flags for large screen
- Enable TaskBar, Grid Overview and Two Panel

Bug: 188409266
Test: Manual
Change-Id: I55457b1ad98726cf7d7869fe96e0c4412b891d0b
2021-05-19 08:03:24 +00:00
Alex Chau 5d35355fd1 Use fixed width in overveiw grid
- Removed thumbnail ratio logic in TaskView, getVisibleThumbnailRatio will be clean up separately
- Removed quickswitch clipping and scaling, so overview and quickswitch looks identical. mClippedInsets will be clean up separately
- Put focused task in center of screen
- Refacotred CLearAllButton spacing

Bug: 187839470
Test: Manual
Change-Id: I2a7df1ac02acd5379af33f5b0e9abba0fab8e8d2
2021-05-19 08:02:45 +00:00
Sunny Goyal 194dcc0fd3 Merge "Removing number of threads used in background execution to prevent system thrashing" into sc-dev 2021-05-19 06:23:10 +00:00
Vinit Nayak 719154dc1b Don't set enabled on TaskMenu view if shortcut not available
Bug: 188195640
Test: No crash when opening tasks when SPLIT_SELECT flag on.
Change-Id: I8f27e311cbb03ea37dcbd63d209b6652f02074af
2021-05-18 23:03:59 -07:00
TreeHugger Robot 4717bae7dc Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-19 02:51:31 +00:00
TreeHugger Robot de94720354 Merge "Adding a shared-pref to control icon theming" into sc-dev 2021-05-19 02:50:03 +00:00
TreeHugger Robot 30df7e2205 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-19 02:43:31 +00:00
Bill Yi ea03e18d60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I77968af0ca2fab25ec12108db6c4e84d19c0ccec
2021-05-18 23:11:51 +00:00
Bill Yi 0a044199ec Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I638f862f37915af69371535dd0792ae5d59c2c3b
2021-05-18 23:10:48 +00:00
Samuel Fufa 76b33404b5 [Search] Update all apps header protection
- Introduce spacing between header protection and search box
- introduce vertical padding for "personal | work" tab
- animate tab header protection color change when docking

Test: Manual
preview: https://drive.google.com/file/d/1eS4B7hcLExxCdjSp1IzBcziKm-9w87UR/view?usp=sharing&resourcekey=0--mtY6bCC9GJpFSUC8I5d6w
Bug: 184946772
Change-Id: I840af27c7557f1dffd7a15874aa09833514b4bb1
2021-05-18 17:14:14 -05:00
Sunny Goyal 01c32a69be Adding a shared-pref to control icon theming
Bug: 183641907
Test: Manual
Change-Id: I640a8473c9ca4acfded9ebbfa823e437c3a42b45
2021-05-18 14:25:21 -07:00
Sunny Goyal a76bc76317 Removing number of threads used in background execution
to prevent system thrashing

Bug: 188541475
Test: Presubmit
Change-Id: Iff73abeab813d1b80a1ff85b69723dce0bef8005
2021-05-18 13:43:50 -07:00
Schneider Victor-tulias 29f61d5d21 Updated gesture navigation tutorial.
- Removed 'x' button and added tappable 'skip' text to exit the tutorial.
- Updated tutorial step indicator
- updated AVD colors.
- removed unused AVDs
- Increased the visible duration of the feedback view

Test: Manual
Bug: 148542211
Bug: 169687177
Change-Id: Ice61b1273ff270b068d008b5259d100c66057478
2021-05-18 20:00:26 +00:00
Samuel Fufa b605d1d73c Merge "Fix header protection interactions" into sc-dev 2021-05-18 19:00:37 +00:00
Evan Rosky 3f4333bfa1 Merge "Launch overview as transient" into sc-dev 2021-05-18 18:55:31 +00:00
Sunny Goyal 40a7421619 Renaming TaskbarController to LauncherTaskbarUIController
Bug: 187353581
Test: N/A
Change-Id: I44aac42c4df134fd7e6fc0c3609fdb3007cf52e3
2021-05-18 11:43:28 -07:00
TreeHugger Robot b6dd7fb07f Merge "Removed page spacing scaling" into sc-dev 2021-05-18 18:29:51 +00:00
Jon Spivack a44bb71d95 Merge "NIU Actions and Recents UI updates on Go" into sc-dev 2021-05-18 18:05:19 +00:00
Tracy Zhou 8b58edf8ec Finish the recents animation upon home rotation
Fixes: 14613421
Test: presubmit
Change-Id: I4165e6da80aa0272fa4a58046521dbd86518379c
2021-05-18 10:54:02 -07:00
Tracy Zhou 0bd7763ccc Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev 2021-05-18 17:51:34 +00:00
Tracy Zhou 7511b33838 Revert "Finish the recents animation upon home rotation"
This reverts commit 38588dc23a.

Reason for revert: b/188541715
Fixes: 188541715

Change-Id: I4d85ced55e1a9a4ca64f9c9a855abbfec9f306bb
2021-05-18 17:47:52 +00:00
Sunny Goyal 5bb515b6cc Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev 2021-05-18 17:17:27 +00:00
Jonathan Miranda 7d4aaaa73d Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev 2021-05-18 16:46:12 +00:00
Samuel Fufa 0a709374ae Fix header protection interactions
Bug: 184711608
Bug: 187790639
Preview: https://drive.google.com/file/d/1MDh71t8DQn0SxTQY3-GZTfIlGECQs_Kn/view?usp=sharing&resourcekey=0-ep9C3q9Meo8cQShVJqnKEw
Test: Manual
Change-Id: I9c939a894adc3e9cd1ed1beb7c11f9c2dd673824
2021-05-18 16:28:55 +00:00
Lucas Dupin ca65ca4538 Merge "Configurable sysprop for launcher depth" into sc-dev 2021-05-18 15:12:39 +00:00
Pat Manning 049434a504 Merge "Animate task translation on dismissal." into sc-dev 2021-05-18 09:32:19 +00:00
Hongwei Wang a79cd20147 Merge "Do not send onUserLeaveHint on overview actions" into sc-dev 2021-05-18 06:19:07 +00:00
Sunny Goyal e215fb730b Moving taskbar lifecycle to TouchInteractionService
> Inflating taskbar views with a non-launcher window context
> Removing separate taskbar view in Launcher
> Handling taskbar icon clicks directly instead of going via launcher
> Fixing some relayouts during show/hide animation

Bug: 187353581
Test: Manual
Change-Id: Ia7d44acbb770bf0345922234b3daa5cc040a5843
2021-05-17 21:47:08 -07:00
Lucas Dupin 90dab00ef9 Configurable sysprop for launcher depth
Fixes: 187940111
Test: adb shell setprop ro.launcher.depth.appLaunch 0
Test: adb shell setprop ro.launcher.depth.overview 0
Change-Id: I9b49ce96d61b2cf29dc571177818976f4da0a345
2021-05-17 20:16:44 -07:00