Commit Graph
30911 Commits
Author SHA1 Message Date
android-build-team Robot 1e95ebfd26 Snap for 7129631 from a47a1c4509 to tm-release
Change-Id: Ie8d8389fb2c51bdf86feba81283206600d18d834
2021-02-07 02:07:13 +00:00
android-build-team Robot aa92e828d2 Snap for 7128347 from 2bcf753745 to tm-release
Change-Id: Icade7fe35593fbbd2a2992db124b08309f3eb3ae
2021-02-06 04:07:25 +00:00
Sunny Goyal a47a1c4509 Merge "Adding support for keyboard based drag and drop" into sc-dev am: 3186fbaed4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13460194

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I19bcb2bf7a074d3ed1f6a4c5f539f2d3afdf034b
2021-02-06 03:44:48 +00:00
TreeHugger Robot 84947738f2 Merge "Catching generic app start exceptions in ProxyActivity" into sc-dev am: a693baa663
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13439497

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idd10a59218fec2a46d8f2ffe5b910170470bcddc
2021-02-06 03:44:13 +00:00
Sunny Goyal 3186fbaed4 Merge "Adding support for keyboard based drag and drop" into sc-dev 2021-02-06 02:55:06 +00:00
TreeHugger Robot a693baa663 Merge "Catching generic app start exceptions in ProxyActivity" into sc-dev 2021-02-06 02:53:14 +00:00
TreeHugger Robot 6a7a476d54 Merge changes I9ccb4335,I0d2f9be8 into sc-dev am: 9165c00438
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13487408

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9d4a8ecadf0dfac669c8448426781f623e710f71
2021-02-06 02:18:58 +00:00
TreeHugger Robot 9165c00438 Merge changes I9ccb4335,I0d2f9be8 into sc-dev
* changes:
  Add OnComputeInsetsListener to TaskbarContainerView
  Use SYSTEM_APPLICATION_OVERLAY instead of SYSTEM_ALERT_WINDOW for Taskbar
2021-02-06 01:54:37 +00:00
Sunny Goyal a4647b681f Adding support for keyboard based drag and drop
For keyboard DnD, we use Accessible DnD implementation.
A placeholder FloatingView draws the focus indicator
for the virtual views

Test: Visible
Bug: 178781566
Change-Id: I632fc7377dffa1e05e3f0a9c3ad18641deb5a1a4
2021-02-05 13:05:24 -08:00
TreeHugger Robot 2bcf753745 Merge "Postponing registering widget listener" into sc-dev am: 1508e062e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475349

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idc2968f72257f62b1c728b087b38e926145de763
2021-02-05 20:20:16 +00:00
TreeHugger Robot 1508e062e8 Merge "Postponing registering widget listener" into sc-dev 2021-02-05 19:23:29 +00:00
Thiru Ramasamy 44691c488d Merge "[AA+] Add LAUNCHER_ALLAPPS_ENTRY, LAUNCHER_ALLAPPS_EXIT events." into sc-dev am: 67171e2335
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463978

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I154fa59e8bc8999395b76fa925f7acb04ec3dd65
2021-02-05 18:51:50 +00:00
Lucas Dupin 6817c5db59 Merge "Style updates" into sc-dev am: 468646cad7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13486553

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3568c15be8920a64f8a422e463c81f9b8b59ceba
2021-02-05 18:50:57 +00:00
Thiru Ramasamy 67171e2335 Merge "[AA+] Add LAUNCHER_ALLAPPS_ENTRY, LAUNCHER_ALLAPPS_EXIT events." into sc-dev 2021-02-05 18:48:24 +00:00
Lucas Dupin 468646cad7 Merge "Style updates" into sc-dev 2021-02-05 17:57:20 +00:00
Samuel Fufa db01293e35 Merge "Only show OOBE once" into sc-dev am: 0569375610
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13484806

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I32c49e53076792a14dd64652254204eda533e1d4
2021-02-05 17:07:22 +00:00
Tony Wickham 734be0b5ae Add OnComputeInsetsListener to TaskbarContainerView
Instead of updating visibility of TaskbarContainerView, keep it
VISIBLE but with alpha 0, and update touchableInsets to allow
touches to pass through. This avoids sending insets changed
when Taskbar is hidden.

Test: Swipe to Overview, no jumping/jank due to insets change;
also tap where Taskbar would be and ensure it doesn't launch

Bug: 171917176
Change-Id: I9ccb4335e0301f34eec459657f3bbaf88b0d8a52
2021-02-05 08:51:42 -08:00
Samuel Fufa 0569375610 Merge "Only show OOBE once" into sc-dev 2021-02-05 16:40:31 +00:00
Issei Suzuki 93479c909a Merge "Make keyguard exit animation to remote animation." into sc-dev am: d5c8bd8c0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13483047

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id9b8e67ed9a2f49f63fbb346453e06036e410e08
2021-02-05 15:47:51 +00:00
Issei Suzuki d5c8bd8c0b Merge "Make keyguard exit animation to remote animation." into sc-dev 2021-02-05 15:05:03 +00:00
Issei Suzuki 192f662963 Make keyguard exit animation to remote animation.
The change is disabled by default. To enable remote animation, one needs
to set a property and to restart the WMS.

% adb root
% adb shell setprop persist.wm.enable_remote_keyguard_animation 1
% adb reboot

