Commit Graph

49755 Commits

Author SHA1 Message Date
Bill Yi 227cd9a8ff [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: df817cd6b3 -s ours am: cc8db7a2c2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4e06e170acfc3f55d227dbd6257f21d09e3ad502
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-23 02:37:28 +00:00
Bill Yi ac3c6b6113 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 65bab4af80 -s ours am: 1d8fe2f973 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6abaebbee7ad3f170b88312a8f8b9d09f734d5a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-23 02:37:08 +00:00
Bill Yi 0b0c50c1a8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 052b8655ef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9c0636ffd045e7798d187fa84feceb76a2328130
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-23 02:34:59 +00:00
TreeHugger Robot a5a8125cd4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: eb47e42077 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0fe9acfc41412db7ecfbf7372f4270fea17c61c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-23 02:30:21 +00:00
Bill Yi cc8db7a2c2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: df817cd6b3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idba78b7428b377deb938f252ca5a73286a1579f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-23 02:30:02 +00:00
Bill Yi 1d8fe2f973 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 65bab4af80 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92fb4b02509b82486d88a19a2a3939dec64bdd8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-23 02:29:43 +00:00
TreeHugger Robot eb47e42077 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-07-23 01:56:10 +00:00
Grace 170911d823 Create Flag for Region Sampling in Smartspace
This change adds a feature flag to control region sampling for
the homescreen smartspace. The flag helps developers toggle the
feature on and off during debugging.

Bug: 202758428
Test: N/A
Change-Id: I99e795408f5550b4a535ef181744f029e09c4436
2022-07-22 19:58:00 +00:00
Jeremy Sim 3430f7ade1 Merge "Remove unused TaskOutlineProvider from TaskView class" into tm-qpr-dev 2022-07-22 18:20:44 +00:00
Pat Manning d5e7ad4ae9 Set overview progress on fling to 1 only if going to overview state.
Test: manual
Bug: 202826469
Change-Id: I328577653d26c74de7d82149b2a393674a09561a
2022-07-22 15:35:59 +01:00
Ming-Shin Lu 30f891b014 Don't crop task with RemoteAnimaionTarget#contentInsets
..when willShowImeOnTarget is true, in case the task surface cropped by
the task bar insets since the task bar will end up stashed by IME
visible.

Bug: 219981732
Test: manual as steps
 0) enable taskbar with Settings > Developer options > Smallest width
    as 600dp.
 1) launch an app from all apps and show the IME by tapping the
    editor.
 2) swipe out to home and launch it again by pressing the shortcut.
 3) Verify the animating task preview with IME shown without being
    cropped.

Change-Id: I8d802887bd382a7d6f6429e269501c924e81c51b
2022-07-22 13:09:22 +00:00
Jeremy Sim e5ba8fa7a5 Update animations for TM-QPR: OverviewSplitSelect > Home transition
The animation from OverviewSplitSelect to Home is now updated to the latest spec. See bug for details.
- New timings
- FloatingTaskView now translates out, instead of fading
- FloatingTaskView and SplitInstructionsView now disappear concurrently with the rest of Overview, instead of afterward

Fixes: 236761067
Test: Manual on tablet and phone
Change-Id: Iaa1c804a60859232f331950098b67968cc187e82
2022-07-21 20:46:43 -07:00
Bill Yi 052b8655ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d35f8772e4cd0cea692db9beba6fd29e0f5823b
2022-07-21 20:04:55 -07:00
Bill Yi 840f00f057 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b81474441d4a1f265427d53c47aefe0826150e1
2022-07-21 20:04:18 -07:00
Bill Yi df817cd6b3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I286bba7ac05f546c9275b865e93f59ad5b12d803
2022-07-21 20:03:40 -07:00
Bill Yi c3e0a4b963 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib42c3bf46341462f15fc15efa34a57944bcfcede
2022-07-21 20:01:58 -07:00
Bill Yi 65bab4af80 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id39a488b29d29290ea7b3471262723b0071363ab
2022-07-21 20:01:29 -07:00
Bill Yi 68d305ec3c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I41d6f8a697f63784c8b5505efc5b981ebdcf4783
2022-07-21 20:00:05 -07:00
Bill Yi d74259083c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I16782934b76dd2d271cf0c56b403a7bfae33798e
2022-07-21 19:59:32 -07:00
Hyunyoung Song d963c70df3 Merge "Move hideKeyboard call to end of the all apps transition controller animation" into tm-qpr-dev 2022-07-21 20:29:56 +00:00
Schneider Victor-tulias 9592fbe8a8 Pause the AllSetActivity background animation more reliably. am: f016c44adc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19360020

