Commit Graph
5114 Commits
Author SHA1 Message Date
Sunny Goyal 659eb569d6 Merge "Updating predictions if hotseat items get removed/added as a result of model callback" into sc-dev am: d028812c9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13474773

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibf41063bac9f48410f0973323463af0748783cd2
2021-02-04 22:00:24 +00:00
Sunny Goyal d028812c9e Merge "Updating predictions if hotseat items get removed/added as a result of model callback" into sc-dev 2021-02-04 21:36:45 +00:00
Wale Ogunwale da7896126b Merge "Launcher3: Added shared lib APIs for Launcher to use split-screen APIs." into sc-dev am: ed8473357d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13472974

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0a17378471a91dd60fb9b3f3382e56cd1681756c
2021-02-04 19:46:02 +00:00
Wale Ogunwale ed8473357d Merge "Launcher3: Added shared lib APIs for Launcher to use split-screen APIs." into sc-dev 2021-02-04 19:45:15 +00:00
Tony Wickham d455bc44aa Merge "Add recent tasks to Taskbar" into sc-dev am: d10b587003
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13455072

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c0d21577eddf0b90aa4c87be8cdc2c318153f13
2021-02-04 07:00:44 +00:00
Tony Wickham d10b587003 Merge "Add recent tasks to Taskbar" into sc-dev 2021-02-04 06:30:37 +00:00
Tracy Zhou 72b615ff53 Merge "Make sure that RemoteAnimationTargets is not null when redrawLiveTile()" into sc-dev am: 30c4ff467d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475166

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6fa09c7b6e56ad2040f121f15e75715d71105912
2021-02-04 04:30:12 +00:00
Tracy Zhou 30c4ff467d Merge "Make sure that RemoteAnimationTargets is not null when redrawLiveTile()" into sc-dev 2021-02-04 03:51:48 +00:00
Tony Wickham aaa42bd0e8 Add recent tasks to Taskbar
- Also adds a divider between Hotseat and Recents
- Dedupes Recents from Hotseat

Test: Open some recent tasks, ensure they are deduped
from Hotseat and also handle < 2 tasks.

Bug: 171917176
Change-Id: Ia782c6ccbcda94cfd844aad04dc3d25a3f072c2b
2021-02-03 18:54:58 -08:00
thiruram 95e38a3373 [AA+] Log app launches from DeviceSearchResultContainer with instance ID. am: f4d19f4614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463977

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib97dabee7c29d7bbdefdb4ec72f266fe6e9e7761
2021-02-03 23:11:21 +00:00
thiruram d1611099a7 [AA+] Log app launches from AA+ search result container. am: cbeb13d6c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463976

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib63821f23ac6a8496ebc643b34434ed1c49fc543
2021-02-03 23:11:19 +00:00
Tracy Zhou ce79488572 Make sure that RemoteAnimationTargets is not null when redrawLiveTile()
Fixes: 179289159
Test: manual
Change-Id: I3a5d283582f0899d98717bbbdd146925cc0a4a93
2021-02-03 13:35:42 -08:00
Sunny Goyal b245c552d4 Updating predictions if hotseat items get removed/added as a result of model callback
Bug: 179284787
Test: Verified on device
Change-Id: Iecfc7f291f54aacccc6d2afe674ccd2f20e2035d
2021-02-03 12:57:03 -08:00
thiruram f4d19f4614 [AA+] Log app launches from DeviceSearchResultContainer with instance ID.
This InstanceId is used to recreate the AA+ session on the server side.

Bug: 178562918
Change-Id: I1bba94417d3a142351e2470bb6153707d2cadb11
2021-02-03 10:17:18 -08:00
thiruram cbeb13d6c7 [AA+] Log app launches from AA+ search result container.
This change will update westworld logs for app launches from AA+ search result. Updates log's container info from AllAppsContainer -> AllAppsPlusSearchResultContainer.

Bug: 178562918
Change-Id: I9ffca27fea42951a57640ef36717c04ff0251506
2021-02-03 10:08:57 -08:00
Hyunyoung Song 7f4b046baf Merge "Support shorter height row layout / Disable ICON_SLICE" into sc-dev am: aa793ff226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13455478

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3ae00831bc2b48ab35533845cd887698471a85ef
2021-02-03 17:12:43 +00:00
Hyunyoung Song aa793ff226 Merge "Support shorter height row layout / Disable ICON_SLICE" into sc-dev 2021-02-03 16:47:02 +00:00
Wale Ogunwale 7786595ae5 Launcher3: Added shared lib APIs for Launcher to use split-screen APIs.
Bug: 179176511
Test: presubmits!
Change-Id: Ib66cd533676ec28c3b18549d2b9931cdb2263654
2021-02-03 07:39:20 -08:00
Hyunyoung Song 7239df7258 Support shorter height row layout / Disable ICON_SLICE
Bug: 178815297
Bug: 178128837
Bug: 178823469

Test: manual, attached screenshot on the bugreport

