Federico Baron
b9afac3a26
Merge "Fix bug where pagination animation comes in from outside the folder when opening folder after swiping back home from another app (left to right swipe)" into tm-qpr-dev am: 922bde1df3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20177132
Change-Id: I808056e8bdd8c6a620454ec8269290765b8aee2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-13 18:17:24 +00:00
Federico Baron
922bde1df3
Merge "Fix bug where pagination animation comes in from outside the folder when opening folder after swiping back home from another app (left to right swipe)" into tm-qpr-dev
2022-10-13 17:48:40 +00:00
Alex Chau
3868775549
Merge "Only support manual stashing while in app" into tm-qpr-dev am: e966537123 am: 2104aac3bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20178104
Change-Id: I9f35db00fa8b4017207ad3ecaa3a3aa02a626ec2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-13 14:51:55 +00:00
Alex Chau
2104aac3bb
Merge "Only support manual stashing while in app" into tm-qpr-dev am: e966537123
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20178104
Change-Id: I786bdf2d70a89368ce790c4bcefd62f8ac261496
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-13 14:19:12 +00:00
Alex Chau
e966537123
Merge "Only support manual stashing while in app" into tm-qpr-dev
2022-10-13 13:48:46 +00:00
Nicolo' Mazzucato
74c3a0024b
Cancel unfold animation when rotation changes
...
In DeviceFoldStateProvider.kt, FOLD_UPDATE_FINISH_HALF_OPEN is emitted if the rotation changes while the animation is in progress.
This targets the case when the device goes to tabletop mode during the transition.
+ Using RotationChangeProvider to fix problems when the new orientation change was received in a background thread unexpectedly. This fixes: (1) wrong launcher icons movement after the rotation, and (2) wrong dark overlay scrim after rotation.
+ Minor formattig fixes by ktfmt
Bug: 241743859
Test: DeviceFoldStateProviderTest && NaturalRotationUnfoldProgressProviderTest && manual stress testing
Change-Id: Iee234e4b832cad8298b69356fce7c14d75e89ccc
2022-10-13 09:16:44 +00:00
Ling Wo
5c239ba4f7
Add enable-suggestion option via TestProcotol so that test can opt-in to show live suggestion
...
Bug: 242246407
Test: atest
Change-Id: Icde0185c82b1d34570d83bd8b9750acb57a8e39c
2022-10-13 01:46:45 +00:00
Android Build Coastguard Worker
4bfaa5234d
Snap for 9167942 from 2613431914 to tm-qpr2-release
...
Change-Id: I8f7b4fbee9319f529b05b0ada67c2d4f79353304
2022-10-12 23:25:31 +00:00
Federico Baron
c722e7d814
Fix bug where pagination animation comes in from outside the folder when opening folder after swiping back home from another app (left to right swipe)
...
Fix: 249814494
Test: Manual
Change-Id: I03008dd24ddb9a0ba4c5a44878cbdf04c65de435
2022-10-12 15:42:34 -07:00
TreeHugger Robot
09b3d0609f
Merge "Desktop tile that is a snapshot of desktop" into tm-qpr-dev am: 24dd3f57b2 am: 97c4e6d04d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20027847
Change-Id: I412f8cd5ce2fc3383e9f7f08e254ff42efddd78b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 21:51:23 +00:00
TreeHugger Robot
97c4e6d04d
Merge "Desktop tile that is a snapshot of desktop" into tm-qpr-dev am: 24dd3f57b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20027847
Change-Id: I85c9d13c4a1bf329ae68aaf3984aa40859ac89f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 21:30:10 +00:00
TreeHugger Robot
24dd3f57b2
Merge "Desktop tile that is a snapshot of desktop" into tm-qpr-dev
2022-10-12 21:10:16 +00:00
Evan Rosky
985f7de915
Revert^2 "Enable Shell Transitions"
...
2be4e88eda
Change-Id: I8cd0d125ecaa8201bf5d9c8e087f1c5c901e1fa0
2022-10-12 21:06:38 +00:00
Yein Jo
632468dc00
Merge "Revert "Enable Shell Transitions""
2022-10-12 21:00:05 +00:00
Yein Jo
2be4e88eda
Revert "Enable Shell Transitions"
...
Revert "Enable Shell Transitions"
Revert "Enable Shell Transitions"
Revert "Enable Shell Transitions"
Revert submission 19199517-enable_shell_transit
Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/253049434 b/253109117 b/253181889 b/253271977
Reverted Changes:
I85f9565b3:Enable Shell Transitions
I75d0fe964:Enable Shell Transitions
I0565e423a:Enable Shell Transitions
I98bf8f0aa:Enable Shell Transitions
Change-Id: I6ad85a8f8168cdd40cb66eb58b9ea6a936bc2315
2022-10-12 20:57:48 +00:00
Alex Chau
38dae63910
Only support manual stashing while in app
...
- For taskbar in overview, don't allow stashing
Fix: 253042515
Test: With taskbar in overview, long press do nothing. Taskbar is still stashable in app
Test: Without taskbar in overview, taskbar still transform to nav handle in overview
Change-Id: I8f353a473a8570df72acda2338c4b984a69dc5c0
2022-10-12 18:16:50 +01:00
Sebastian Franco
d468299c0f
Moving the class LayoutParams to a file outside CellLayout
...
I'm moving the LayoutParams to another file to start the decoupling
of the Reorder outside of the CellLayout.
Also, I change the name from LayoutParams to LauncherLayoutParams to prevent confusion with ViewGroup.LayoutParams making it explicit that this are different LayoutParams.
Bug: 188081026
Test: atest ReorderWidget
Change-Id: I92251c5540ffcf5ece7b933e6f6c836eb825c997
2022-10-12 16:14:42 +00:00
Evan Rosky
3ecceb8680
Merge "Enable Shell Transitions"
2022-10-12 16:08:27 +00:00
TreeHugger Robot
92d7ca5fe9
Merge "Enable taskbar in overview by default" into tm-qpr-dev am: 2613431914 am: afda58246e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111701
Change-Id: I82afb64f29c925a4e39c5ab1bb2b0304733bfd43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 13:22:02 +00:00
TreeHugger Robot
afda58246e
Merge "Enable taskbar in overview by default" into tm-qpr-dev am: 2613431914
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111701
Change-Id: I510f11b58b6d950c649af9fd77137ffabe734411
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 12:50:29 +00:00
TreeHugger Robot
2613431914
Merge "Enable taskbar in overview by default" into tm-qpr-dev
2022-10-12 12:21:14 +00:00
Pat Manning
de2aefe5d6
Merge "Use wm shell splash screen animation to reveal app after tasks have appeared." into tm-qpr-dev am: a283b551d2 am: e793bac632
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19886384
Change-Id: I6474fc429e326bfedad7813b5b11ad5aa217492e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 11:55:47 +00:00
Pat Manning
e793bac632
Merge "Use wm shell splash screen animation to reveal app after tasks have appeared." into tm-qpr-dev am: a283b551d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19886384
Change-Id: Ia8968e6ec48f3e877ba020d0498afa0520248324
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 11:53:12 +00:00
Pat Manning
a283b551d2
Merge "Use wm shell splash screen animation to reveal app after tasks have appeared." into tm-qpr-dev
2022-10-12 11:34:41 +00:00
Jeremy Sim
0ac4708396
Prevent doubling up on split placeholder insets
...
This patch makes it so that the split placeholder uses only one inset for buffering the top of the icon: either the default split placeholder inset, or the device's built-in screen inset.
Currently, when we determine the size of the split placeholder, we add the placeholder's default inset to the device's built-in screen inset (camera cutouts, etc.). On some devices, this causes a very large combined inset, and it doesn't leave enough room for all the other UI elements, especially when 3-button mode is active. This patch cuts out one of the insets by selecting only one of the insets to respect (the larger one).
Fixes: 241164191
Test: Manual, checked all emulated inset types on a variety of screen sizes
Change-Id: Ica0e791bf4b8b757ad3fb87ab1cf3105b97a61dc
2022-10-11 21:26:43 -07:00
TreeHugger Robot
61d513fa56
Merge "First pass at Taskbar layout UI polish for SUW" into tm-qpr-dev am: 5c4b6b50d7 am: dd1a143a29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20086056
Change-Id: I75f2750949b10f690f1210fef85aeb98342f4452
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 03:37:39 +00:00
TreeHugger Robot
dd1a143a29
Merge "First pass at Taskbar layout UI polish for SUW" into tm-qpr-dev am: 5c4b6b50d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20086056
Change-Id: I785f86e0daa82618a03c1633ea0efc710e482139
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 03:04:33 +00:00
TreeHugger Robot
5c4b6b50d7
Merge "First pass at Taskbar layout UI polish for SUW" into tm-qpr-dev
2022-10-12 02:27:37 +00:00
TreeHugger Robot
1bfe930931
Merge "Add debug logs to help identify when setRecentsAttachedToAppWindow will not animate properly." into tm-qpr-dev am: 1337b31b3f am: 997edd2dad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20076231
Change-Id: I04ee6b7e1cd23991f46c28395471ecbaebc86424
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 01:22:52 +00:00
TreeHugger Robot
997edd2dad
Merge "Add debug logs to help identify when setRecentsAttachedToAppWindow will not animate properly." into tm-qpr-dev am: 1337b31b3f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20076231
Change-Id: I47588e0653e55228b0ba42b288ae437b29e38e9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-12 00:51:03 +00:00
TreeHugger Robot
1337b31b3f
Merge "Add debug logs to help identify when setRecentsAttachedToAppWindow will not animate properly." into tm-qpr-dev
2022-10-12 00:17:33 +00:00
Vinit Nayak
2081742cb7
First pass at Taskbar layout UI polish for SUW
...
Bug: 231906478
Change-Id: I5d55d1e33f928d4b8034c356565a0f9d8bc5c3fb
2022-10-12 00:04:27 +00:00
Brandon Dayauon
1e5fcc1909
Merge "Scale icons from search to make app icons big like AA -> workspace" into tm-qpr-dev am: 956851e7ca am: 215ddb9b92
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19774829
Change-Id: Id68d31a6f91dd99b85bf4943998834d4fa25a917
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 23:39:30 +00:00
Android Build Coastguard Worker
89f3d2e524
Snap for 9163457 from e2791f0cf6 to tm-qpr2-release
...
Change-Id: I51b19c0b2039ec56c1b7ec1b0b8bbc59fe50a544
2022-10-11 23:25:51 +00:00
Brandon Dayauon
215ddb9b92
Merge "Scale icons from search to make app icons big like AA -> workspace" into tm-qpr-dev am: 956851e7ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19774829
Change-Id: Ic092c9a5cc32f42eaf7f9a8e0dc34ddd16aae310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 23:06:52 +00:00
Brandon Dayauon
956851e7ca
Merge "Scale icons from search to make app icons big like AA -> workspace" into tm-qpr-dev
2022-10-11 22:40:13 +00:00
Schneider Victor-tulias
a0be92c830
Add debug logs to help identify when setRecentsAttachedToAppWindow will not animate properly.
...
Bug: 244593270
Test: Manually checked logs
Change-Id: Ie6d0395a45a025d1562a722154d3dd3b42618ccc
2022-10-11 15:12:13 -07:00
Sebastián Franco
41abc6d89b
Merge "Prevent double touch inputs in the BaseDragLayer" into tm-qpr-dev am: 73049b14b9 am: bd484f174a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040579
Change-Id: I4861646ea4b134560d572d14df5c9750f144b186
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 21:29:27 +00:00
Sebastián Franco
bd484f174a
Merge "Prevent double touch inputs in the BaseDragLayer" into tm-qpr-dev am: 73049b14b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040579
Change-Id: Id45956331342c37e1d5f81d355c07c82837fc9d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 20:57:03 +00:00
Brian Isganitis
56d4571bbf
Merge "Move recents controller to end of params for easier merging."
2022-10-11 20:53:44 +00:00
Brandon Dayauon
d3755f46cc
Scale icons from search to make app icons big like AA -> workspace
...
when dragging from search.
To scale the icon during dragging (instead of long press) I created a scale variable within DragOptions
so that right before dragStart gets called in DragController.java (in callOnDragStart())
the dragview scales before dragging..
* note: the scale from search is 1.687 and the scale from allApps is 1.107
- included searchResult and smallSearchResult
- Added animation for scaling icon (used Interpolators.EMPHASIZED 500ms as suggested by motion designer)
- Cancel animation when drag finishes
bug: 222666176
test: Manual - after: https://drive.google.com/file/d/1ZZHnXlzdTxlM-RUIdJ6EOYkPPg6tCUxC/view?usp=sharing
before: https://drive.google.com/file/d/1NpBz3kT_slHXtpXObr_G8K6SZYG9_bLX/view?usp=sharing
Change-Id: I01309a3be928987ba00422ad947b80a3df865973
2022-10-11 13:29:35 -07:00
Sebastián Franco
73049b14b9
Merge "Prevent double touch inputs in the BaseDragLayer" into tm-qpr-dev
2022-10-11 20:22:45 +00:00
Xin Li
66c4cffd27
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 6c5e11c3d5 -s ours am: cded8966ef -s ours
...
am skip reason: Merged-In Ie774ec691c1005f3eb37600db6b25da57b9a88ea with SHA-1 601cf30cf6 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20135590
Change-Id: I1045481594bad52c47c52640e5ff8bfdf470dd89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 20:09:33 +00:00
Xin Li
cded8966ef
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 6c5e11c3d5 -s ours
...
am skip reason: Merged-In Ie774ec691c1005f3eb37600db6b25da57b9a88ea with SHA-1 601cf30cf6 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20135590
Change-Id: I646fb17cac60ac6d4316e4f4bc4b03e87e93ba79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 17:55:35 +00:00
Alex Chau
517131ae1c
Enable taskbar in overview by default
...
- Also changed expectation in test that taskbar is visible in overview
Fix: 245320601
Test: presubmit
Change-Id: If1ed44f542e5907860f7ab8182e4b45172346f3f
2022-10-11 18:48:45 +01:00
Alex Chau
de1d8456d3
Merge "Fix positioning of split instruction and share targets with taskbar in overview" into tm-qpr-dev am: e2791f0cf6 am: 94183eeaf9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20132885
Change-Id: I67023a798eeba419834cdc91a89b3dc2e3b9aee1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 15:05:01 +00:00
Sebastian Franco
68fc44ffad
Prevent double touch inputs in the BaseDragLayer
...
If you hold a long press and while pressing you start another
long press again with another finger, then a new onLongPress event
will trigger and in some cases we are not processing that case.
By ignoring the evetns with the flag ACTION_OUTSIDE we can prevent
such cases.
Fix: 247477725
Test: ReorderWidgets
Change-Id: I31833bc54db2771809562bd1f92c8523eb2f05ab
2022-10-11 09:54:46 -05:00
Alex Chau
94183eeaf9
Merge "Fix positioning of split instruction and share targets with taskbar in overview" into tm-qpr-dev am: e2791f0cf6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20132885
Change-Id: I563d31986ece6169cfe6cfca8f815b611277ba6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-11 14:33:16 +00:00
Alex Chau
e2791f0cf6
Merge "Fix positioning of split instruction and share targets with taskbar in overview" into tm-qpr-dev
2022-10-11 14:04:57 +00:00
Alex Chau
0733ebd3c1
Run setCurrentPage in applyLoadPlan after scroll initialized
...
- Also combined the 2 setCurrentPage call in applyLoadPlan into 1
- Otherwise setCurrentTask may set to page 1 unexpectedly due to page 0's scroll being invalid and out of range
Bug: 246283207
Bug: 238461210
Test: Split screen with 2 apps, click back, go to overview again, should snap to focsued task
Change-Id: I3b57655c810668fe244659437fbd4a745ca02d21
2022-10-11 12:36:35 +01:00