Commit Graph

31704 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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 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 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
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
TreeHugger Robot bbfef42e48 Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev 2021-03-24 01:46:34 +00:00
TreeHugger Robot 357b26c8ab Merge "Fix spring loaded scale when taskbar is present" into sc-dev am: 9187337d15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933465

Change-Id: I976f6989ca91ac616b6b5f6c59dd33a5cadec305
2021-03-24 00:53:03 +00:00
TreeHugger Robot fd0a0da2ec Merge changes I6ce23251,I56fca1b7 into sc-dev am: cb6dff62d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931236

Change-Id: I86cedf2f0fad4764747833ae5b50c8edbc471c7d
2021-03-24 00:52:57 +00:00
TreeHugger Robot ce0f3a37bf Merge "Update Pin widget dialog UI according to mocks." into sc-dev am: acb3cac938
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13945229

Change-Id: I8b9c97401701cb595fff5952efbbf5f707d55cf9
2021-03-24 00:52:49 +00:00
TreeHugger Robot 37666718e0 Merge "Remove some unused hotseat/qsb scaling code" into sc-dev am: b9d201a5d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970240

Change-Id: I17f60a90a42222da2f2f401665c8697743ffc925
2021-03-24 00:52:38 +00:00
TreeHugger Robot 9187337d15 Merge "Fix spring loaded scale when taskbar is present" into sc-dev 2021-03-24 00:43:33 +00:00
TreeHugger Robot cb6dff62d9 Merge changes I6ce23251,I56fca1b7 into sc-dev
* changes:
  Update the resize frame to use the forced radius.
  Enforce rounded corners on App Widgets.
2021-03-24 00:39:17 +00:00
TreeHugger Robot acb3cac938 Merge "Update Pin widget dialog UI according to mocks." into sc-dev 2021-03-24 00:29:41 +00:00
TreeHugger Robot b9d201a5d6 Merge "Remove some unused hotseat/qsb scaling code" into sc-dev 2021-03-24 00:16:01 +00:00
Steven Ng 6c5e02ac27 Fix scrolling in widgets picker tapl tests
If the search bar and the target widget item intersect, scroll up to
make the target widget item clickable.

Test: run AddWidgetTest, AddConfigWidgetTest

Bug: 183403949
Change-Id: I847cc34757cb02b1a12e18e511fda749873ad5da
2021-03-24 00:01:53 +00:00
Jonathan Miranda e04715c263 Merge "Updating deep shortcut container to new width." into sc-dev am: 0fa5225d57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13971704

Change-Id: If9097dc1ae8176bcc267d5c3d1c51ede887e9fd3
2021-03-23 22:12:27 +00:00