Change-Id: I4559642ea0fe0991c3d85de35e54bb81a34a0d13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 18:18:14 +00:00
Pat Manning 8dc998deae Merge "Set drop target font weight to medium." into tm-qpr-dev 2022-07-21 15:39:46 +00:00
Tony Wickham 355b66d1ab Hide the task icon during quick switch from home
Test: manual
Fixes: 238753582
Change-Id: Ic1badf4479c5273fd4d182ef7da04797885a6a36
2022-07-20 15:29:24 -07:00
Schneider Victor-tulias f016c44adc Pause the AllSetActivity background animation more reliably.
- Pause the animation when the alpha <= 0.1f, rather than 0f
- Pause the animation when the AllSetActivity pauses
- Do not vibrate if the AllSetActivity is not resumed

Bug: 236924895
Test: manually launched AllSetActivity and swiped up at various speeds
Change-Id: I1019f680730cfc72e9ad305d7ae09cff8a1637be
(cherry picked from commit 5f6b07d31c)
2022-07-20 19:03:09 +00:00
Pinyao Ting 033f8df497 Merge "Include additional logs for widget removal" into tm-qpr-dev 2022-07-20 17:11:25 +00:00
TreeHugger Robot 2f9c03dd85 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: e774290ed8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0726ace741dff15c528fdb6b56f82dd02980dd74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-20 16:34:12 +00:00
Bill Yi dae033fd91 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9870f0daf5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I68872c36a3ca97b1ae5e59679fd27d7a20068f60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-20 16:33:52 +00:00
Bill Yi b85d2407ec [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1af69afde2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8f60a6fc742721c917021b93cc6f9cdf22b5a049
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-20 16:33:32 +00:00
TreeHugger Robot e774290ed8 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-20 15:54:37 +00:00
Pat Manning 0b16bba93a Set drop target font weight to medium.
Bug: 235886741
Test: manual.
Change-Id: Ie5b3f4159dee7e2eb8e614a15b57a0929f8eae71
2022-07-20 11:28:36 +01:00
hyunyoungs eef16895a6 Move hideKeyboard call to end of the all apps transition controller animation
Bug: 236685775
Bug: 235951830

Test: manual
Change-Id: Iae808a82eb4a10a554aef1cb5d87fc806efb0279
2022-07-20 00:21:03 -07:00
Ming-Shin Lu 4a48cf7827 Remove hideCurrentInputMethod from RecentsAnimationController
Since CL[1] migrate hide IME logic when quick switching split-screen
task to InputMonitor.

As a result, remove unused API since it would be no longer to
expose hideCurrentInputMethod for launcher to handle gesture.

[1]: Ibfcd48e623336c4690b71c4db0ce1ad8f5b26fc9

Bug: 166736352
Bug: 193990612

Test: manual test as steps
1) launch any apps with focusing an editor
2) from overview, select any app to enter split-screen mode
3) taping the editor to show the keyboard
4) swipe up to overview or quick switch app tasks
5) expect the keyboard will be hidden when starting the gesture.

Change-Id: I76b93af015db098e836795f72f31b663238d9a47
2022-07-20 00:15:53 +00:00
Jeremy Sim e174143358 Merge "Fix small bug with Overview action button placement" into tm-qpr-dev 2022-07-19 23:29:32 +00:00
Andy Wickham a2e9ce3b68 Merge "Notifies All Apps header when profile tab switches." into tm-qpr-dev 2022-07-19 23:22:51 +00:00
Jeremy Sim 90d29d2837 Remove unused TaskOutlineProvider from TaskView class
This change removes the custom TaskOutlineProvider class defined in TaskView. It appears to be serving no purpose currently, and is causing an issue with shadows on split tiles.

