Commit Graph

16456 Commits

Author SHA1 Message Date
Alex Chau b830b2d999 Merge "Return mSynchronouslyBoundPages as getPagesToBindSynchronously between onInitialBindCompleteand finishBindingItems" into sc-v2-dev 2021-09-29 08:25:49 +00:00
Zak Cohen 7cb98961ce Merge "Remove Content Push prototype." into sc-v2-dev am: c1359c448d am: a163c68ee2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15922695

Change-Id: I30a08ef27bee0d2252ceaaac5acbf6f10879ad13
2021-09-28 20:44:52 +00:00
Zak Cohen c1359c448d Merge "Remove Content Push prototype." into sc-v2-dev 2021-09-28 20:16:23 +00:00
Schneider Victor-tulias 0021338461 Add logging to help debug b/200572078.
Bug: 200572078
Test: ran launcher and checked logs
Change-Id: If59d850021df226d645aa6a72da2b5bb7ec63782
2021-09-28 12:02:51 -07:00
Alex Chau 21698c5799 Always let Hotseat touches follow through to Workspace if not intercepted
Fix: 200812841
Fix: 201306660
Test: Long press around QSB, hotseat, inbetween hotseat icons works
Test: Can scroll pages on top of hotseat and QSB
Test: Drag and drop still works in hotseat
Test: Can still press and long press on QSB
Change-Id: I3f6807be08ff2c55644e3bf8f6d05a3954a8ede6
2021-09-28 12:27:26 +00:00
TreeHugger Robot 0abaf45250 Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09 am: 93318f746f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I1cb8c49ab25dde0deb6417cac5ab582b9ba0d354
2021-09-27 20:47:26 +00:00
TreeHugger Robot c77e3fde09 Merge "Moving activity tracker to Launcher process" into sc-v2-dev 2021-09-27 20:10:02 +00:00
Brian Isganitis bea022197c Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev am: 03be53443d am: 55626aedb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897839

Change-Id: Ic51602d41a025986dfdf5b502609d5d23bd31bea
2021-09-27 19:06:42 +00:00
Zak Cohen b48b84634f Remove Content Push prototype.
Bug: 201314561
Test: Build and run
Change-Id: I64f5ab40b349d68a50b0f49361f019456667b933
2021-09-27 11:57:50 -07:00
Brian Isganitis 03be53443d Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev 2021-09-27 18:31:26 +00:00
vadimt 5ade8e890d Moving activity tracker to Launcher process
This will improve diagnostics for OOP tests,
like we now have a list of leaked activity classes.

Also some cleanups.

Bug: 187761685
Test: local runs
Change-Id: I8b5711ac727874fd826cfef9c742ea97048763e0
2021-09-27 17:36:14 +00:00
TreeHugger Robot 9ffe1a7b01 Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev am: ac81e8a92a am: 4bdc026863
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897184

Change-Id: I40647fc8c45f10de132c6e2599dfbcab65d7908e
2021-09-27 16:38:13 +00:00
TreeHugger Robot ac81e8a92a Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev 2021-09-27 15:52:33 +00:00
Steven Ng 6d8deb32f6 Fix getWidgetItemSizePx estimation
The size returned by getWidgetItemSizePx is used by the widget picker
for the NavigableAppWidgetHostView. We should NOT deduct the padding
applied to NavigableAppWidgetHostView to this size.

If a launcher grid insets NavigableAppWidgetHostView, then we must
add the inset to the NavigableAppWidgetHostView width / height.

Test: Compare the size of widgets in preview and home screen using
      layout inspector. See screenshots in the bug
Fix: 200983939
Change-Id: I35022861b65f2624f69940cf3856d9c47f8dbbd9
2021-09-27 15:01:04 +01:00
TreeHugger Robot bd7cead303 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4 am: 3a684ac265
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Iedec7b38faa175c0ca655fd5ef1d7e32aee3f2ed
2021-09-25 04:33:00 +00:00
Brian Isganitis a85ae69c72 Refactor arrow popups to allow easier code overriding and sharing.
Test: Existing menus work as intended.
Bug: 188222480
Change-Id: I7d19b06ce8bb7d765624c64c0042c4efd6faf348
2021-09-24 20:32:14 -04:00
Tony Wickham 2fb815b2fd Cleanup split screen offset in TaskViewSimulator
- Removed mRunningTargetWindowPosition and mSplitOffset, as they countered each other out anyway
- Removed PagedOrientationHandler#setLeashSplitOffset() since it's no longer used

Test: Swipe up from split and non split apps in both orientations on large and small devices, with and without home rotation enabled
Bug: 200817624
Change-Id: I78a80cbc718ee38a8933fa323798fb436710d59f
2021-09-24 15:37:30 -07:00
sfufa@google.com de0132939b [Foldable] Apply max width to AllApps in unfolded state.
Since we are applying the same iconWidth in AllApps as Workspace in unfolded state, this change restricts AllApps to span only the area required to display AllApps contents and not span full available width. Unfolded/phone behavior remains the same.

