Commit Graph
49925 Commits
Author SHA1 Message Date
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 4ff4e01423 Merge "Logs stack trace when IME doesn't get attached when all apps swipes up" into sc-dev am: 351aea720f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13443531

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I829b7712a8d01f777e18c605d500e1d80813f5b3
2021-02-03 09:34:28 +00:00
Hyunyoung Song 5f0804940e Merge "Logs stack trace when IME doesn't get attached when all apps swipes up" into sc-dev am: 351aea720f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13443531

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie70eb7c612983e56627bd5e1b67b88104fa0959c
2021-02-03 09:34:28 +00: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
Hyunyoung Song 351aea720f Merge "Logs stack trace when IME doesn't get attached when all apps swipes up" into sc-dev 2021-02-03 08:33:05 +00:00
android-build-team Robot 8fd5968a82 Snap for 7120416 from d0f5aa0dc6 to sc-v2-release
Change-Id: Ib5f1a00c3ba25524ecff4c17ef1400d41ef7f19d
2021-02-03 08:02:36 +00:00
bsears 443288d3d5 Merge "Revert "Make keyguard exit animation to remote animation."" 2021-02-03 06:19:45 +00:00
Hyunyoung Song 50165042ed Logs stack trace when IME doesn't get attached when all apps swipes up
Bug: 178904132
Test: Manual

Change-Id: I3b62a1a8e927ca8bac4db07053f781260fbff515
2021-02-02 21:42:41 -08:00
android-build-team Robot 4755f98061 Snap for 7119974 from d0f5aa0dc6 to sc-release
Change-Id: If799e95374d1e05f7b508dc3da3fb06db11dd317
2021-02-03 02:52:05 +00:00
Schneider Victor-tulias 5a0c4e7906 Merge "Update PreloadIconDrawable colors when an app is not startable." into sc-dev am: d0f5aa0dc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13454926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib56d5af25db79e1e2efe17ff34f594271800a791
2021-02-02 21:51:27 +00:00
Schneider Victor-tulias 422ef8841f Merge "Update PreloadIconDrawable colors when an app is not startable." into sc-dev am: d0f5aa0dc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13454926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4768ffc6c9af32843caf1d176b80ecdca2efc8db
2021-02-02 21:51:18 +00:00
Tracy Zhou 1b58e1061f 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: I7f1ec12f61717251c084b9f124af4929d3a4983d
2021-02-02 21:51:17 +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
Schneider Victor-tulias d0f5aa0dc6 Merge "Update PreloadIconDrawable colors when an app is not startable." into sc-dev 2021-02-02 21:30:15 +00:00
Schneider Victor-tulias 2e292b6343 Update PreloadIconDrawable colors when an app is not startable.
Updated the progress bar and progress track colors when the app is not startable to increase contrast.

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

Test: manual

Bug: 171005849

Change-Id: I97bc4e3299108b1e8ef47b498fb3431293f57ad2
2021-02-02 21:30:05 +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 dd76ad617e 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: I8f89de9f49a7a8f3843dd5e29443a09e7a6d5187
2021-02-02 15:50:55 +00: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
Andy Wickham 5d780ccb7b Merge "Allows a plugin Settings activity to designate plugins it supports." into sc-dev am: ad1d1cfda0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452494

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I402dc2f24e990891b3bdfea48e3e332b2e4ec071
2021-02-02 09:30:55 +00:00
Andy Wickham 9c5ccc42da Merge "Allows a plugin Settings activity to designate plugins it supports." into sc-dev am: ad1d1cfda0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452494

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic3a7da84ed262bd9d860328a5d93eecd23823fbe
2021-02-02 09:29:01 +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
Andy Wickham ad1d1cfda0 Merge "Allows a plugin Settings activity to designate plugins it supports." into sc-dev 2021-02-02 08:57:51 +00: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 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
android-build-team Robot b7841f74be Snap for 7117025 from 5f7f4cb35d to sc-v2-release
Change-Id: Ic2f2eed84d25f521b42b21e60ce0705ac8ba8807
2021-02-02 02:07:28 +00:00
android-build-team Robot 52bb022b43 Snap for 7117025 from 5f7f4cb35d to sc-release
Change-Id: I56b74c2fb9c47b25834c05049fa0d314cedc9f51
2021-02-02 02:07:27 +00:00
Schneider Victor-tulias 0f0a547520 State download information in content description whether or not there was an update. am: 5f7f4cb35d am: 53fc67d381
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452996

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I369fd2715a21fc7c5dee436c19b57d76bb062f5b
2021-02-02 01:25:38 +00:00
Schneider Victor-tulias 53fc67d381 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: I597d54c8115c1851b2ff5f8192a0a8d0c5f89d45
2021-02-02 00:30:26 +00: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
Andy Wickham 2b14f4bfd4 Allows a plugin Settings activity to designate plugins it supports.
The activity can add categories to its intent filter which
match the actions of the plugins it supports. The Settings
icon is only shown next to these plugins.

This is useful if an app (e.g. SupportApp) implements
multiple plugins which may each want their own settings.

Note: If any settings activity in an app specifies
categories of plugin it supports, any other settings
activities in the same app must also provide categories
of their plugins to disambiguate.

Test: Manually with SupportApp (including mix of plugins
with and without Settings activities) and AwarenessSpace
plugin (with a non-categorized settings activity).

Change-Id: If3ab7b5f7f916fd3f6b05b89cf1a22c9d21403cc
2021-02-01 15:57:00 -08: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
Issei Suzuki d996f1a4bd Merge "Make keyguard exit animation to remote animation." 2021-02-01 16:46:57 +00:00
Ice Chang 0bca29242b [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: 5d9fad03b9 -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: I3520bb62e2d02cdf12be00b91dfb01343d139ac6
2021-02-01 05:03:44 +00:00
Ice Chang 5d9fad03b9 [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: Ie9084573930ce216af3ce7627d840a9939b999a2
2021-02-01 04:45:00 +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
android-build-team Robot 87f6ffa0c0 Snap for 7112378 from 80466c081a to sc-v2-release
Change-Id: I084c50a5bfa1e713e5f2d2d83dc3ff25b776d3df
2021-01-30 02:07:18 +00:00
android-build-team Robot b11a3d75b6 Snap for 7112378 from 80466c081a to sc-release
Change-Id: I44f75b25594ccd7afd8551e765f1901c209eb90b
2021-01-30 02:07:04 +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