Commit Graph
58436 Commits
Author SHA1 Message Date
Samuel Fufa e0b8c8396a [String][Work profile] Update work profile strings
Bug: 183517121
Test: Manual
Change-Id: I334854170dca6ecf321da0ec2094ab993404c229
2021-03-24 19:35:11 -05:00
Winson Chung bc230e4a42 Merge "Fix activity NPE when clearing flags" into sc-dev am: 394ede6fe6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13985350

Change-Id: Id28acf8435380e779d7771062b4d280d67957362
2021-03-25 00:11:22 +00:00
Winson Chung cf0d2c8191 Merge "Fix activity NPE when clearing flags" into sc-dev am: 394ede6fe6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13985350

Change-Id: Ie684c1fbfb72cc3a20af17ed7dd435984cadf400
2021-03-25 00:02:15 +00:00
Winson Chung 394ede6fe6 Merge "Fix activity NPE when clearing flags" into sc-dev 2021-03-24 23:28:58 +00:00
Jon Spivack 4d32f5a74d Merge "Change label for Search button in Go Overview" into sc-dev am: ea0463d243
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13985351

Change-Id: Iadd96c2829bf77501263c757f8e555fd74e4030f
2021-03-24 20:36:59 +00:00
Jon Spivack 0a083239eb Merge "Change label for Search button in Go Overview" into sc-dev am: ea0463d243
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13985351

Change-Id: I747db5e103a9be2f80aedbe73b843af98f353bd3
2021-03-24 20:35:15 +00:00
Jon Spivack ea0463d243 Merge "Change label for Search button in Go Overview" into sc-dev 2021-03-24 20:06:10 +00:00
TreeHugger Robot 7259130c92 Merge "Fix scrolling in WidgetsBottomSheet" into sc-dev am: 365c3c8f09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13983966

Change-Id: I2cd46880ff971067e63f0e9f6c89bcf00b4f67b2
2021-03-24 19:51:52 +00:00
TreeHugger Robot 3c110b3c7a Merge "Fix scrolling in WidgetsBottomSheet" into sc-dev am: 365c3c8f09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13983966

Change-Id: Iab94b51d178d30be4062400fdb2eea0f91cd1afe
2021-03-24 19:51:41 +00:00
Alex Chau 7c43972c50 Move numAllAppsColumns to displayOptions
- Allow different number of columns per screen size

Bug: 171915986
Test: Manual
Change-Id: I7b7d518289ea56624dc87512f639e92f10f6b586
2021-03-24 19:36:11 +00:00
TreeHugger Robot 365c3c8f09 Merge "Fix scrolling in WidgetsBottomSheet" into sc-dev 2021-03-24 19:34:50 +00:00
TreeHugger Robot bd834dfea6 Merge "Remove MultiValueAlpha Mode, as all usages are BLEND" into sc-dev am: 0249710308
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13974801

Change-Id: Ib3b018dd28dc1d0dbff2965b43a01d192e493ecc
2021-03-24 19:15:07 +00:00
TreeHugger Robot 246530e20f Merge "Remove MultiValueAlpha Mode, as all usages are BLEND" into sc-dev am: 0249710308
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13974801

Change-Id: Ia257f7bd5e6261ed9e66a179baad8cac29c810af
2021-03-24 19:14:55 +00:00
Alex Chau 31b591fc21 Remove grid scaling in Overveiw am: dedbc8ac36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13918850

Change-Id: Ie055df972a29bbfbc8bfcf216b7d5cc8d11e97ff
2021-03-24 19:14:44 +00:00
Alex Chau 358fbac182 Remove grid scaling in Overveiw am: dedbc8ac36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13918850

Change-Id: I52507c2a63517a9a1ccbab5aefe550252d095d01
2021-03-24 19:14:38 +00:00
Zak Cohen 84f0b17dbb Merge "Overview - Adds first pass at making landscape layout real." into sc-dev am: 21aa7042c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13932061

Change-Id: Ic7fd5bf79fe0a9b9a46693788c114e8f5f2d154d
2021-03-24 19:14:31 +00:00
Zak Cohen af1b53a5cd Merge "Overview - Adds first pass at making landscape layout real." into sc-dev am: 21aa7042c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13932061

Change-Id: Ib355f56e113f852ae8ea4c45ca285f755d9cbac5
2021-03-24 19:13:26 +00:00
TreeHugger Robot 0249710308 Merge "Remove MultiValueAlpha Mode, as all usages are BLEND" into sc-dev 2021-03-24 19:02:52 +00:00
Jon Miranda c9e69fa98d Refactor device padding to be set per grid option
- Fixes bug where devices with scaled grids were not
  getting the correct deivce padding.