Bug: 199959857
Bug: 194259694
Test: visual
Change-Id: Ie5658d566f20e825e666ef17db79a87b07dc2936
2021-09-24 15:18:01 -07:00
Automerger Merge Worker 9daab56294 Merge "Merge "Consolidate isTablet logic across Launcher and SysUI" into sc-v2-dev am: cc1e94a982" into sc-v2-dev-plus-aosp am: 48390fa1da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15898421

Change-Id: I97ee7e3d695c8212ce6064dccc9405a936cf6122
2021-09-24 17:36:13 +00:00
Tracy Zhou cc1e94a982 Merge "Consolidate isTablet logic across Launcher and SysUI" into sc-v2-dev 2021-09-24 17:16:41 +00:00
TreeHugger Robot 078cf20ae0 Merge "Correct the computation of the cell size." into sc-v2-dev am: bdddc5ab0c am: ab571d1ed0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897178

Change-Id: I38ef570fe358e3bbccc3d3012829d1d955722f09
2021-09-24 16:44:25 +00:00
Pierre Barbier de Reuille 578deba57d Correct the computation of the cell size.
The previous computation ignored the left/right padding of the cell
layout.

Fix: 200968203
Test: Manually
Change-Id: I5a017b90c11e2cd710f16fece5cdae902ccb1e72
2021-09-24 14:18:28 +01:00
Hyunyoung Song 7b57cc863f Merge "extract text conversions from composing text and send them for search" into sc-qpr1-dev am: b458541470 am: ccc304f9b1 am: a1031d8963
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15532476

Change-Id: I5931ec534c1145470163673b28a91b27a5fb04e2
2021-09-24 04:29:35 +00:00
Hyunyoung Song a1031d8963 Merge "extract text conversions from composing text and send them for search" into sc-qpr1-dev am: b458541470 am: ccc304f9b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15532476

Change-Id: I92b7f0f1cc084d3dbe3e701d59c68a84c572b846
2021-09-24 04:19:35 +00:00
Hyunyoung Song 8c2f308521 Merge "extract text conversions from composing text and send them for search" into sc-qpr1-dev am: b458541470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15532476

Change-Id: Ic591cf62d70eb41c1614795d798c37a88e9ca594
2021-09-24 04:09:34 +00:00
Hyunyoung Song b458541470 Merge "extract text conversions from composing text and send them for search" into sc-qpr1-dev 2021-09-24 03:54:12 +00:00
Andy Wickham 83ecee066e Disables Feedback flow for Smartspace. am: 587ab5c723 am: 9e818be418 am: d0eb0bf17b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15899654

Change-Id: I40ccb27f9e12d5a1b148b23a7196e90194f8c747
2021-09-24 03:13:47 +00:00
Andy Wickham d0eb0bf17b Disables Feedback flow for Smartspace. am: 587ab5c723 am: 9e818be418
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15899654

Change-Id: Ic6f5d5ce2212975f1353c09fca3aaecea831b6e1
2021-09-24 03:01:06 +00:00
Andy Wickham 329cb37591 Disables Feedback flow for Smartspace. am: 587ab5c723
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15899654

Change-Id: Ie9b6028178557bd4f87966eaeeeba6a8ca7ac856
2021-09-24 02:49:32 +00:00
Tracy Zhou d7dd32924f Merge "Hide task bar icons when notification shade is expanded" into sc-v2-dev am: ba086b8125 am: 46c3f1e3f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15850809

Change-Id: Ieb38ae475876d7f88446920a790ebc169c5645ba
2021-09-24 01:29:10 +00:00
Tracy Zhou ba086b8125 Merge "Hide task bar icons when notification shade is expanded" into sc-v2-dev 2021-09-24 00:57:26 +00:00
Jonathan Miranda 1a1cc95c8f Merge "Significantly reduce gesture feedback when swiping up to home screen." into sc-v2-dev am: e2455aa1cf am: 5940915502
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15898541

Change-Id: I3d13ae1415abf495cafba6697ca4c04ed3e5f59f
2021-09-23 23:34:05 +00:00
Jonathan Miranda e2455aa1cf Merge "Significantly reduce gesture feedback when swiping up to home screen." into sc-v2-dev 2021-09-23 23:14:50 +00:00
Tracy Zhou c8beebf5a3 Consolidate isTablet logic across Launcher and SysUI
Fixes: 197960261
Test: Change display size; no nav bar and task bar showing at the same time
Change-Id: I56753e9389a49ca3ee455b248a041b3c1569f153
2021-09-23 15:06:53 -07:00
Andy Wickham 587ab5c723 Disables Feedback flow for Smartspace.
Fix: 198444652
Test: Manual
Change-Id: Iff8ad50e5af7082d7618f75c66132e338c67323b
2021-09-23 20:53:37 +00:00
Samuel Fufa c57a284b8f Merge "[Refactor] Extract work profile related logic from AllAppsContainerView to WorkProfileManager" into sc-v2-dev am: 9ac78866d3 am: 85365415cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15670665