Change-Id: Ie69c8928f5acc430320cfc5c85547195866e829e
2021-02-03 01:25:16 -08:00
bsears 443288d3d5 Merge "Revert "Make keyguard exit animation to remote animation."" 2021-02-03 06:19:45 +00:00
Tracy Zhou 1579aa6edc Merge "[Live Tile] Fix a bunch of issues related to touch input" into sc-dev am: 18fcb432b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13457899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6429149ab7b09e85f593a3d1825314f50bf39d2f
2021-02-02 21:50:06 +00:00
Tracy Zhou 18fcb432b1 Merge "[Live Tile] Fix a bunch of issues related to touch input" into sc-dev 2021-02-02 21:04:17 +00:00
Daniel Chapin 1c720fd8c0 Revert "Make keyguard exit animation to remote animation."
Revert "Make keyguard exit animation to remote animation."

Revert "Make keyguard exit animation to remote animation."

Revert submission 13354553-KeyguardRemoteAnimation

Reason for revert: Bug: 179122467
Reverted Changes:
I7a70add76:Make keyguard exit animation to remote animation.
I1cd6a86c2:Make keyguard exit animation to remote animation.
I1cd6a86c2:Make keyguard exit animation to remote animation.

Change-Id: Ibef152b95638132ca8476f84b22bccb23dd13c97
2021-02-02 18:57:19 +00:00
Tracy Zhou 035bb22298 [Live Tile] Fix a bunch of issues related to touch input
Here are the issues
- Touch down again during transition of quick switch brings back the previous app
- During transition to overview, touch down on task / in the background area results in weird behaviors

These issues related to touch input are caused by the z-ordering of app and launcher. Because in the current implementation we place launcher on top upon initial swipe up, during the transition (to overview / quick switch), any touch event goes directly to launcher instead of the overview input consumer (where it normally goes to in the non-live tile case), resulting in these weird behaviors mentioned above.