- Also fix bug where device padding was invalid.
  Added validation check when processing paddings to prevent
  this from happening again.

Bug: 175329686
Test: manual, enable debug flag,
      run and verify no crash from validation check

Change-Id: I35b019c40667c08de4fad95ac4b05b2d8f8a0e74
2021-03-24 14:58:44 -04:00
Jon Spivack 177cff38fa Add OWNERS to Launcher3/go
The code in this directory only impacts the Go Launcher variants, so it would make sense for the owners to be from the Go team.

Bug: 183627385
Test: N/A
Change-Id: Iab09be2d590d25bce6de07048befa2e832a54623
2021-03-24 11:47:54 -07:00
Alex Chau dedbc8ac36 Remove grid scaling in Overveiw
- Grid scaling has problem that scales task icon and menu, which makes it hard to control icon size and text size in the manula
- Replaced the whole concept with dedicated Task size calculation in grid layout
- Support different icon size in TaskView in grid and removed task_thumbnail_top_margin
- Removed grid progress in TaskViewSimulator as well
- Refactored how ClearAllButton scroll and translations are calcualted to align clear all properly in grid
- Make page center calculation aware of PagedView pivot and scaling

Bug: 174464863
Test: Manual on two screens
Change-Id: I47b13ef6e55c6e16c52ea04225f5bde02ed82fc2
2021-03-24 18:46:32 +00:00
Zak Cohen 21aa7042c0 Merge "Overview - Adds first pass at making landscape layout real." into sc-dev 2021-03-24 18:44:29 +00:00
TreeHugger Robot 7968accb42 Merge "Add a button for reconfiguring widgets." into sc-dev am: 45393a561f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841982

Change-Id: I34c8b0992d84b76a5dc707282fcd65ee45fa0d80
2021-03-24 18:34:47 +00:00
TreeHugger Robot db9dfc4490 Merge "Add a button for reconfiguring widgets." into sc-dev am: 45393a561f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841982

Change-Id: I8f5f48a3b686a720a1b3aaaa2be55a3218f8981f
2021-03-24 18:34:27 +00:00
TreeHugger Robot 45393a561f Merge "Add a button for reconfiguring widgets." into sc-dev 2021-03-24 17:50:54 +00:00
Tony Wickham 0c1a83f75d Merge "Remove dead taskbar code" into sc-dev am: 11bc3118c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973515

Change-Id: Idb6a259ed632c35ccee1759bff743fbeef6a281b
2021-03-24 17:40:07 +00:00
Tony Wickham 0d12bee11f Merge "Remove dead taskbar code" into sc-dev am: 11bc3118c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973515

Change-Id: I595d67934506c589d2e0eea4d2d3371ab780b38e
2021-03-24 17:40:04 +00:00
Tony Wickham 02e9f1e12f Slightly improve Taskbar animations to launcher
- Move Taskbar scale to LauncherState
- Rename TaskbarVisibilityController to TaskbarAnimationController and
  add mTaskbarScaleForLauncherState to TaskbarAnimationController
- Set OverviewState#getTaskbarScale() = 1f so Taskbar doesn't scale
  up when going from an app to Overview
- Increase home animation duration so Taskbar animation aligns better

Test: Taskbar scales up when going home, doesn't scale up when going
to overview
Bug: 182512211

Change-Id: I6f448e76de98d7ff337ae93234d4bb7ce6254d50
2021-03-24 10:31:12 -07:00
Jon Spivack 387e65e3c4 Change label for Search button in Go Overview
The visual search button on the Recents screen (on Go devices) will be renamed to Lens.

Bug: 183618164
Test: Manual
Change-Id: I86371e604bd0204510737e5088c95404129818bb
2021-03-24 17:23:32 +00:00
Tony Wickham 11bc3118c9 Merge "Remove dead taskbar code" into sc-dev 2021-03-24 17:20:18 +00:00
TreeHugger Robot a5a69c90e1 Merge "Clear focus from search bar whenever a header is clicked in search adapter." into sc-dev am: a0d299f5ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961486

Change-Id: Ia8c9d5931d3162c51664dae457d3aa6ebfe6b992
2021-03-24 17:02:02 +00:00
TreeHugger Robot 5c9548a1d5 Merge "Clear focus from search bar whenever a header is clicked in search adapter." into sc-dev am: a0d299f5ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961486

Change-Id: I83481b7b943d1257aabb67ae6b4d0c05c30f2159
2021-03-24 17:01:47 +00:00
Winson Chung 6151a34543 Fix activity NPE when clearing flags
- If the activity is already destroyed then skip setting flags

