Commit Graph
31735 Commits
Author SHA1 Message Date
Steven Ng 14eab916cb Merge "Filter out potential null widget item from recommended widgets" into sc-dev am: fe158fab89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989192

Change-Id: I23cdcb250747da181607bebe151b31b325764141
2021-03-25 21:37:45 +00:00
Steven Ng fe158fab89 Merge "Filter out potential null widget item from recommended widgets" into sc-dev 2021-03-25 20:54:38 +00:00
TreeHugger Robot d52247907f Merge "Slightly improve Taskbar animations to launcher" into sc-dev am: 0a74a35a41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973516

Change-Id: I7482b9d5e3939c48d691e0d97c9c7de98f988e7b
2021-03-25 19:00:27 +00:00
TreeHugger Robot 0a74a35a41 Merge "Slightly improve Taskbar animations to launcher" into sc-dev 2021-03-25 18:36:37 +00:00
Tracy Zhou b0a7b59d95 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: Ic6b0f5171b20f63fddfa2d37a7f08b48eaf9ce00
2021-03-25 17:19:45 +00:00
Rajeev Kumar cf6215c5b8 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: I4ba3a9e173c5213c5960313f5b0d738d9e604bc5
2021-03-25 17:19:25 +00:00
Pierre Barbier de Reuille 6599a49370 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: I9bf8bc3228af1aa3ef07e2fa0ea2401bc662e10c
2021-03-25 17:18:26 +00:00
Steven Ng 074f83205d Filter out potential null widget item from recommended widgets
There is a likely a race condition which the recommended widgets
contain widget that have not been added to mAllWidgets. Instead
of introducing a lock mechanism, let's simply filter null widgets.

Test: manual

Bug: 183619699
Change-Id: Ia82778b8ac8c42265bdf6838e059f81022a0d4ef
2021-03-25 17:01:13 +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 9792ee899f 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: Id322581e4aad3057e1946c7dc88d22cf64aa70e0
2021-03-25 14:00:56 +00:00
Samuel Fufa 316680d711 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: I5630073cfcc281b4b77d2b3864782abe825e27f7
2021-03-25 14:00:31 +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 2573e8b655 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: I2e4d46477b9771ce6f804060b4b991429789b070
2021-03-25 11:56:22 +00:00
Alex Chau 3d793bd31e 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: I4f1f4e4bd0b5923191850525c15d116551f66f98
2021-03-25 11:56:17 +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 dfcafaebcb 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: I66c860e0ba270de44930672133000c558492d8f5
2021-03-25 09:42:12 +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 353ba8ed3a 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: Icfa325f771427dcfb9211bb30b2c1fbd9997ed91
2021-03-25 05:49:29 +00:00
Jon Spivack 6914f93f8e Merge "TaskOverlayFactoryGo: Minor updates for testability" into sc-dev 2021-03-25 05:08:49 +00:00
Jonathan Miranda 31f1ff4aea 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: Ie183659b0034f15b0ba29c5ec25ee3adb1cdac6a
2021-03-25 01:53:08 +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 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 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 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
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 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
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
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 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