Change-Id: Ie0f726688c2ec4559a1711561c98428bc886bb2b
2021-09-23 20:45:50 +00:00
Jon Miranda 13519e4402 Significantly reduce gesture feedback when swiping up to home screen.
- Uses overscroll damping logic to reduce the velocity
- The start to target rect interpolation can be from the
  start, center, or bottom of the rect depending on where the item
  is on the workspace. This reduces the  amount of distance needed to
  travel between, which helps further reduce gesture feedback.

Bug: 173107751
Test: test closing app that is on:
      -  top row of home screen
      -  middle of home screen
      - in hotseat

Change-Id: I055dd61ca3491807109ff2f6c501bf710c8d340f
2021-09-23 20:13:40 +00:00
Samuel Fufa 9ac78866d3 Merge "[Refactor] Extract work profile related logic from AllAppsContainerView to WorkProfileManager" into sc-v2-dev 2021-09-23 20:11:15 +00:00
Steven Ng baa470614f Merge "Fix RecyclerViewFastScroller scrolling in widgets full sheet" into sc-v2-dev am: 2c4c58a14e am: 4c9d83d6db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15871269

Change-Id: I7141f5b6e4b78b1511c125af1ea91d36e7e7d135
2021-09-23 08:32:27 +00:00
Steven Ng 2c4c58a14e Merge "Fix RecyclerViewFastScroller scrolling in widgets full sheet" into sc-v2-dev 2021-09-23 08:05:35 +00:00
Vinit Nayak ab02520ca6 Merge "Shorten and center TaskMenuView for landscape" into sc-v2-dev am: 5dded93a72 am: 870a105b79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15857414

Change-Id: I144ed5776c8c64e9827309ef732b82ac0db43433
2021-09-23 06:17:04 +00:00
Vinit Nayak 5dded93a72 Merge "Shorten and center TaskMenuView for landscape" into sc-v2-dev 2021-09-23 05:55:17 +00:00
y eb52419282 [Refactor] Extract work profile related logic from AllAppsContainerView to WorkProfileManager
Bug: 195623679
Test: presubmit
Change-Id: I9954fb40034d1804aaf19f0778f95477e48ccc8f
2021-09-22 16:35:56 -07:00
Tony Wickham 53570afb65 Merge "Remove nonOverlappingTaskarInsets" into sc-v2-dev am: 6b8a139581 am: 52e84a8a93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15875056

Change-Id: I832dd3d9e70bd03a97468963ef69a96ee8987e65
2021-09-22 23:08:57 +00:00
Tony Wickham 6b8a139581 Merge "Remove nonOverlappingTaskarInsets" into sc-v2-dev 2021-09-22 22:44:45 +00:00
Vinit Nayak 9e6a642d8b Shorten and center TaskMenuView for landscape
* The width of the task menu view for landscape
(both fake and real) is the same as the width
it would be in portrait.
* With the shorter width, we also center the
positioning of the TaskMenuView
* Note this is only for phone, large screen
changes TODO

Bug: 193432925
Test: Tested real/fake landscape + seascape,
view is centered. Portrait same as before.

Change-Id: Ide41e252a3c177c4a911aab544f78930fed2e76f
2021-09-22 14:55:29 -07:00
Schneider Victor-tulias 2c8966bbc8 Add logging to help debug invalid icon state and UI.
PackageInstallStateChangedTask had some redundant state handling that could lead to invalid states. Removed state handling (potential fix to b/198924992) along with logging to help debug b/198924992.

Test: Started and canceled an app download
Bug: 198924992
Change-Id: I8b8202ceb62a3265186d8d46a0e1be6afc83c080
(cherry picked from commit fbf4178ab7)
2021-09-22 20:53:08 +00:00
Schneider Victor-tulias b8659607cf Merge "Add logging to help debug invalid icon state and UI." into sc-v2-dev am: f4f17df565 am: f7cb3d3527
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15830460

Change-Id: I239e6d36acd3117c1dce965b55c73417c8f8ec61
2021-09-22 19:59:13 +00:00
Schneider Victor-tulias f4f17df565 Merge "Add logging to help debug invalid icon state and UI." into sc-v2-dev 2021-09-22 19:26:59 +00:00
Jonathan Miranda 47bd7aeb3a Merge "Play window close animation to home for most app to launcher scenarios" into sc-v2-dev am: e37b51b30f am: 739afa1bec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741392

Change-Id: I156b5694002f5c5c299b84d019f70c53536c00b0
2021-09-22 18:58:39 +00:00