Bill Lin
657a6da6fb
Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258
Change-Id: I717b55f90426b21c05370a0aeb731b960fb64bee
2021-06-04 00:33:43 +00:00
TreeHugger Robot
6809a6af11
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-06-04 00:03:34 +00:00
Vinit Nayak
759490be1d
Merge "Check for taskbar 3 button flag when initializing RotationContextualButton" into sc-v2-dev
2021-06-03 22:51:54 +00:00
Vinit Nayak
51ca609048
Check for taskbar 3 button flag when initializing RotationContextualButton
...
Fixes: 190063583
Change-Id: Ibc8ee6586cdf7316f61bae9fc5eff39b4b9992f1
2021-06-03 13:27:14 -07:00
Alex Chau
f647016cce
Merge "Make quick switch track finger 1:1" into sc-v2-dev
2021-06-03 19:44:55 +00:00
Bill Yi
1a01df7733
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Icd923fe6ba24436415e6a65c25dda49ee50a6164
2021-06-03 19:00:53 +00:00
Bill Lin
a1221bcd53
2/ Notify adjust touch slop when one handed mode activated
...
When one handed mode activated, user swipe-up to exit usually
cross over the NavBar region, and then invoke TouchController
intercept touch event to trigger All Apps drawer on Home.
To enhanced the UX of gesture conflict of exit OHM & All Apps,
notify TouchController throught LauncherActivityInterface,
and Launcher dispatch onOneHandedModeStateChanged() event to
all mTouchControllers in DragLayer that touchController can
adjust the touch slop by it's SingleAxisSwipeDetector.
Test: manual trigger One handed mode and swipe-up to exit
Test: monitor minDisplacement of SingleAxisSwipeDetector
OHM activated : touchSlop x multiplier
OHM deactivated : touchSlop x 1
Test: check All Apps doesn't mis-trigger when exit one handed mode
Bug: 186235522
Change-Id: I7b9e6e7fa898231697d1866186a5f9b1717a9aa3
2021-06-04 01:44:51 +08:00
Bill Lin
945bb34b5e
1/ Provides feasibility to adjust touch slop in TouchController
...
There is a case when one handed mode triggered(Activated), all apps
drawer is very easy to trigger while user swipe up around NavBar
region to exit one handed mode. Since System Gesture monitor regsion
is small on screen bottom, swipe-up gesture usually cross over NavBar
monitor region and invoke launcher touch controller intercept touch
event and introduce unexpectedly trigger all apps drawer.
Adding onOneHandedModeStateChanged(boolean activated) for controller
be able to adjust the touch slop by multiplier, we can set a larger
multiplier when the visible window size translate become smaller
and make swipe gesture not too sensitive.
Test: manual swipe up to swich "home <-> all apps" and monitor
minDisplacement of SingleAxisSwipeDetector
Test: Trigger one handed mode and swipe up to exit one handed mode
check the minDisplacement of SingleAxisSwipeDetector
Bug: 186235522
Change-Id: I9729cd408d85b2b22582bf800e28d1471fc06980
2021-06-04 01:44:50 +08:00
Zak Cohen
3ec119cbf3
Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765
Change-Id: Ie7dd16e9beae174ab9967eccc79d50267298be7e
2021-06-03 17:26:58 +00:00
Zak Cohen
d7129fc919
Merge "RecentsView - reduce work in color tint animator" into sc-dev
2021-06-03 17:09:45 +00:00
Alex Chau
822acf4d25
Make quick switch track finger 1:1
...
- When calculating motion delta, it should consider the scale of pagedView
- Adjust significant threshold of tablet quick switch to 15% of page width (roughly 100dp)
Fixes: 188786242
Test: manual on quick switch
Change-Id: Idaa6c5b721decb573e97158c5fbcd67fa224f9d1
2021-06-03 18:07:52 +01:00
Shawn Lin
b762b23227
Merge "Detach the nav once the endTarget is determined as HOME" into sc-dev am: cd0fe7b057
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14811742
Change-Id: I557e183ffd2b0fcc8d9893465e5e7c680b7c5818
2021-06-03 12:04:36 +00:00
Shawn Lin
cd0fe7b057
Merge "Detach the nav once the endTarget is determined as HOME" into sc-dev
2021-06-03 11:47:50 +00:00
TreeHugger Robot
f40d4452d8
Merge "AssistContentRequester move binder call to background thread." into sc-dev am: 8c46bba98e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14801431
Change-Id: I1198b2ee9548ead52dbe1915c8fc6eeb7bac96ab
2021-06-03 07:30:53 +00:00
Pat Manning
668d10d6c4
End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss) am: 49cb49b1f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800534
Change-Id: I93c5b7dc6bd6cabb3560334102fae46553b39506
2021-06-03 07:29:24 +00:00
Wei Sheng Shih
e909a01164
Merge "Read the starting surface icon size from framework" into sc-dev am: 630efccd7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14609921
Change-Id: I7e9b8813fea7d2ed9cdef8c163f65875c9f026c1
2021-06-03 06:49:47 +00:00
shawnlin
2b006fb27b
Detach the nav once the endTarget is determined as HOME
...
Bug: 189900722
Test: manual - swipe up to home from an app and observe the nav
Change-Id: I421de17fe4d8413deaf9ebd63166a6d2d00d096e
2021-06-03 13:06:42 +08:00
zakcohen
da08cb2639
RecentsView - reduce work in color tint animator
...
Don't allocate animators when there is no animation to do. The work was
not required.
Bug: 189492167
Test: Local build, run and trace analysis
Change-Id: I111768b055ed636aa92d5d9d6b799f316a568380
2021-06-02 15:46:46 -07:00
TreeHugger Robot
8c46bba98e
Merge "AssistContentRequester move binder call to background thread." into sc-dev
2021-06-02 20:31:53 +00:00
zakcohen
243fbd3e5d
AssistContentRequester move binder call to background thread.
...
The call into system server is synchronous, so make the call off the main
thread to avoid jank.
Bug: 189251291
Test: Local with flag enabled
Change-Id: I1787a0ad68488755bf19e813ecfe9fc079cfaed8
2021-06-02 10:33:31 -07:00
Pat Manning
49cb49b1f5
End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss)
...
Test: manual
Fix: 188618115
Bug: 188618115
Change-Id: I51d157e224eaeee34ed131e4945bb92d6baf18cd
2021-06-02 16:28:25 +00:00
Wei Sheng Shih
630efccd7a
Merge "Read the starting surface icon size from framework" into sc-dev
2021-06-02 10:00:22 +00:00
TreeHugger Robot
161027dc3e
Merge "Initial commit of rotation contextual button." into sc-v2-dev
2021-06-02 02:05:40 +00:00
Lucas Dupin
c53c5d8599
Merge "Set blur on effect layer during app launch" into sc-dev am: ee4d67c52d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750658
Change-Id: Ibc67ff5638774294801974e4fe3c6357bf4ee22c
2021-06-02 00:38:36 +00:00
Lucas Dupin
ee4d67c52d
Merge "Set blur on effect layer during app launch" into sc-dev
2021-06-02 00:32:52 +00:00
TreeHugger Robot
cabb9096f3
Merge "Adjust task menu text size and colors" into sc-dev am: 137323c299
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792892
Change-Id: Iec85e73cef73116f829d09d28bd06cab1cb2791d
2021-06-02 00:03:20 +00:00
TreeHugger Robot
137323c299
Merge "Adjust task menu text size and colors" into sc-dev
2021-06-01 23:50:40 +00:00
TreeHugger Robot
da91a85359
Merge "Revert "Add haptic feedback to Launcher recent apps scrolling"" into sc-dev am: f5af5ce11f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793398
Change-Id: Ic5a7e1fc9f5ac07f84b10496b1f3ece2bf8e8b8f
2021-06-01 23:41:10 +00:00
Tony Wickham
7f1f42ffb0
Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev am: 3cc2f46ca8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792890
Change-Id: Ie5ef2aff3414a85e0cd855e0bda04610f5c74c30
2021-06-01 23:41:00 +00:00
TreeHugger Robot
5d6c6a8727
Merge "Task Overlay - refresh task overlay on size change." into sc-dev am: a357d6da6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757953
Change-Id: I7a3520045fad9eb54b7a371ea829ff200fa636c6
2021-06-01 23:40:53 +00:00
TreeHugger Robot
f5af5ce11f
Merge "Revert "Add haptic feedback to Launcher recent apps scrolling"" into sc-dev
2021-06-01 23:39:39 +00:00
Tony Wickham
3cc2f46ca8
Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev
2021-06-01 23:17:36 +00:00
TreeHugger Robot
a357d6da6d
Merge "Task Overlay - refresh task overlay on size change." into sc-dev
2021-06-01 23:15:25 +00:00
Wale Ogunwale
0e25d2eba8
Revert "Add haptic feedback to Launcher recent apps scrolling"
...
This reverts commit b1ef5e5c55 .
Reason for revert: b/182382085#comment4
Change-Id: I001944da64dc05324b14cc9dd3db5921faf8806c
Bug: 182382085
2021-06-01 22:10:18 +00:00
TreeHugger Robot
c3629c8e9c
Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev am: b13200c6b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14735875
Change-Id: Icea54a23541cdd1791d9adc1c5dde67bbd6583c9
2021-06-01 21:31:25 +00:00
Vinit Nayak
6ea5f721e5
Adjust task menu text size and colors
...
Fixes: 189855320
Fixes: 189855322
Change-Id: I0df4109f91ab09211b3cb5f3d18ad7374fa3f68c
2021-06-01 14:24:42 -07:00
TreeHugger Robot
b13200c6b1
Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev
2021-06-01 21:02:29 +00:00
Tony Wickham
950388bf0e
Fix duplicate depth animations when swiping from overview to home
...
- Add SKIP_DEPTH_CONTROLLER in OverviewToHomeAnim if WorkspaceRevealAnim is used, because WorkspaceRevealAnim already handles the depth.
Test: visual, and also log to ensure we only get one call to DepthController#setStateWithAnimation()
Fixes: 189060172
Change-Id: Ifb4ff3278272b3e98b4cf43bf94d6e108921ea80
2021-06-01 13:56:00 -07:00
Vinit Nayak
91dca0f282
Initial commit of rotation contextual button.
...
UI fixing todo: b/187754252
Bug: 180046394
Test: Works in basic cases with on home and
in app taskbar.
Change-Id: I69985b57e38a9fdb7935fcafb097b1e6da73a6b9
2021-06-01 13:16:48 -07:00
Jonathan Miranda
121587eb13
Merge "Update launcher content animation to spec." into sc-dev am: cdc73b512e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757888
Change-Id: If73328d6c5a4827052ff0d7652c5002ccfc5d365
2021-06-01 19:52:05 +00:00
Jonathan Miranda
1676ef9700
Merge "Turn off app close flag, Revert back to R implementation." into sc-dev am: d8035e1821
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750661
Change-Id: Iee90e5897e98c8e06ea957c0b5f8418936c7d866
2021-06-01 19:52:01 +00:00
Alex Chau
5081182bcb
Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev am: 5e13d36cba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683793
Change-Id: I9af64949edc129c53ab6ef202d3e2423a92837da
2021-06-01 19:51:36 +00:00
Jonathan Miranda
cdc73b512e
Merge "Update launcher content animation to spec." into sc-dev
2021-06-01 19:24:33 +00:00
Jonathan Miranda
d8035e1821
Merge "Turn off app close flag, Revert back to R implementation." into sc-dev
2021-06-01 18:18:38 +00:00
Lucas Dupin
6e50860616
Set blur on effect layer during app launch
...
Test: manual
Fixes: 189207458
Change-Id: I8fabba92c6831c2fd54fe08156fc9a9b5d141a56
2021-06-01 11:07:17 -07:00
Alex Chau
5e13d36cba
Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev
2021-06-01 17:54:41 +00:00
zakcohen
7ce8f57530
Task Overlay - refresh task overlay on size change.
...
The task overlay should be refreshed on size change for rotation changes.
Bug: 187515688
Test: Local
Change-Id: I1a4fa6bfbc66b9d24cfa906184bdefb9067db5ae
2021-06-01 17:34:06 +00:00
Bill Yi
ba1e4e7a14
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I896fae3bbf2b553b8e2bf44439f74237f074525e
2021-05-31 10:53:35 +00:00
Bill Yi
a4adcbc8ed
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iaaa324a8b618f499da8f48f819efec176e124e85
2021-05-31 10:53:02 +00:00
TreeHugger Robot
af44c7f976
Merge "Force initialize task stack callback for gesture modes on init" into sc-dev am: e1a5d6bb1b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754620
Change-Id: I65d94d520827ed3a9ed586853a6b533fdbf43fd4
2021-05-28 06:00:09 +00:00