Commit Graph

3125 Commits

Author SHA1 Message Date
Jason Chang
d46df5915f Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev am: 9bc712f267 am: 92f45a5019
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14527644

Change-Id: I35790ebb84f2ba2c0b06a8622efb945399bab598
2021-05-28 03:29:15 +00:00
Josh Tsuji
ef6f1f2446 Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev am: bdb4ed711c am: 07bf81d6b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471950

Change-Id: Ib4867bd971b67da411ad0bc6227fc7edee627176
2021-05-28 02:37:50 +00:00
Winson Chung
94aa8376c3 Merge "Add missing call to finish the home animation" into sc-dev am: 9b45bce963 am: de43d21ebb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14729812

Change-Id: I93dd340312b7078f9b3c3fbbf775553238168aa4
2021-05-28 02:37:38 +00:00
TreeHugger Robot
1de2721289 Merge "Enable unpausing apps from the workspace." into sc-dev am: a07c2efdf6 am: 112ab6236f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14704506

Change-Id: I8165be64914e8402298e3d75b69be59da8755984
2021-05-28 02:37:34 +00:00
TreeHugger Robot
5f8e181748 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev am: d50d21b602 am: e379d59e4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722085

Change-Id: I1d0c313fc75d23e3d5bc20fc7552033143e837ed
2021-05-28 02:37:25 +00:00
TreeHugger Robot
111e8a75ea Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev am: b1858afaf2 am: 9abd4fd726
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678275

Change-Id: I1d44780c57cf6a93b84fd232485c306898edcba4
2021-05-28 02:37:11 +00:00
Schneider Victor-tulias
22310b100c resolve merge conflicts of 694b667138 to sc-dev-plus-aosp am: 1ba3704c5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753367

Change-Id: Ib8467f9c2a54d55277bc57ab35ecfcd2d4022a0b
2021-05-28 02:37:02 +00:00
Jason Chang
9bc712f267 Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev 2021-05-27 05:31:13 +00:00
Josh Tsuji
bdb4ed711c Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev 2021-05-27 00:29:01 +00:00
Winson Chung
9b45bce963 Merge "Add missing call to finish the home animation" into sc-dev 2021-05-27 00:00:34 +00:00
Winson Chung
45ecd6aa7d Add missing call to finish the home animation
- This reset the task view's show-screenshot state to show the
  snapshot the next time the task view is visible

Fixes: 186143625
Test: Enter pip w/ autoenter pip app, swipe up to overview
Change-Id: I6a1ec3d0654a33b228f97a6009145450e72e8d48
2021-05-27 00:00:24 +00:00
TreeHugger Robot
a07c2efdf6 Merge "Enable unpausing apps from the workspace." into sc-dev 2021-05-26 22:24:40 +00:00
TreeHugger Robot
d50d21b602 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev 2021-05-26 22:07:52 +00:00
Schneider Victor-tulias
9909544c8a Update gesture nav colors and animation for dark/light theming
- Added light mode gesture feedback animations
- Added color resources for the fake launcher wallpaper. Also using these color resources in the feedback animations for consistency
- Using fake previous app task color in feedback animations for consistency

Bug: 169687177
Test: manual
Change-Id: I1d28212e02c2ae750ce6241b64aa90f52b827c76
2021-05-26 12:34:29 -07:00
TreeHugger Robot
b1858afaf2 Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev 2021-05-26 18:05:33 +00:00
Lais Andrade
b1ef5e5c55 Add haptic feedback to Launcher recent apps scrolling
Add light LOW_TICK effects when the scrolling on RecentsView
snaps to a page, and a stronger TICK effect when the edges
absorb the scroll (by scrolling fast towards one of the edges).

Fix: 182382085
Test: manual
Change-Id: Ifb917ae499f73607707773f9870eb39cd6fe16ef
2021-05-26 13:37:30 +01:00
TreeHugger Robot
694b667138 Merge "Update Gesture nav tutorial." into sc-dev 2021-05-26 09:20:18 +00:00
Jason Chang
da85cb91f1 Migrate trigger logic to fullfill new UI changes for
One-handed mode settings.

According to new key visual changes for One-handed mode,
modify the trigger condition to reflect the changes.

Bug: 175851783

Test: manual
Test: atest WMShellUnitTests
Change-Id: I4d734b31cafd5ce884010642b5e613c3deadfb20
2021-05-26 14:39:56 +08:00
Evan Rosky
a7b9f89e5b Merge "Fix launcher-in-transition-targets detection" into sc-v2-dev 2021-05-26 01:06:36 +00:00
Samuel Fufa
7c6515f59e Merge "[Search] Resolve afterimage when closing allapps" into sc-dev am: 53ec9a4e06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722826

