Commit Graph

31776 Commits

Author SHA1 Message Date
Tracy Zhou c7e8d9dbdf Merge "Fix a memory leak" into sc-dev am: 29c1e8437e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961425

Change-Id: Ibe9df851507b75b835ac9cd37d5352e6443ea767
2021-03-25 17:18:55 +00:00
Rajeev Kumar c624ec0944 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a am: ee9a99a6a8 am: f23ea3b067
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: Id8aa0c7e14a786933bcf985d5858694d63775a86
2021-03-25 17:18:37 +00:00
Pierre Barbier de Reuille c350e18724 Merge changes Ib7ce422d,I977e7750 into sc-dev am: 119b7a6a12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989189

Change-Id: Ibac9958e6e3340d86c9262624be18a25e1cc77e1
2021-03-25 17:17:27 +00:00
Tracy Zhou 29c1e8437e Merge "Fix a memory leak" into sc-dev 2021-03-25 16:48:46 +00:00
Rajeev Kumar f23ea3b067 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a am: ee9a99a6a8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: I227d47f2ba807e4b5de60fba8dbad60f279bdba4
2021-03-25 16:30:13 +00:00
Pierre Barbier de Reuille 119b7a6a12 Merge changes Ib7ce422d,I977e7750 into sc-dev
* changes:
  Added rounded corner to bitmap Widget Preview
  Correct RoundedCorner enforcements.
2021-03-25 16:25:18 +00:00
Rajeev Kumar ee9a99a6a8 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: Id3e60d2015fc099461d8ac18767bb909b75d3165
2021-03-25 16:03:04 +00:00
Rajeev Kumar dc71c0178a Merge "Add OWNERS to Launcher3/go" am: 278edf2938
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: I313a119d7e67f142d04e254e57d1cabcefc60921
2021-03-25 15:24:57 +00:00
Rajeev Kumar 278edf2938 Merge "Add OWNERS to Launcher3/go" 2021-03-25 14:50:06 +00:00
Pierre Barbier de Reuille adc23265dc Added rounded corner to bitmap Widget Preview
This applies to the widget picker and the initial Widget drop.

Bug: 183615331
Test: Manually using top preinstalled widgets
Change-Id: Ib7ce422dc485396c2aceec6f43e83529d642ecc7
2021-03-25 14:09:18 +00:00
Samuel Fufa d2eb57d052 Merge "[Search] Resolve work/personal tab overlap with A-Z list" into sc-dev am: c699c01812
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13969496

Change-Id: I1520a577b024d41d66fc5b0df8cc56c5fd32555f
2021-03-25 14:00:14 +00:00
Samuel Fufa 595871d466 Merge "[String][Work profile] Update work profile strings" into sc-dev am: df3fa3bfec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989447

Change-Id: I32f1153288b048cdeee9cca12ba34d37ad50afde
2021-03-25 14:00:06 +00:00
Samuel Fufa c699c01812 Merge "[Search] Resolve work/personal tab overlap with A-Z list" into sc-dev 2021-03-25 13:34:17 +00:00
Samuel Fufa df3fa3bfec Merge "[String][Work profile] Update work profile strings" into sc-dev 2021-03-25 13:34:04 +00:00
Alex Chau 173eefaa13 Merge "Fix taskbar crash after cleanup" into sc-dev am: 5d225245b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13974800

Change-Id: I1bebdd8af33f2665afdd413eb4863705a2e12334
2021-03-25 11:56:12 +00:00
Alex Chau 709713d65b Merge "Move numAllAppsColumns to displayOptions" into sc-dev am: 06452a427d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13983965

Change-Id: I8e1f123f3c1df8f2cd6a1ec9fb0110ea29b49f02
2021-03-25 11:55:54 +00:00
Alex Chau 5d225245b6 Merge "Fix taskbar crash after cleanup" into sc-dev 2021-03-25 11:28:55 +00:00
Alex Chau 06452a427d Merge "Move numAllAppsColumns to displayOptions" into sc-dev 2021-03-25 11:16:00 +00:00
Pierre Barbier de Reuille a750f8cdca Correct RoundedCorner enforcements.
The feature status will not, in the end, depend on the widget, so
removed the argument.

Bug: 183097166
Test: Manual test

Change-Id: I977e775072cf1724f3e31b848d3ac4c862d23e00
2021-03-25 11:10:08 +00:00
Alex Johnston 8b485fd9ae Merge "Block recent work profile apps content capture" into sc-dev am: ad4c83ad36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961492

Change-Id: I7596fc6d104a554d82d8c5070932fad377c17f60
2021-03-25 09:41:34 +00:00
Alex Johnston ad4c83ad36 Merge "Block recent work profile apps content capture" into sc-dev 2021-03-25 09:14:05 +00:00
Tracy Zhou 773050d228 Fix a memory leak
Currently we pass a callback from AbsSwipeUpHandler to TaskAnimationManager to render task view launch animation, exposing the launcher activity to the static TouchInteractionService, which causes the leak. To not only fix the leak, but consider a better place for this functionality semantically, RecentsView is a better home.

Fixes: 183458638
Test: Run presubmit

Change-Id: Id35d0ad22005003d2516c34515a5cb338605be0b
2021-03-24 23:47:55 -07:00
Jon Spivack 863bf22f4f Merge "TaskOverlayFactoryGo: Minor updates for testability" into sc-dev am: 6914f93f8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13982439

Change-Id: Ib05b5fb3f541d1e53e30c23adb79c069be494fef
2021-03-25 05:46:57 +00:00
Jon Spivack 6914f93f8e Merge "TaskOverlayFactoryGo: Minor updates for testability" into sc-dev 2021-03-25 05:08:49 +00:00
Jonathan Miranda ce7dcab456 Merge "Refactor device padding to be set per grid option" into sc-dev am: 33f22c4e60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956778

Change-Id: I60f9af2ba3e6043787e71ab7e23c7f6f86db7b45
2021-03-25 01:54:29 +00:00
Jonathan Miranda 33f22c4e60 Merge "Refactor device padding to be set per grid option" into sc-dev 2021-03-25 01:18:24 +00:00
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 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 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 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
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 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 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 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
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 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