Fixes: 208650434
Test: Deployed change on local device. Observed no more shadows on split tiles, and all corners and outlines still seem to be functioning correctly.
Change-Id: I7e56401ccabcd19e598726cca5cf721a22c0d982
2022-07-19 16:20:41 -07:00
Sunny Goyal ced159075c Fixing surface blur when using multiple surfaces
Separating the depth controller logic into a base
class so that different controllers can be used
for different surfaces

Bug: 236780815
Test: Verified locally
Change-Id: I2bd7ed50438453d6e41c73c8001a0d6a73091653
2022-07-19 16:06:34 -07:00
Pinyao Ting 415740978b Include additional logs for widget removal
It isn't clear what causes widgets to be removed when restoring on a new
device. This CL included additional error message, which hopefully would
reveal the root cause.

Bug: 235923862
Test: manual
Change-Id: I8601d8fe598072dc9def0549796d1e527e167e23
2022-07-19 14:43:32 -07:00
Bill Yi 9870f0daf5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8ecfe4804f27600bc580d0b963a4ab890797f6ab
2022-07-19 13:34:57 -07:00
Bill Yi 1af69afde2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idebfc4f59f05055792b26f034f1d918d0547e851
2022-07-19 13:34:17 -07:00
Tracy Zhou 3e64f94387 Merge "Add splitFromOverviewForTablet test" into tm-qpr-dev 2022-07-19 19:06:47 +00:00
Schneider Victor-tulias 3f6c473164 Fade out the taskbar icons when animating to overview in 3 button nav.
Bug: 231213105
Test: from home, opened recents, then went back home, then went back to recents, resumed an app, then went back to recents and resumed the same app (both in 3-button and gesture nav)

Change-Id: I83b1b33cafb95353f36a126b93fcaf3b536d3bf4
2022-07-19 11:35:37 -07:00
Sebastián Franco df1c1c84b5 Merge "Adding test for the Widgets reordering." into tm-qpr-dev 2022-07-19 16:36:31 +00:00
Alex Chau 69a83d0d00 Merge "Use collapse handle area height to calculate QSB margin on tablet" into tm-qpr-dev 2022-07-19 16:14:03 +00:00
Pat Manning 01a7bcc665 Merge "Move BaseActivityInterface task size methods to DeviceProfile." into tm-qpr-dev 2022-07-19 10:31:51 +00:00
Tracy Zhou 86a844c976 Add splitFromOverviewForTablet test
Design doc: go/split_tapl

Bug: 238553914
Test: run this test

Change-Id: Ibb385d852f73dee10470d14c4962cf482740105d
2022-07-19 01:57:35 +00:00
Jeremy Sim d97cf8ad6e Fix small bug with Overview action button placement
Overview actions will now be centered properly when 3-button nav is active on tablets in landscape.

On most tablet and foldable screens, we shift the Overview action buttons left to accommodate when 3-button nav is active. The only exception is large-screen tablets in landscape orientation, where there is enough room to center them. This patch adds a conditional for that case.

Fixes: 239247432
Test: Manual
Change-Id: I96f9d5e428273b0611463a1f0f5898910eefe5ce
2022-07-18 23:22:21 +00:00
Sunny Goyal 7dcc9831e2 Merge "Removing unnecessary work adapter wrapper" into tm-qpr-dev 2022-07-18 21:12:04 +00:00
TreeHugger Robot aac6bbf6fd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 733881a91d -s ours am: e744d500ea -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ieb19b068b29fe20a86e8239aa44c26696b9c47f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 20:06:12 +00:00
Bill Yi 2c9b40d144 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 744cf122ba -s ours am: bee8b97cf0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9a1d64544325cd0af6144622e42afd994542f7bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 20:06:06 +00:00
TreeHugger Robot ab0a97466c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 6ddfcdd15a -s ours am: 4b6a55aa5c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic49219de04db82f9e833ba14073f29bfe7c32c5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 20:05:58 +00:00