Change-Id: I78761a5b262e7c182eeeab44aebdcb46e62a7c45
2021-05-26 00:46:06 +00:00
Samuel Fufa
53ec9a4e06 Merge "[Search] Resolve afterimage when closing allapps" into sc-dev 2021-05-26 00:42:58 +00:00
TreeHugger Robot
884c22fb0d Merge "Set mEnableDrawingLiveTile = false in RecentsView#reset()" into sc-dev am: e81ac4f170
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14723558

Change-Id: Idc93ece04633575d328b1c6575952566485e184d
2021-05-26 00:31:54 +00:00
TreeHugger Robot
a8c8b9d88d Merge "Crossfading splashscreen if icon is themed" into sc-dev am: 55060ca7ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14687100

Change-Id: I77a11e42d2704a07c2a3a9307c79dcab6cbdb69c
2021-05-26 00:31:04 +00:00
TreeHugger Robot
e81ac4f170 Merge "Set mEnableDrawingLiveTile = false in RecentsView#reset()" into sc-dev 2021-05-26 00:29:11 +00:00
TreeHugger Robot
55060ca7ea Merge "Crossfading splashscreen if icon is themed" into sc-dev 2021-05-26 00:26:22 +00:00
TreeHugger Robot
89c8b063eb Merge "Overview - Remove the space withheld for proactive chips" into sc-dev am: d98a784d0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706422

Change-Id: Idaaa1ab0c829f0e65ca6131cceda25f502914b10
2021-05-26 00:16:14 +00:00
TreeHugger Robot
d98a784d0e Merge "Overview - Remove the space withheld for proactive chips" into sc-dev 2021-05-26 00:11:18 +00:00
Vinit Nayak
3716f61615 Merge "TaskMenu in overview UI polish" into sc-dev am: b74b9d2966
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14604156

Change-Id: If7567a5c2639b03d95ffb1b34bf3466858d2f67d
2021-05-26 00:01:48 +00:00
Vinit Nayak
b74b9d2966 Merge "TaskMenu in overview UI polish" into sc-dev 2021-05-25 23:56:00 +00:00
Tony Wickham
1fe96abb86 Set mEnableDrawingLiveTile = false in RecentsView#reset()
This should help ensure we only finish the recents controller when we're actually still in live tile mode.

Test: theoretical (no repro steps)
Fixes: 187354606 (hopefully)
Change-Id: If0632f03535e4aafaea751724f080f272a6af58f
2021-05-25 15:59:31 -07:00
Samuel Fufa
41f15a107f [Search] Resolve afterimage when closing allapps
Preview: https://drive.google.com/file/d/1AM6WAY4kImCgHueNvH6eXUtnHgK3U6vo/view?usp=sharing&resourcekey=0-3mzBobzFuzQXCNZRUlToYA
Test: Manual
Bug: 184711608
Bug: 188556051
Change-Id: Ib43c71083460c236347dd1f340b1ad95d7d4aa15
2021-05-25 17:34:18 -05:00
zakcohen
dad8a80d19 Overview - Remove the space withheld for proactive chips
Remove the space in the ui that was being used for chips.
Centralize some of the logic around calculating the action margins to aid
that.

Bug: 179922117
Test: Local build and flash and run
Change-Id: Icd2f894c858fab475c5411f3f7c412b899d5b220
2021-05-25 15:29:08 -07:00
Vinit Nayak
063cb2d892 TaskMenu in overview UI polish
Bug: 188168717
Test: TaskMenuLooks closer to mocks.
Change-Id: I1560b66a48c4c70c7c79f7307b2b76f22e30c653
2021-05-25 14:42:35 -07:00
Schneider Victor-tulias
8a3a857668 Update Gesture nav tutorial.
- Seperated back left and right edge tutorial steps
- updated back left and right tutorial step strings
- Removed feedback view timeout
- Added accessibility focus on title when feedback view appears
- Added logic to show feedback when the tutorial fragment is stopped then resumed

Test: manual

Bug: 169687177
Fixes: 188116424
Fixes: 188115939
Fixes: 188124784
Fixes: 188555152
Fixes: 188972969