The reason we put app below launcher upon swipe up is to render task view icon earlier (before swipe up settles into overview), which, is not as critical (we don't have the feature now), and we can find other ways to make that happen.

So here are the proposed changes
- Place app on top upon swipe up. Only place launcher on top after transition to overview.
- Remove the temporary fix to disable click for live tile task during transition.
- Remove icon logic in live tile overlay (in this change I only removed the call, but let me know if it's preferred that they are completely removed from LiveTileOverlay in this change)

Test: manual
Fixes: 178640174
Fixes: 175039524
Change-Id: Ib97804c8bbc487bc55160719375c0f2ff3ba7fd3
2021-02-02 10:01:25 -08:00
Hyunyoung Song c583f5ae1b Fix issue of slice icon being rendered on non-UIthread am: 5809a40f3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13459790

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I42e00827cd9bc3b665893b9fd52407604aef9a7a
2021-02-02 15:47:38 +00:00
Hyunyoung Song 5809a40f3e Fix issue of slice icon being rendered on non-UIthread
Bug: 178989579
Test: Manual

Change-Id: I23aa5055c8f07ee9877c1f3ce51cb280ac38a2b7
2021-02-02 01:25:45 -08:00
Tony Wickham 9ad1fb5298 Support drag and drop from Taskbar am: e747278ee8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452499

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4d9064fafe73210ab57d1bbdbff2059155724920
2021-02-02 05:33:17 +00:00
Tony Wickham fb35445820 Delegate Taskbar touches to nearest view to ensure 48x48dp touch size am: b11e4d517d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452498

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9108d5b6780f887c4ae7c4283047de125e3942ef
2021-02-02 05:33:16 +00:00
Tony Wickham 510e01a798 Add Hotseat items to Taskbar am: 794fe4f58e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13438452

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1555617e093f135780ff798ec5588bca45d9e717
2021-02-02 05:33:15 +00:00
Tony Wickham e747278ee8 Support drag and drop from Taskbar
- Long clicking a BubbleTextView in Taskbar will start a system drag
  and drop operation, setting the original view invisible meanwhile.
- Defer gesture navigation when starting over a Taskbar item, and
  cancel any started gesture if a Taskbar drag and drop starts.

Bug: 171917176
Change-Id: If5049071fbf1755f545ee937daa4edabd869f00d
2021-02-01 18:29:06 -08:00
Tony Wickham b11e4d517d Delegate Taskbar touches to nearest view to ensure 48x48dp touch size
In TaskbarView#onTouchEvent(), which is only reached if a Taskbar
icon didn't already consuem the event, check each child to see if
the event occurs within a 48x48dp bounding box, and delegate the
event and subsequent events to it until UP or CANCEL.

Bug: 171917176
Change-Id: I7afafe0835828ab9213ec6abfe4e88ad7b9af3c4
2021-02-01 18:29:06 -08:00
Tony Wickham 794fe4f58e Add Hotseat items to Taskbar
- Currently supports WorkspaceItemInfo (e.g. normal app icons
  including hotseat predictions and pinned deep shortcuts).
- Currently doesn't support Folders, Notification dots, or
  long press.

Some technical details:
- Always allow HotseatPredictionController updates given the
  Hotseat is always showing even when Launcher is stopped.
- Represent Taskbar Hotseat items as BubbleTextViews, to
  allow for normal click handling etc. When the hotseat is
  updated, we reuse the same BubbleTextViews that were
  initially inflated, and just reapply the new info.
- Add new BubbleTextView iconDisplay for Taskbar, to allow
  for different treatment such as icon size.

Bug: 171917176
Change-Id: I325eb39051f2dc69228b39b5c40ed0cbdad8e200
2021-02-01 18:29:06 -08:00
Issei Suzuki d996f1a4bd Merge "Make keyguard exit animation to remote animation." 2021-02-01 16:46:57 +00:00
TreeHugger Robot 1c0b54d284 Merge "Support people search results" into sc-dev am: 80466c081a am: 4d4b64d823
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13438369

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If14643dd9c06f985850cf4dfa197f6767bf4f2c5
2021-01-30 01:14:31 +00:00
TreeHugger Robot 80466c081a Merge "Support people search results" into sc-dev 2021-01-29 23:47:00 +00:00
Tony Wickham 85ca3077ed Merge "Animate taskbar background alpha and visibility alpha" into sc-dev am: 6d46fff269 am: dd1f1b0b08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13438959

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibbd7ca5ef7b54556a755c139aa90be50abcf68a0
2021-01-29 23:29:35 +00:00
Sunny Goyal eb35c797dc Merge "Adding quickstep specific permissions to Launcher" into sc-dev am: 7582ed61eb am: af0431b7e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419225

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie70474cffd3d2b5e7258d4dba3c8a7c85b96cca3
2021-01-29 23:18:26 +00:00
Darryl Johnson 086ad1a70c Merge "Revert "Support people search results"" into sc-dev am: d462965698 am: 63a8cbfe09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13437209

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibd7bbb5fbfe01247927687f3c312493ce09b83ab
2021-01-29 23:16:29 +00:00
Evan Rosky b85136b064 Merge "Map shell transition to recents animation" into sc-dev am: efae829aa5 am: 1803f83e86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13428953

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ief1bde120392cdd035118fb693185f667b4f8c34
2021-01-29 23:16:01 +00:00
Tony Wickham 6d46fff269 Merge "Animate taskbar background alpha and visibility alpha" into sc-dev 2021-01-29 23:03:07 +00:00
Samuel Fufa 1ab83de48e Support people search results
+ Introduce temporary workaround icon loading with URLConnection for play results

Manual: go/search-action-icon

Bug: 177223401
Test: Manual
Change-Id: I3b597faaad38e8cd1419065b80b359720baf52b0
2021-01-29 15:48:08 -06:00
Samuel Fufa 29f5d2ce78 Merge "Support people search results" into sc-dev am: fe5e82dabc am: d3e711ebc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13427050

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia37a14deb36854e9dfba57e884a1fd062920cf0b
2021-01-29 21:45:26 +00:00
Sunny Goyal 7582ed61eb Merge "Adding quickstep specific permissions to Launcher" into sc-dev 2021-01-29 21:42:40 +00:00
Tony Wickham d683d98b34 Animate taskbar background alpha and visibility alpha
Setup codepath to animate the Taskbar when going to and from Launcher,
primarily by listening for pause/resume signals but also hints from
gesture nav and AppToOverviewAnimationProvider.

Additionally, add TaskbarStateHandler to listen for Launcher state
changes if Taskbar is enabled. Combined, the end behavior is:

- Background alpha is 0 when Launcher is resumed, and 1 when Launcher
  is paused (we can make this animation more interesting later).
- Taskbar is always visible when Launcher is paused, otherwise its
  visibility is determined by multiple factors: LauncherState and
  whether the IME is showing.

Bug: 171917176
Change-Id: I7856fc979931c9d12d714dee11d179fd1b5a6968
2021-01-29 21:22:00 +00:00
TreeHugger Robot 6e7d830396 Merge "Check whether the running task view is non null before setting it to be not clickable for live tile" into sc-dev am: 6bdd00fa25 am: 79ead358ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13431431

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id9e4759a14a84ee363771ad93476033054b94d9d
2021-01-29 21:19:10 +00:00
TreeHugger Robot e5393d3192 Merge "Make Thumbnail search result launch intents" into sc-dev am: e3884455fc am: 59933c92b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13426116

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If8b1818db67dfcc449ba05d470754667dfcb9e0d
2021-01-29 21:17:38 +00:00
Darryl Johnson d462965698 Merge "Revert "Support people search results"" into sc-dev 2021-01-29 21:02:07 +00:00
Darryl Johnson 170a6b7b98 Revert "Support people search results"
This reverts commit f28db55c96.

Reason for revert: Possible cause of b/178836393

Change-Id: I0e787f02377a5b8fa723816978c61927af67665a
2021-01-29 20:51:38 +00:00
Evan Rosky efae829aa5 Merge "Map shell transition to recents animation" into sc-dev 2021-01-29 20:47:44 +00:00
TreeHugger Robot a062ebb0aa Merge "Enabling plugins on Launcher debug builds" into sc-dev am: 14faee73e7 am: 8bde56246e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418219

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3f95f79ce2de1ee1083bd98f13eb390eaeff9f35
2021-01-29 20:45:59 +00:00