Shan Huang
883e7e412b
Provide the back callback instance when unregistering it from SysUI.
...
Bug: 228535747
Test: atest BackAnimationControllerTest
Test: Make sure back to home animation works on tablets and phones.
Change-Id: Iacbd581f382da50e96cfefbefe569800e9e1043b
2022-05-02 04:57:11 +00:00
Andy Wickham
833b0a0b5b
Merge "Adds Search Onboarding count and renames existing edu pref." into tm-dev
2022-04-25 00:26:51 +00:00
TreeHugger Robot
1582aafbc0
Merge "Provide more accurate feedback on nav bar region gestures during the back gesture tutorial." into tm-dev
2022-04-23 02:51:20 +00:00
Tony Wickham
aed0c4d73e
Defer onIsStashedChanged() until all controllers are initialized
...
Test: N/A
Fixes: 230133882
Change-Id: I27df993a08327d28669963e3cecfaa133daf11c9
2022-04-22 17:28:35 -07:00
Schneider Victor-tulias
04169cd3fc
Provide more accurate feedback on nav bar region gestures during the back gesture tutorial.
...
Test: manual
Fixes: 221192860
Change-Id: Id9f912e7db2d89fc948566f5cd16f4b641cdfa31
2022-04-22 16:37:49 -07:00
Tony Wickham
357c622572
Merge "Address a couple small followups for TaskbarInsetsController" into tm-dev
2022-04-22 22:55:10 +00:00
Santiago Etchebehere
8340cb6d7d
Merge "Revert "Use new onStartSplitLegacy when starting split from overview"" into tm-dev
2022-04-22 21:07:18 +00:00
Santiago Etchebehere
b8ad6e08cf
Revert "Use new onStartSplitLegacy when starting split from overview"
...
Revert submission 17779173-startSplitLegacy
Reason for revert: Broken build: b/230129218
Reverted Changes:
I01590e53c:Remove check for preventing re-parenting non-split...
I696749f76:Use new onStartSplitLegacy when starting split fro...
Change-Id: I6d81e0584bbfda3694772dcf293a4d064b2e8517
2022-04-22 21:02:22 +00:00
Sunny Goyal
84151d2bca
Merge "Removing fade in logic during load." into tm-dev
2022-04-22 20:29:34 +00:00
Jeremy Sim
602b46c399
Merge "Fix crash bug when splitting with animations disabled" into tm-dev
2022-04-22 20:05:09 +00:00
TreeHugger Robot
8aead5503f
Merge "Use new onStartSplitLegacy when starting split from overview" into tm-dev
2022-04-22 20:03:36 +00:00
Jeremy Sim
42276318b9
Fix crash bug when splitting with animations disabled
...
Fixes a bug where disabling animations (through Settings) would cause split staging to crash.
The crash occurs because when animations are disabled, StateManager advances to OVERVIEW_SPLIT_SELECT too quickly, and does not trigger the appropriate code block in RecentsViewStateController#handleSplitSelectionState(). This causes a crash.
Fixed by changing the conditional so that it always runs when OVERVIEW_SPLIT_SELECT is the target state, no matter the starting state.
Note: If more animations are added for this state in the future, the conditional may need to be tweaked further.
Fixes: 223598955
Test: Confirmed not crashing on 2 devices when splitting in a variety of ways.
Change-Id: I7f3def88f124fa1babe9a943adf72c10f58b7131
2022-04-22 19:58:40 +00:00
Sunny Goyal
b1f6a3fe97
Merge "Revert "Removing some unused code from All-Apps"" into tm-dev
2022-04-22 19:55:42 +00:00
Tony Wickham
741e4aeb95
Merge "Migrate from InsetsInfo.contentInsets to WindowManager.LayoutParams#providedInternalInsets" into tm-dev
2022-04-22 19:55:31 +00:00
Sunny Goyal
13ae6784b5
Revert "Removing some unused code from All-Apps"
...
Revert submission 17866780-cancel-request
Reason for revert: wrong icons
Reverted Changes:
Iedc98e5ef:Cancelling previous request and clearing UI when a...
I72394fb42:Removing some unused code from All-Apps
Change-Id: I2ecefcaf07e6105a10f86b8dc19f75089e45a3e0
2022-04-22 19:53:37 +00:00
Sunny Goyal
a938cc27a2
Merge "Removing some unused code from All-Apps" into tm-dev
2022-04-22 19:40:06 +00:00
TreeHugger Robot
37fa1392ec
Merge "Reset touch state when removing all tasks in RecentsView.applyLoadPlan" into tm-dev
2022-04-22 17:33:06 +00:00
Sunny Goyal
7b8d63fcf8
Removing fade in logic during load.
...
Launcher already blocks the draw during load, which ensures
that system draws the loading screen. Additional fade animation
is not visible since the Launcher window is already getting fade in
Bug: 199120420
Bug: 199120420
Test: Verified on device
Change-Id: I7089cea4c5f97f6ef92eabcba56451de407c98b8
2022-04-22 16:35:40 +00:00
Alex Chau
e3b806366a
Update pull back animation for tablet AllApps
...
- This is a follow-up of http://ag/17636490
- Introduced animation property specifically for pullback translation and alpha, which will invoke getRecyclerViewContainer directly on tablet, and invoke aggregate setter of appsView on phones
- Delay reset of pullback animation to after dismiss animation to avoid jump in value during state transition animation
- Introduced property factory for addictive properties similar to MultiScalePropertyFactory
Fix: 220345008
Test: manual on small and large screen
Change-Id: I7b5c0019c1d4d36c3c7ca4ec79e38e4eb09c32ca
2022-04-22 16:27:25 +01:00
TreeHugger Robot
3a16087bab
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f2889ed9c8 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17880720
Change-Id: I7a88a6287a2f906d42277ede533b944e3970441a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-22 07:52:22 +00:00
Bill Yi
7fd03c663a
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e7af40c247 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17880720
Change-Id: I423fdd5b2e95e3bc4e9f64266599387c54240714
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-22 07:52:03 +00:00
Andy Wickham
ef6f41a574
Adds Search Onboarding count and renames existing edu pref.
...
Note: I only updated the old variable name to not affect
exsiting values of the old preference.
Bug: 227627262
Test: Manually checked onboarding card only showed 3 times.
Change-Id: Ica6eca725be82ac7abf4681ba4ebcb33ee0178df
2022-04-21 23:33:14 -07:00
TreeHugger Robot
f2889ed9c8
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2022-04-22 03:59:00 +00:00
TreeHugger Robot
df436c364c
Merge "Snap to last task if swiping down at a greater Y than X velocity." into tm-dev
2022-04-22 02:50:24 +00:00
TreeHugger Robot
0bd7fbde6d
Merge "Bring Widget Picker message style inline with All Apps message style." into tm-dev
2022-04-22 02:14:43 +00:00
Bill Yi
db60e79024
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-04-22 00:17:18 +00:00
Brian Isganitis
e10ab8cdcd
Snap to last task if swiping down at a greater Y than X velocity.
...
If you swipe down slightly diagonally, it will almost always be treated as a swipe to the next task rather than a return to the current task. If we are swiping down and the Y velocity is grater, we should snap to the current task instead.
Test: Manually in fully gestural mode.
Bug: 222117127
Change-Id: I0f591fa5117291a9c095c2b733280464d29103d9
2022-04-21 22:50:39 +00:00
Bill Yi
cc01322260
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5c590bd79a -s ours am: e93a863192 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17880721
Change-Id: I21cba1b466f100b63da594a8c4b129e3feb2813b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-21 21:53:00 +00:00
Bill Yi
e93a863192
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5c590bd79a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17880721
Change-Id: I925d522b8968bd4b44e93f66b136f6f04b57b0e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-21 21:29:10 +00:00
Vinit Nayak
dd7e132db5
Use new onStartSplitLegacy when starting split from overview
...
Bug: 223396876
Change-Id: I696749f7674a09b2a12c6ef2c2b7d19d0884049a
2022-04-21 11:51:24 -07:00
TreeHugger Robot
d880a4fa63
Merge "Fixing potential NullPointer exceptions when Launcher is created before TouchInteractionService is initialized" into tm-dev
2022-04-21 17:54:03 +00:00
Zak Cohen
1dc4dea6ae
Bring Widget Picker message style inline with All Apps message style.
...
Bug: 188227318
Test: Local flash with TestDPC to test message.
Change-Id: I63403f1472a582a63299e647604eaea25b50b8e7
2022-04-21 10:53:17 -07:00
TreeHugger Robot
8e0177813a
Merge "Disallow long press below taskbar icons" into tm-dev
2022-04-21 17:16:42 +00:00
Tony Wickham
f286f9cb98
Address a couple small followups for TaskbarInsetsController
...
- Added no-op onDestroy()
- Reformated some if conditions, also adding
AbstractFloatingView.hasOpenView()
Test: TaplTestsTaskbar
Bug: 215411414
Change-Id: I89b39ca5fabd03f5ac0f25d6ef69170683cf060d
2022-04-21 16:16:02 +00:00
Tony Wickham
a681cf6abe
Migrate from InsetsInfo.contentInsets to WindowManager.LayoutParams#providedInternalInsets
...
- This allows us to distinguish taskbar's ITYPE_EXTRA_NAVIGATION_BAR insets from its ITYPE_BOTTOM_TAPPABLE_ELEMENT insets
- Set nav bar insets as before (contentInsets)
- Set tappable elements insets the same, except when taskbar is stashed, in which case set to 0
Test: TaplTestsTaskbar; manually stash/unstash taskbar, open IME, open Calculator (which uses tappableElement() insets) and Contacts (which uses systemBars())
Fixes: 215411414
Change-Id: If00f7a590b0780715d5b8159f5135054364ce84e
2022-04-21 16:15:41 +00:00
Thales Lima
1e583dfa0e
Merge "Making tablet grid scalable and tuning size" into tm-dev
2022-04-21 14:39:40 +00:00
Tony Huang
8edc0dfcf1
Merge "Add jank instrument support for split screen" into tm-dev
2022-04-21 11:31:22 +00:00
Thales Lima
26aa8c2496
Making tablet grid scalable and tuning size
...
Bug: 227344807
Test: manual and HSV
Change-Id: I739cd814ecb8f693b4873cd78f2e8c182538be3b
2022-04-21 11:10:22 +00:00
Shikha Malhotra
2e255ed0ac
Merge "Refactor code to be used in LauncherLily features" into tm-dev
2022-04-21 07:50:32 +00:00
Bill Yi
5c590bd79a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6e93daa5f1859dcd51bd2f60d59c651cb1189f7a
2022-04-21 04:08:36 +00:00
Bill Yi
e7af40c247
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ie56ee2fc9fee1ff17c9554e0727f7d1f41d3d3f6
2022-04-21 04:07:40 +00:00
Tony Wickham
74641da5b8
Merge "Move taskbar insets logic to TaskbarInsetsController" into tm-dev
2022-04-20 23:43:50 +00:00
Tony Wickham
81bff9becd
Disallow long press below taskbar icons
...
Test: long press below icons, doesn't stash; can still swipe up
Fixes: 201239461
Change-Id: Ifdf355138d7958c0442814d968f0722f54e12ae1
2022-04-20 13:58:53 -07:00
Vinit Nayak
bf33e85cb7
Merge "Check for auto-rotation when initializing RecentsOrientedState" into tm-dev
2022-04-20 20:58:30 +00:00
Tony Wickham
36c9d888d8
Move taskbar insets logic to TaskbarInsetsController
...
Test: TaplTestsTaskbar; manually stash/unstash taskbar, open IME
Bug: 215411414
Change-Id: I73622dc020c4f8c8b3d317fcb1dd072bcfc3d274
Merged-In: I73622dc020c4f8c8b3d317fcb1dd072bcfc3d274
2022-04-20 19:27:48 +00:00
Pat Manning
de5d9718ed
Merge "Prevent edit state workspace scale from hiding next pages." into tm-dev
2022-04-20 17:21:31 +00:00
Brian Isganitis
7bd3e02e2f
Merge "Decrease overview degree threshold from 45 to 15 degrees." into tm-dev
2022-04-20 17:14:42 +00:00
Brian Isganitis
6d780af405
Merge "Log taskbar all apps entrypoint, launches, and drags" into tm-dev
2022-04-20 17:13:52 +00:00
Vadim Tryshev
70dffbe896
Merge "Sampling too long Launcher tests" into tm-dev
2022-04-20 17:09:26 +00:00
Sunny Goyal
3946ecd441
Removing some unused code from All-Apps
...
Bug: 229860311
Test: Verified on device
Change-Id: I72394fb421679688f87cdbf725859ec35529a59e
2022-04-20 09:54:48 -07:00