Bug: 183400378
Test: Just adding a null check
Change-Id: Id2fddb5adb3b68302fb58fce340abd29237ca731
2021-03-24 10:01:44 -07:00
TreeHugger Robot a0d299f5ad Merge "Clear focus from search bar whenever a header is clicked in search adapter." into sc-dev 2021-03-24 16:28:56 +00:00
Andras Kloczl 243a3559e3 Fix staggered animation on right panel home screen am: a4cb0f02de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931241

Change-Id: I9b7ce00731846926f5e5f33e33d520623dc7e0d4
2021-03-24 15:23:28 +00:00
Andras Kloczl ccaa599212 Fix staggered animation on right panel home screen am: a4cb0f02de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931241

Change-Id: I07519c84611bbc35686d8111964f0fc6bee7e750
2021-03-24 15:20:09 +00:00
Steven Ng 02c4f65e67 Fix scrolling in WidgetsBottomSheet
Popup container shouldn't intercept the scroll event if its child
scroll view isn't scrolled to the top yet.

Test: manual
Bug: 183599207
Change-Id: I434ba5e91b154e9862f22c08cd01c9d459e6707b
2021-03-24 14:51:19 +00:00
Zak Cohen 334efebaba Overview - Adds first pass at making landscape layout real.
Adds dynamic sizing to margins around task view, also creates space in the
overview actions view in landscape to make space for the proactive chips if
needed.

Bug: 182529089
Test: Local build and run on two devices
Change-Id: I447de3564a3249ede4e8e8a4d3e5d1c177f6be61
2021-03-24 14:45:48 +00:00
Yogisha Dixit 73c8a366a8 Add a button for reconfiguring widgets.
Test: manual
Bug: 183316993
Change-Id: I17bec121e3d07d65979c2b92c285e487a7d64d65
2021-03-24 13:34:29 +00:00
Andras Kloczl a4cb0f02de Fix staggered animation on right panel home screen
Recently we have added support for multiple panels
on the home screen but the current StaggeredWorkspaceAnim
logic only supports animation for the leftmost panel.

Test: manual
Bug: 183032642
Change-Id: I539e1c1a26292b75801eb3070e22f0fbde1ebc7e
2021-03-24 12:37:22 +01:00
Jon Spivack 375a1bbb92 TaskOverlayFactoryGo: Minor updates for testability
Made a few things public and marked them as @VisibleForTesting.

Bug: 179738220
Test: atest -v LauncherGoGoogleRoboTests
Change-Id: I231316ecf9282ad4d54038e218f44f062b3fa413
2021-03-24 04:05:03 -07:00
TreeHugger Robot 8df9869df7 Merge "Fix scrolling in widgets picker tapl tests" into sc-dev am: 59230c3cdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961495

Change-Id: I1f3731a7bee4cd3cf3a6668956926c689c56180f
2021-03-24 10:53:47 +00:00
TreeHugger Robot 8ac3c86d95 Merge "Fix scrolling in widgets picker tapl tests" into sc-dev am: 59230c3cdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961495

Change-Id: I7dca61ef0dc25b6b65a266bc3f20e5fa1539f6f1
2021-03-24 10:53:22 +00:00
TreeHugger Robot 59230c3cdd Merge "Fix scrolling in widgets picker tapl tests" into sc-dev 2021-03-24 10:35:20 +00:00
Alina Zaidi b3f942e2fc Merge "Bug fixes for widget picker search (2/n)" into sc-dev am: 305a44c935
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948365

Change-Id: Ie16a6a5303c4765aaf30fb87230c9717bd8d844a
2021-03-24 10:28:22 +00:00
Alina Zaidi 9877eca035 Merge "Bug fixes for widget picker search (2/n)" into sc-dev am: 305a44c935
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948365

Change-Id: Ie90daa0a4ef6459aa366b33d92f2d56ca5062651
2021-03-24 10:27:50 +00:00
Alina Zaidi 2cff164be2 Clear focus from search bar whenever a header is clicked in search adapter.
Test: Manually checked
Bug: 183398749
Change-Id: Ie91312ae1e62c6427e3397d1e5f60bc812a790ee
2021-03-24 09:52:45 +00:00
Alina Zaidi 305a44c935 Merge "Bug fixes for widget picker search (2/n)" into sc-dev 2021-03-24 09:47:26 +00:00
android-build-team Robot 32a3b9aabb Snap for 7230858 from fe974153ab to tm-release
Change-Id: I16ff5b8079508214efd38bf3b3ae782bda5e283a
2021-03-24 03:07:22 +00:00
TreeHugger Robot 7d99fd4648 Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev am: bbfef42e48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13894757

Change-Id: I272dfc1d80721ac58c7076d27879d76f3b0ad9f0
2021-03-24 02:35:51 +00:00