Jeremy Sim
80cb20a307
Merge "Remove unused TaskOutlineProvider from TaskView class" into tm-qpr-dev am: 3430f7ade1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19348203
Change-Id: Ie96f3301a8f79398b53ae191a07e3388bb57e933
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-22 18:34:21 +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
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
Bill Yi
6b22fda8ef
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ie90b213d29903c90bb50f7efb36e1f9df9b33a21
2022-07-21 19:58:58 -07: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
Ming-Shin Lu
84539d4142
Remove hideCurrentInputMethod from RecentsAnimationController am: 4a48cf7827 am: 8d7527715a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19341387
Change-Id: I103d037cda70db55003ac513ae2299363d5ea664
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-20 16:48:57 +00:00
Ming-Shin Lu
8d7527715a
Remove hideCurrentInputMethod from RecentsAnimationController am: 4a48cf7827
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19341387
Change-Id: I57b020f6511fd6a69a79914d6e3dcd58ca729044
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-20 16:35:12 +00: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
4776d2e094
Merge "Fix small bug with Overview action button placement" into tm-qpr-dev am: e174143358 am: f853e1a826
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19292689
Change-Id: If8a12f9deb2fed17d26031d3b0bc7e898da6adf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-20 00:05:00 +00:00
Jeremy Sim
f853e1a826
Merge "Fix small bug with Overview action button placement" into tm-qpr-dev am: e174143358
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19292689
Change-Id: I4be792a4cf0e886fb2575ed1990216e9b0f8ac0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 23:45: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
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
Tracy Zhou
efdf9cb0d7
Merge "Add splitFromOverviewForTablet test" into tm-qpr-dev am: 3e64f94387 am: 3d3104179c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19231730
Change-Id: Ib0b1991bf08232fe91bda8ac2c4e19a25c3e6765
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 21:17:10 +00: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
Pat Manning
762a930942
Merge "Move BaseActivityInterface task size methods to DeviceProfile." into tm-qpr-dev am: 01a7bcc665 am: 80cb0fa02b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19279487
Change-Id: I4c0f8cb53bade850f1beddda1efc943a1064c69d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 20:24:05 +00:00
Tracy Zhou
3d3104179c
Merge "Add splitFromOverviewForTablet test" into tm-qpr-dev am: 3e64f94387
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19231730
Change-Id: Ie9c4b49b160ed3665fbcd4bbbf4dced616e4da36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 19:34:50 +00: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
Pat Manning
80cb0fa02b
Merge "Move BaseActivityInterface task size methods to DeviceProfile." into tm-qpr-dev am: 01a7bcc665
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19279487
Change-Id: Ibf5b716841c4198b86a15d20bde850231b3825a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 11:02:14 +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
Ivan Chiang
dead136f5f
Add attributionTag to audit data access
...
ActivityTaskManager#requestAssistDataForTask add the new attirbution
parameter to audit data access. Update it.
Bug: 187439908
Test: m -j
Change-Id: I169f40a46dba773befe6467db7eb86f1bfd775a1
2022-07-19 02:36:47 +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
Sukesh Ram
43b711c3ff
Merge "Made getOnBoardingPrefs @Nullable & avoid NPE"
2022-07-18 18:02:04 +00:00
Pat Manning
4e73e5e352
Move BaseActivityInterface task size methods to DeviceProfile.
...
Fix: 238593212
Test: DeviceProfilePhoneTest.kt
Test: DeviceProfileVerticalBarTest.kt
Test: DeviceProfilePhone3ButtonTest.kt
Test: DeviceProfileVerticalBar3ButtonTest.kt
Test: DeviceProfileTabletLandscapeTest.kt
Test: DeviceProfileTabletPortraitTest.kt
Test: DeviceProfileTabletLandscape3ButtonTest.kt
Test: DeviceProfileTabletPortrait3ButtonTest.kt
Test: DeviceProfileTwoPanelLandscapeTest.kt
Test: DeviceProfileTwoPanelPortraitTest.kt
Test: DeviceProfileTwoPanelLandscape3ButtonTest.kt
Test: DeviceProfileTwoPanelPortrait3ButtonTest.kt
Change-Id: I30324d34ca119a467f530b590949743c2ba7b91a
2022-07-18 16:35:02 +01:00
TreeHugger Robot
55ce03eee5
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-07-17 21:19:41 +00:00
Pat Manning
f41b347cd5
Merge "Add missing overview progress calls, track grid progress for thumbnail splash." into tm-qpr-dev am: 351aadc4f5 am: 2c3e0b48ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19289798
Change-Id: I1d854be6092274e17e3213ab988483c5a1890bc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-16 20:42:11 +00:00
Pat Manning
2c3e0b48ae
Merge "Add missing overview progress calls, track grid progress for thumbnail splash." into tm-qpr-dev am: 351aadc4f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19289798
Change-Id: I65f8a87055fd9ba0381c846135ed225668fee4df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-16 20:01:24 +00:00
Pat Manning
351aadc4f5
Merge "Add missing overview progress calls, track grid progress for thumbnail splash." into tm-qpr-dev
2022-07-16 19:38:59 +00:00
Bill Yi
547930859f
Merge "Import translations. DO NOT MERGE ANYWHERE"
2022-07-16 04:01:16 +00:00
Sukesh Ram
c0650e7725
Made getOnBoardingPrefs @Nullable & avoid NPE
...
Bug: 236679197
Test: Manual
Change-Id: I3cbb0891cbfcf7cab956a4e05a28dbbcc2b33e19
2022-07-15 17:29:26 -07:00
Winson Chung
39651b9169
Merge "Replacing deprecated method" into tm-qpr-dev am: 6c057718ac am: 6298e97a7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19293344
Change-Id: I6429c92cdf9106085a394350553952b947aee207
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-15 21:17:01 +00:00
Winson Chung
6298e97a7f
Merge "Replacing deprecated method" into tm-qpr-dev am: 6c057718ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19293344
Change-Id: Ic01381664c1c3ff023aa72fc0ce926dee4b1f3e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-15 20:51:37 +00:00
Winson Chung
6c057718ac
Merge "Replacing deprecated method" into tm-qpr-dev
2022-07-15 20:47:22 +00:00
Pat Manning
d61ccbb7ed
Add missing overview progress calls, track grid progress for thumbnail splash.
...
Test: manual
Bug: 202826469
Change-Id: I29578f44fd87423437ad6c73dc2be1ad630a55d6
2022-07-15 16:41:56 +01:00
Tony Wickham
2294409486
Merge "Provide 0 insets to VoiceInteractionWindow in gesture nav" into tm-qpr-dev am: 2765792793 am: c5dfbc9d7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19277085
Change-Id: I5685f52e500c0ba8f9640d53d638435a9e44b2e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-14 22:51:14 +00:00
Tony Wickham
c5dfbc9d7d
Merge "Provide 0 insets to VoiceInteractionWindow in gesture nav" into tm-qpr-dev am: 2765792793
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19277085
Change-Id: I527a43278cd25025daebda73acaa48694ad51d6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-14 22:34:07 +00:00
Tony Wickham
2765792793
Merge "Provide 0 insets to VoiceInteractionWindow in gesture nav" into tm-qpr-dev
2022-07-14 22:17:09 +00:00
Winson Chung
4c05fa3fba
Replacing deprecated method
...
Bug: 219861883
Test: Builds
Change-Id: I8e008c042cb7fe74ced512b6a074892743ef25f8
2022-07-14 18:51:18 +00:00
Bill Yi
e5bf619267
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iafc3c190549cdbe7d6fae074a6937dff516039dd
2022-07-13 21:17:40 -07:00
Bill Yi
a68ca5344f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id14eb20419b0c5d7dfb29c455507a5e760e05a18
2022-07-13 21:16:53 -07:00
Bill Yi
55845129b2
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I94fbaf735045200d8df3cb1a56947fc45e591f41
2022-07-13 21:16:05 -07:00
Tony Wickham
bf7df8e7d2
Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev am: 8b3fda7eb8 am: f02057d685
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220284
Change-Id: Ib63e7a1431932ac0226414cbe865304534d7d178
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-13 18:23:54 +00:00
Tony Wickham
f02057d685
Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev am: 8b3fda7eb8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220284
Change-Id: I20a00c519fda1e3ad0fec8e910dc2ba2f27c1b62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-13 18:05:47 +00:00