Change-Id: I97755a455bf3fa4674955d5cc91ed8b02f484b76
2021-05-25 14:16:41 -07:00
Sunny Goyal
6ba7479cf5 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I4683179ba16afb819a7059ea3fa5f1f2321c72ff
2021-05-25 18:43:35 +00:00
Sunny Goyal
c4c3269206 Crossfading splashscreen if icon is themed
Bug: 188840653
Test: Manual
Change-Id: Ibd00bb1a94576a7512872eba39a936c174f9871d
2021-05-25 18:25:18 +00:00
Sunny Goyal
47da5d628c Merge "Using icon color for dot and halo" into sc-dev 2021-05-25 18:24:56 +00:00
Evan Rosky
e902918a31 Fix launcher-in-transition-targets detection
Shell transitions promotes animation up to root task so
we can't compare to leaf-taskid derived from ActivityRecord.getTaskId
since home tasks are all children of a root and thus aren't
organized.

This replaces the task-id check with a componentname check.

Bug: 172695387
Test: with shell transit enabled, launch an app from launcher
      and observer launcher content animating.
Change-Id: Ieeca72b57ec47c9cbe15e635f5026b53edebd0ad
2021-05-25 10:22:54 -07:00
András Klöczl
adbe369451 Merge "Add two panel home support for page binding logic" into sc-v2-dev 2021-05-25 12:04:55 +00:00
shawnlin
b3b2b64588 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I9e8632a69c8baa0ffdb4b3d1e83d3f361e40d340
2021-05-25 11:55:07 +00:00
shawnlin
3380ab3053 Support the nav animation in widget launch remote animation
Launcher now support remote animation for widget but doesn't add the nav
animation for this type of animation.

Add the nav animation in widget launch remote animation in launcher.

Bug: 185303414
Test: manual - launch a widget in launcher and observe the nav bar
Change-Id: I11f4bd75b9624118b8ffef09c99f54fc7f1fbbca
2021-05-25 03:43:25 +00:00
Schneider Victor-tulias
b199e20acc Enable unpausing apps from the workspace.
Fixes: 188675002
Test: manual
Change-Id: I02715450016e9b91fff774525b5e32c337c74547
2021-05-24 21:44:29 +00:00
Andras Kloczl
55edfe55f7 Add two panel home support for page binding logic
There's a logic which prioritizes the binding for the
current page and defers the other pages' binding.
If two panel home is enabled, we want to bind both pages
together. LauncherPageRestoreHelper has been created to
contain the logic for persisting restoring and calculating
which pages to load immediately.

Test: manual + run LauncherPageRestoreHelperTest robo test
Bug: 174464691
Change-Id: I57ac3f7150303b95b272e922f44bda26f9d5ce2a
2021-05-24 23:22:06 +02:00
Alex Chau
960a2b2696 Always focus a task in overview
- Focus first task when applying load plan
- Focus the next task in shorter row when focused task is dismissed, scale the snapshot and translate the task into focused position
- Always show actions view as there is always a focused task. Update scroll alpha when toggling grid enabled
- In fallback recents, take into account that home task will be dismissed when determining rows for the grid, ensuring next focused task won't affect row balancing
- Bring back clearAllShortTotalCompensation as there isn't always a snappedTaskView (e.g. when snapped to ClearAllButton)
- Ensure that getFocusedTaskView is only used when showAsGrid is true

Bug: 187839470
Fixes: 188001858
Fixes: 189057812
Test: manual
Change-Id: I6f31ef469c58fda70d2dd8caa2ee7d8a80c7f03b
2021-05-24 18:13:04 +01:00
Jonathan Miranda
f3649f5e98 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I4090adb746e959d66ac33940e1989ea30c97ee8f
2021-05-22 04:38:50 +00:00
Jonathan Miranda
81f5ff3b3b Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev 2021-05-22 03:45:29 +00:00
Sunny Goyal
12829aee27 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: Ic3aa579ebc2df7b3053f8df14bceebea0e2850aa
2021-05-22 02:32:40 +00:00
Jon Miranda
7c9dca2df2 Fix PathParser error when parsing app close interpolator in RTL languages.
Setting locale to english so that the numbers don't get reverted

Bug: 188552618
Test: set language to arabic, swipe up to home
Change-Id: I736c83984b472d9ad09207927743c87b18637db4
2021-05-21 17:20:07 -07:00
Sunny Goyal
5584513500 Renamin TaskbarContainerView to TaskbarDragLayer
Bug: 187353581
Test: Presubmit
Change-Id: I9164a956aaa896111f287ab4e97b091a7d4d30ee
2021-05-21 14:42:18 -07:00
Sunny Goyal
6755587219 Using icon color for dot and halo
Bug: 188839628
Test: Manual
Change-Id: I8a393cc7073d5a249619b4033ec860c55f17167a
2021-05-21 12:57:38 -07:00