Test: Existing tests pass.
Bug: 175686676
Bug: 179122467
Exempt-From-Owner-Approval: The owner already gave +2 on the exactly same CL.
Change-Id: I3054ce4bbb296f09ab8bc12595f2ad17b32db7b4
2021-02-05 15:00:46 +00:00
android-build-team Robot e0bfcf85ea Snap for 7125416 from b02bf7e15b to tm-release
Change-Id: Id0b9b4e32fe570dff6aab130ad8c8c047893698b
2021-02-05 04:07:11 +00:00
Andy Wickham d79ef26cdb Creates BcSmartspaceDataPlugin interface to provide mock data to BC Smartspace. am: 350e1dbb0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13464464

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id8b1cc735451b913415d2b6f38f699e5f841639a
2021-02-05 03:37:14 +00:00
Andy Wickham 350e1dbb0f Creates BcSmartspaceDataPlugin interface to provide mock data to BC Smartspace.
Bug: 178536734
Test: Manually using implementation in SupportApp
Change-Id: Ia1cfbbf2944ca5f92e9e7144076eb15878e164d1
Merged-In: Ia1cfbbf2944ca5f92e9e7144076eb15878e164d1
2021-02-05 01:37:48 +00:00
Lucas Dupin 993fed2346 Style updates
- Make pop ups use system colors
- Text colors in dark theme should also use system colors

Test: visual
Bug: 179427049
Change-Id: I9c0eb2b6970ff9bf66fe1d5c0040b10bfa2087b0
2021-02-04 17:16:08 -08:00
thiruram 4fc871f977 [AA+] Add LAUNCHER_ALLAPPS_ENTRY, LAUNCHER_ALLAPPS_EXIT events.
This would help us to define clear start and end events for AllApps sessions on the server side.

Bug: 178562918
Change-Id: I77f236c9bc1a21e868545b1309e47d91d6fc1d96
2021-02-04 16:48:07 -08:00
Sunny Goyal b02bf7e15b Merge "Moving slice loading on a background thread" into sc-dev am: b0bff050f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13473795

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I025fc20f5fe66b8ab3c4cab57ca6fdbc2ad97f30
2021-02-04 23:55:06 +00:00
Sunny Goyal b0bff050f2 Merge "Moving slice loading on a background thread" into sc-dev 2021-02-04 23:29:42 +00:00
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
Sunny Goyal 79e52fc23b Moving slice loading on a background thread
> Also fixing slice icon loading, such that the request is cancelled
  if views are recycled quickly
> Loading widget label on dg thread and cancelling request if views
  are recycled quickly.

Bug: 179068415
Test: verified locally
Change-Id: Id5a524e2bf596862330a8170394aef9ffd708544
2021-02-04 13:03:33 -08: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
Samuel Fufa 3a39b56434 Only show OOBE once
Bug: 179333425
Test: Manual
Change-Id: I23de8fffa31ae06b0f4feccfb75144c7c55143c2
2021-02-04 13:06:38 -06:00
Schneider Victor-tulias 8914f1dcc2 Merge "Fix icon flicker on transition from installing, to installed, to downloading incrementally." into sc-dev am: 2fd2694b9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475165

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1102de2535c89ce5cede92a7a6fe57036469910d
2021-02-04 18:43:45 +00:00
Schneider Victor-tulias 2fd2694b9c Merge "Fix icon flicker on transition from installing, to installed, to downloading incrementally." into sc-dev 2021-02-04 18:19:08 +00:00
Tony Wickham 63fc59b801 Use SYSTEM_APPLICATION_OVERLAY instead of SYSTEM_ALERT_WINDOW for Taskbar
Test: Taskbar still shows up and works, can't hide it from Settings
Bug: 169054709
Change-Id: I0d2f9be8a0af2242472d8406bbc31a6aecaa9285
2021-02-04 10:07:59 -08:00
Alex Chau edfb09bab3 Ensure isTablet is only enable when simulated landscape is disabled am: 4e2c25a788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13472281

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9dd014c00a00602453327fe656f2fbd9f0685d0e
2021-02-04 11:44:13 +00:00
Alex Chau 4e2c25a788 Ensure isTablet is only enable when simulated landscape is disabled
- Tablet UI (e.g. grid overview and two panel workspace) is built with assumption that simulated landscape is disabled, make sure this is the case in DeviceProfile
- This is usually true as swDPs is generally smaller than sw used to determine xml files

Bug: 174464656
Test: Try different combination of smallest width and Display Size, isTablet is only set when allow_rotation is true
Change-Id: I3ee1c76909f29b6f14c4032be812bb8c9ea7e827
2021-02-04 11:24:06 +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
android-build-team Robot 9300d41a39 Snap for 7122589 from 95e38a3373 to tm-release
Change-Id: If08ead484cdb5df77278be5c99503070c6ede64d
2021-02-04 04:07:34 +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
Schneider Victor-tulias 1b4d5034fb Fix icon flicker on transition from installing, to installed, to downloading incrementally.
When an app finished downloading, we assumed that its progress level was 100%. This caused flicker in apps that supported incremental downloads. Added a check for the total download progress on app installation.

demo: https://drive.google.com/file/d/11NwwhHj_4rmDFwpsb8gTX-uA5YSinjSj/view?usp=sharing

Fixes: 178745816

Test: manual

Change-Id: I08328296db2ce2c2242fc4fe87158ff4b911c659
2021-02-03 16:39:16 -08:00
vadimt 04ebcf4686 Postponing registering widget listener
For the swipe-to-home gesture, the call will happen
after the animation.

This fixes jank during swiping up from an ap
to home.

Also renaming some methods for clarity.

Bug: 175048504, 173072373
Test: tracing
Change-Id: I070b23edb633d2ac0985d5eb9f75c789f8569772
2021-02-03 23:37:53 +00: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