Commit Graph
30786 Commits
Author SHA1 Message Date
Tony Wickham bf0eb56fbb 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: I3c47605c84ca7816b5c469a3dff31baf7f647d63
2021-02-02 05:32:50 +00:00
Tony Wickham 84c6c63647 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: I8cf307cd734b36889ff1d1e99c28bca8bbbcaa73
2021-02-02 05:32:49 +00:00
Tony Wickham adfc5244e6 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: I8a38f113d951443b0bec7f07fc3a6c2939b3c7f7
2021-02-02 05:32:48 +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
Schneider Victor-tulias 004c277f29 State download information in content description whether or not there was an update. am: 5f7f4cb35d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452996

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I194e1cfe72f72d225bf4f0e88cd130e94968fe90
2021-02-02 00:28:55 +00:00
Schneider Victor-tulias 5f7f4cb35d State download information in content description whether or not there was an update.
Talkback wasn't announcing the incremental download/install progress if the progress wasn't updated. Updated BubbleTextView to update the content description with the incremental download/install info if the progress bar should be shown.

Fixes: 149444435

Test: manual
Change-Id: I3efe6e31cec389da4119a2179a341aedd074a0b7
2021-02-01 19:01:11 +00:00
Ice Chang a7a56312a7 [automerger skipped] Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-qpr-dev-plus-aosp am: e8cc8d5398 -s ours am: b4ed522ee1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13400935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4dd97127fe14f7466c332ec3101da36d6d333152
2021-02-01 04:44:53 +00:00
Ice Chang b4ed522ee1 [automerger skipped] Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-qpr-dev-plus-aosp am: e8cc8d5398 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13400935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2bb104ac82c4b500ee5f65cf637c593a02b79613
2021-02-01 04:11:29 +00:00
Ice Chang e8cc8d5398 Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-qpr-dev-plus-aosp 2021-02-01 03:31:11 +00:00
TreeHugger Robot 7e46ab707f Merge "Support people search results" into sc-dev am: 80466c081a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13438369

MUST ONLY BE SUBMITTED BY AUTOMERGER

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifa62a5282e2c4d6bdfb5a2c6f3480f0fbbc8ebf9
2021-01-29 23:20:10 +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
Sunny Goyal 6fd5ab4c36 Merge "Adding quickstep specific permissions to Launcher" into sc-dev am: 7582ed61eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419225

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa9abe17fdb27e5b352b0eceec53af14ecf49e81
2021-01-29 21:47:19 +00:00
Darryl Johnson de99cc6727 Merge "Revert "Support people search results"" into sc-dev am: d462965698
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13437209

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I07a66a61ed6d85d3564ec571a47095a575e1dd4c
2021-01-29 21:45:35 +00:00
Evan Rosky c78ba10bd9 Merge "Map shell transition to recents animation" into sc-dev am: efae829aa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13428953

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I652d9de15ff877762c6fc2a6ce1d15e792be1c3b
2021-01-29 21:43:35 +00:00
Samuel Fufa fe36aef444 Merge "Support people search results" into sc-dev am: fe5e82dabc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13427050

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d5352a95922bc9e131a70bad48ceca5cd0e0bb3
2021-01-29 21:43:22 +00:00
TreeHugger Robot fc2b684b57 Merge "Fix incorrect launcher loading." into sc-dev am: 26801f802e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13430825

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib2b9417348434ddf0c8d41875431df9cbcdf2db5
2021-01-29 21:43:17 +00:00
Jonathan Miranda ad0fda2125 Merge "Update FloatingIconView to display PreloadIconDrawables during swipe home animations." into sc-dev am: 0225efac15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419587

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I178b0a0d0ebb418841dabf90534633abaae64bf6
2021-01-29 21:43:11 +00:00
Sunny Goyal 7582ed61eb Merge "Adding quickstep specific permissions to Launcher" into sc-dev 2021-01-29 21:42:40 +00:00
TreeHugger Robot 91c58f7327 Merge "Fix launcher flicker when unlocking on seascape." into sc-dev am: 83cdd1e857
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13430681

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id857eec9885563dd75a59f5f95675776c46dfe46
2021-01-29 21:38:55 +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 6da7bc469d 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
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13431431

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie8a2934bb5329c42fc8f5078d3deaa3d27fd2217
2021-01-29 21:11:40 +00:00
Darryl Johnson d462965698 Merge "Revert "Support people search results"" into sc-dev 2021-01-29 21:02:07 +00:00
TreeHugger Robot 6452adaab2 Merge "Make Thumbnail search result launch intents" into sc-dev am: e3884455fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13426116

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7e54d5a41dca5f3d846565257643e5b3b0256369
2021-01-29 21:00:13 +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
Samuel Fufa fe5e82dabc Merge "Support people search results" into sc-dev 2021-01-29 20:01:31 +00:00
Samuel Fufa f28db55c96 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: Ie8e7963447640d98abb9830ec05f26b28ec58345
2021-01-29 12:49:12 -06:00
TreeHugger Robot 26801f802e Merge "Fix incorrect launcher loading." into sc-dev 2021-01-29 18:13:02 +00:00
Jonathan Miranda 0225efac15 Merge "Update FloatingIconView to display PreloadIconDrawables during swipe home animations." into sc-dev 2021-01-29 13:48:26 +00:00
TreeHugger Robot 83cdd1e857 Merge "Fix launcher flicker when unlocking on seascape." into sc-dev 2021-01-29 02:55:49 +00:00
TreeHugger Robot 6bdd00fa25 Merge "Check whether the running task view is non null before setting it to be not clickable for live tile" into sc-dev 2021-01-29 02:21:57 +00:00
TreeHugger Robot e3884455fc Merge "Make Thumbnail search result launch intents" into sc-dev 2021-01-29 01:37:48 +00:00
Schneider Victor-tulias 954bb63899 Fix launcher flicker when unlocking on seascape.
Test: manual

