TreeHugger Robot
72ac78189f
Merge "Fix RecentsView scroll linking" into ub-launcher3-rvc-dev
2020-06-19 23:28:55 +00:00
TreeHugger Robot
f9ae1a838a
Merge "Fixing fallback recents not getting proper insets on configuration change" into ub-launcher3-rvc-dev
2020-06-19 23:22:54 +00:00
Hyunyoung Song
5eae3c0a0a
Remove ConcurrentModificationException for snapshot logging
...
Bug: 159282737
Change-Id: I37edcf6aa11272b488a0633716567c48e56e5433
2020-06-19 16:12:43 -07:00
Tony Wickham
94d1b4be17
Fix RecentsView scroll linking
...
- Reverts change from ag/11900651 that deferred setting
mRecentsViewScrollLinked = true
- Instead, setCurrentPage(mCurrentPage) after updating layout rotation
to ensure we recompute page scrolls before using them
Test:
- Auto rotate on, home rotation off, open Calculator in landscape,
swipe up slowly and ensure it never turns invisible
- Quick switch from Calculator to Clock, start swiping directly up
immediately after settling on Clock, ensure Calculator window
remains at its scroll position to the side (b/159461591)
Fixes: 159461591
Change-Id: Iab92963cc6c33df42b77f5ccfa3932382e8f869a
2020-06-19 17:42:18 -05:00
Hyunyoung Song
66e486e38a
Merge "Fix a potential concurrency issue for loading CDB file Bug: 158919530" into ub-launcher3-rvc-dev am: bb8257344c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11926310
Change-Id: Ie33b49a54842f2edc05176ff47a4360c85ae7bf0
2020-06-19 22:01:40 +00:00
TreeHugger Robot
3b5f079711
Merge "Wrap shortcuts to second line" into ub-launcher3-rvc-dev am: 027d5a0e8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917348
Change-Id: I7175a6a73aa0070d7d91981b07531f4505f460d5
2020-06-19 22:01:26 +00:00
Hyunyoung Song
bb8257344c
Merge "Fix a potential concurrency issue for loading CDB file Bug: 158919530" into ub-launcher3-rvc-dev
2020-06-19 21:48:30 +00:00
TreeHugger Robot
027d5a0e8f
Merge "Wrap shortcuts to second line" into ub-launcher3-rvc-dev
2020-06-19 21:45:46 +00:00
Samuel Fufa
56b35b9d0a
Send app launch events from TaskSwitcher
...
Sends AppTargetEvent with action launch and container CONTAINER_OVERVIEW to AppPredictor when user launches app form recents.
Bug: 155996363
Test: Manual
Change-Id: I3eb38f5737ecaeb07e59db460e8d809416132825
2020-06-19 14:14:52 -07:00
Samuel Fufa
980767a06b
Wrap shortcuts to second line
...
Some system shortcuts are mostly truncated in other localizations. This fixes the issue allowing shortcuts to extend into a second line.
Screenshot:
https://screenshot.googleplex.com/CuTHVNn6PoC
https://screenshot.googleplex.com/yhwuLmbG7UX
Bug: 158182711
Change-Id: Ie5c2943be524c499c4444a9a54217f207a4684fd
2020-06-19 14:11:36 -07:00
TreeHugger Robot
ebf070bcf1
Merge "Set Disabled icon alpha to .54" into ub-launcher3-rvc-dev am: 9627bc466a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11935159
Change-Id: I02c6042e391ebfa863731ac44c96131d49c8b0d3
2020-06-19 20:46:24 +00:00
TreeHugger Robot
9627bc466a
Merge "Set Disabled icon alpha to .54" into ub-launcher3-rvc-dev
2020-06-19 20:38:38 +00:00
Samuel Fufa
e17de7cd48
Set Disabled icon alpha to .54
...
screenshot: https://screenshot.googleplex.com/hMi27AKtN5z
Keeping style setup as is for ultra power saver mode.
Bug: 158904552
Change-Id: I508c661195d8ca4821a13dc2a0f26584bea0b172
2020-06-19 12:47:54 -07:00
Tony Wickham
fb8d090c68
Merge "Remove progress != mFullscreenProgress optimization" into ub-launcher3-rvc-dev am: e19b065c7c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11932417
Change-Id: I41422ebccc64c9178f33598f609da228db6515dd
2020-06-19 18:54:23 +00:00
Zak Cohen
1f3a4b6530
Image actions - fix uri permissions. am: aef8b86b4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11933718
Change-Id: I6ca5eff182795fe4c60032da5539d9d6d0428b21
2020-06-19 18:54:12 +00:00
Tony Wickham
e19b065c7c
Merge "Remove progress != mFullscreenProgress optimization" into ub-launcher3-rvc-dev
2020-06-19 18:45:44 +00:00
Sunny Goyal
9d89f75ce4
Fixing fallback recents not getting proper insets on configuration change
...
> Using common code for Launcher and recents for insets dispatching
> Fixing recents auto closing when there is no running task
Bug: 158750568
Bug: 159133601
Change-Id: Iee25c603a77a1ac546ada1840f3afaf5797b8802
2020-06-19 11:41:53 -07:00
Zak Cohen
aef8b86b4a
Image actions - fix uri permissions.
...
Feedback wasn't working, also Share wasn't showing its preview.
Bug: 159122067
Test: built and run locally
Change-Id: Iccea012a8fc0009a6a980f6233f42c4e7619f4ec
2020-06-19 18:02:44 +00:00
Tony Wickham
6a8ba169f2
Remove progress != mFullscreenProgress optimization
...
Sometimes other methods modify things like icon scale that setting
the fullscreen progress should override.
Test: open Calculator, open Clock, quick switch to Calculator and
ensure its task icon is not showing
Bug: 157105795
Change-Id: Iaed3e42f540fdff3648e9db7e6d7dc0b0d0a75df
2020-06-19 12:20:38 -05:00
Vadim Tryshev
eee5fbe313
Merge "Removing debug requests from non-debug test info handlers" into ub-launcher3-rvc-dev am: 84aaecca64
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11827372
Change-Id: Iee1cd7c886309c32d6811ac949239350ea72d82e
2020-06-19 16:51:52 +00:00
Vadim Tryshev
84aaecca64
Merge "Removing debug requests from non-debug test info handlers" into ub-launcher3-rvc-dev
2020-06-19 16:37:41 +00:00
Bill Lin
375cf35327
Merge "Update state and touch region after one handed overlay changed"
2020-06-19 09:10:04 +00:00
Hyunyoung Song
d98d5ebedc
Fix a potential concurrency issue for loading CDB file
...
Bug: 158919530
Change-Id: I00ddbaeebaed3aa669948cde7fbac0cf4ad86301
2020-06-19 02:09:15 -07:00
Samuel Fufa
ace056cd59
Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4 am: de575bbb87 am: 66cbaa3bf1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: Ia4aae4619fd407606f782ec039c96a16f09871cc
2020-06-19 08:22:15 +00:00
Samuel Fufa
700154b800
Create hotseat predictor onCreate am: c3f13e01a3 am: f154110338 am: de69c15e9c am: 16e3634b93
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: Ib4d105f5cce016fd761298f53449a3ef9e3462c7
2020-06-19 08:22:10 +00:00
Samuel Fufa
cb2a99d53a
Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4 am: b099c497e3 am: a5e181f635
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I6a1e7da3ba908e16ae2e0cc41824e847cc004017
2020-06-19 08:22:02 +00:00
Samuel Fufa
66cbaa3bf1
Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4 am: de575bbb87
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I5c8b66222337836e8aca9376412f0c901344b015
2020-06-19 08:10:40 +00:00
Samuel Fufa
16e3634b93
Create hotseat predictor onCreate am: c3f13e01a3 am: f154110338 am: de69c15e9c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I016eae951fbe0f0066d259c888bbd65181c3a4dd
2020-06-19 08:10:27 +00:00
Samuel Fufa
a5e181f635
Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4 am: b099c497e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I3162d2887b8a75c675cc3c13648a0a91667663b8
2020-06-19 08:10:21 +00:00
Samuel Fufa
de575bbb87
Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: Iaaf34342b1afe5c9b5391354e3607afacd201515
2020-06-19 08:00:35 +00:00
Samuel Fufa
de69c15e9c
Create hotseat predictor onCreate am: c3f13e01a3 am: f154110338
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I4c18b93c563634f9fb99b49b1eb02e41b347fbc5
2020-06-19 08:00:33 +00:00
Samuel Fufa
b099c497e3
Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I7a6bac1b790d50fe7fb57fba2e8391a124edaeca
2020-06-19 08:00:11 +00:00
Samuel Fufa
630098b8e6
Create hotseat predictor onCreate am: c3f13e01a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: Idceb2e1d52262fb98cef0dbde1c677097380e3c8
2020-06-19 07:47:16 +00:00
Samuel Fufa
f154110338
Create hotseat predictor onCreate am: c3f13e01a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I04f1fc73b11ba5e6cbc9f35aaf9c8b1d8ce991ba
2020-06-19 07:47:05 +00:00
Samuel Fufa
dad117a2c4
Create hotseat predictor onCreate am: c3f13e01a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536
Change-Id: I40c575bf2b7e21bb2ee5dc718c54e7bf1f4240f4
2020-06-19 07:47:04 +00:00
TreeHugger Robot
ab820472fb
Merge "Fixing jump when swiping up in landscape and in waterfall cutout" into ub-launcher3-rvc-dev am: a5e45ad485
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900651
Change-Id: I34dc565be6d7eb5ff3e9f82ba9061aaca171ecdc
2020-06-19 07:27:52 +00:00
TreeHugger Robot
a5e45ad485
Merge "Fixing jump when swiping up in landscape and in waterfall cutout" into ub-launcher3-rvc-dev
2020-06-19 07:17:02 +00:00
android-build-team Robot
07b9612dfc
Snap for 6607158 from 0ccda4c382 to mainline-release
...
Change-Id: I35e8b462e9bf285b3532e090b3343bca40e1baa6
2020-06-19 07:03:32 +00:00
Tony Wickham
1c5a3e082b
Merge "Inline TaskView#resetVisualProperties() into RecentsView" into ub-launcher3-rvc-dev am: f13a51c4b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917351
Change-Id: I6d7f8483d94e7fcd480dca0d1b3bd72f7865f884
2020-06-19 05:52:44 +00:00
Tony Wickham
f13a51c4b8
Merge "Inline TaskView#resetVisualProperties() into RecentsView" into ub-launcher3-rvc-dev
2020-06-19 05:26:32 +00:00
Bill Lin
70b5ca2505
Update state and touch region after one handed overlay changed
...
The matrix for overall modes x state changes:
-----------------------------------------------------
Mode | State changed | *Before|*After
-----------------------------------------------------
OneHanded | Portrait->Landscape | 80dp | 32dp
OneHanded | Landscape->Portrait | 32dp | 80dp
-----------------------------------------------------
OneHanded | Disable->Enable | 32dp | 32dp
(Landscape)| Enable->Disable | 32dp | 32dp
-----------------------------------------------------
OneHanded | Disable->Enable | 32dp | 80dp
(Portrait) | Enable->Disable | 80dp | 32dp
-----------------------------------------------------
NO_BUTTON | Portrait->Landscape | 32dp | 32dp
NO_BUTTON | Landscape->Portrait | 32dp | 32dp
2 BUTTON | Portrait->Landscape | 48dp | 48dp
2 BUTTON | Landscape->Portrait | 48dp | 48dp
3 BUTTON | Portrait->Landscape | 48dp | 48dp
3 BUTTON | Landscape->Portrait | 48dp | 48dp
-----------------------------------------------------
* dimen : navigation_bar_gesture_height
Test: adb bugrepot | grep mOneHandedModeRegion
Test: manually triger one handed
Test: atest WindowInsetsBehaviorTests
Test: atest com.android.launcher3.memory.MemoryTests
Test: flake -once
Test: rnlot -t com.android.launcher3.memory.MemoryTests
Bug: 157958539
Bug: 159183864
Change-Id: I19755938c3c93eb59a9f621af5722f5679c1da14
2020-06-19 10:23:43 +08:00
TreeHugger Robot
cc3e9f0614
Merge "Follow up for ag/11916646" into ub-launcher3-rvc-dev am: 5c33e250fc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11923398
Change-Id: Ia631a5640026628b967814f370e38921ff9186f5
2020-06-19 01:47:06 +00:00
TreeHugger Robot
5c33e250fc
Merge "Follow up for ag/11916646" into ub-launcher3-rvc-dev
2020-06-19 01:42:09 +00:00
TreeHugger Robot
cc764ffc94
Merge "Add spring to workspace scale when going from Hint state to Normal state." into ub-launcher3-rvc-dev am: 92b0b1d0a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11871917
Change-Id: If2b1b8b2e0c9bcb552472f48538f48ca57b8d46d
2020-06-19 01:40:29 +00:00
TreeHugger Robot
92b0b1d0a1
Merge "Add spring to workspace scale when going from Hint state to Normal state." into ub-launcher3-rvc-dev
2020-06-19 01:28:25 +00:00
Tony Wickham
d2fffa6ea5
Inline TaskView#resetVisualProperties() into RecentsView
...
- This was only used in RecentsView#resetTaskVisuals() anyway
- Previously resetVisualProperties() just called resetViewTransforms()
plus setFullscreenProgress(0) and setModalness(0)
- The latter 2, specificially setFullscreenProgress(0) led to problems
such as the bug below. Instead, we should reset to the current
mFullscreenProgress and mTaskModalness.
Bug: task view sometimes shifted up during quick switch
Steps:
- Do the quick switch gesture very quickly
- At the start of the gesture, we call getTasks(), which calls
applyLoadPlan() asynchronously
- applyLoadPlan() calls resetTaskVisuals(), so if this happened
after the gesture ended, we would setFullscreenProgress(0) on all
the task views, hence the upwards shift (if the gesture was still in
progress, it would reapply the real fullscreen progress)
Fixes: 157105795
Change-Id: Idb9d91ff89701d726838b47f955d4300f5ef13bd
2020-06-18 20:25:34 -05:00
Samuel Fufa
c528b9ec23
Add Elevation to work switch
...
+ Switch font style to Google Sans
Bug: 155888857
Test: Manual
Change-Id: I0c289a9cdf559deebddcca08d51c1bd19c3ee4c1
2020-06-18 18:22:17 -07:00
Samuel Fufa
0b0a57f422
Merge "Allow Users to migrate their hotseat when returning from AiAi" into ub-launcher3-rvc-dev am: a529cd0f5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855090
Change-Id: I988af6be3b74c45692adf281448ec2d9d936448e
2020-06-19 01:08:12 +00:00
android-build-team Robot
5fcf876724
Snap for 6606167 from 1fa93354b2 to rvc-release
...
Change-Id: Iadd023cc451b72c60ee42524e173019482b0a63c
2020-06-19 01:06:12 +00:00
Samuel Fufa
1d08cc681c
Follow up for ag/11916646
...
- Fixes launcher breakage
Bug: 159170242
Change-Id: Ib21bfee8d5f63d31a8807ad87ac47d600fb62e7a
2020-06-18 17:57:39 -07:00