Fixes: 160544577

Launcher flickers if it is locked on portrait, then unlocked on seascape. DisplayController.Info was consistenly being updated late causing launcher to unlock in lanscape then switching to seascape with enough frames in-between for the user to notice. Updated DisplayController to properly update its rotation info and updated DeviceProfile to force an info update when checking if the device is in seascape orientation.

demo: https://drive.google.com/file/d/1JBCvK3brLwOSTC4k56GSxeYozl5x0k7X/view?usp=sharing
Change-Id: Idce139f0e16cb686684c0d3a460c4ec9e5ae466a
2021-01-29 01:02:21 +00:00
Schneider Victor-tulias b40b98db3a Update FloatingIconView to display PreloadIconDrawables during swipe home animations.
Swiping up to go home on an app that is downloading incrementally would cause a jittery animation. Updated FloatingIconView to animate directly to a PreloadIconDrawable.

Demo: https://drive.google.com/file/d/1ddr8OGR4c1ZneyQ0VkkAAxGpwNcP8Wyn/view?usp=sharing

Fixes: 177685929

Test: manual
Change-Id: I4cd2daa18f6d3fed42a9b666063e0b1c1c46e5d9
(cherry picked from commit b8cab8d878)
2021-01-29 01:00:07 +00:00
Tracy Zhou d9b6d6a86f Check whether the running task view is non null before setting it to be not clickable for live tile
Fixes: 178746755
Test: N/A
Change-Id: Ia8d8bc48a31e4d1babcb948bb27717d14cdb1247
2021-01-28 16:19:25 -08:00
TreeHugger Robot 5845dbbdd0 Merge "Enabling plugins on Launcher debug builds" into sc-dev am: 14faee73e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418219

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I23ee265117ca1a4d324a3c0691657bca023e1f5c
2021-01-28 22:45:15 +00:00
Hyunyoung Song 056b648136 Merge "Fix persistent device search edu" into sc-dev am: 564ae64e04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419784

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I27875b91cb1928b5bba0f4ed537e7cf1c23d0c16
2021-01-28 22:43:27 +00:00
TreeHugger Robot 14faee73e7 Merge "Enabling plugins on Launcher debug builds" into sc-dev 2021-01-28 22:37:06 +00:00
Hyunyoung Song 564ae64e04 Merge "Fix persistent device search edu" into sc-dev 2021-01-28 22:24:47 +00:00
Schneider Victor-tulias 78fb71458f Fix incorrect launcher loading.
Apps that were installed and downloading incrementally would be shown as fully downloaded on reboot. Updated LoaderTask and AppInfo.updateRuntimeFlagsForActivityTarget to account for this.

Fixes: 178528867

Test: manual with hardcoded values

Change-Id: I088e43ae886b4157bad9f4fa8d40373cf7f8235a
(cherry picked from commit 6d0fec8ac7)
2021-01-28 22:21:08 +00:00
TreeHugger Robot 180cd7aa9c Merge "Refactoring startShareActivity to allow crop to be passed in." into sc-dev am: 6a53655df5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420561

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id76b55a007317b0815f7edb7d7daa931f951fc4e
2021-01-28 20:44:17 +00:00
TreeHugger Robot 6a53655df5 Merge "Refactoring startShareActivity to allow crop to be passed in." into sc-dev 2021-01-28 19:28:14 +00:00
TreeHugger Robot d748049ab1 Merge "Skipping swipe metrics if recents view doesn't exist" into sc-dev am: 61096e9ba6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13422838

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4f2b7ec5b920c0646506040ffb79d8355bae1f6
2021-01-28 19:01:25 +00:00
TreeHugger Robot 61096e9ba6 Merge "Skipping swipe metrics if recents view doesn't exist" into sc-dev 2021-01-28 18:51:58 +00:00
TreeHugger Robot 903d8c0fd6 Merge "Updating ItemInfoMatcher to work with java streams" into sc-dev am: 7e27c18755
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420186

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iebef3d4b33135e7c3bf51a905ec49aede1b0afa7
2021-01-28 18:33:05 +00:00