Commit Graph

49925 Commits

Author SHA1 Message Date
Android Build Coastguard Worker d5e93ab844 Snap for 7814197 from 5ec8046f6a to sc-v2-release
Change-Id: I1a22d0ec8621eef924a0ae7695eaeb02318c8b2e
2021-10-12 05:36:09 +00:00
TreeHugger Robot c3496b686d Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev am: 5ec8046f6a am: 953476e27b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16008751

Change-Id: I98df0ac08e5da6bc39be00809a876e8b214a4e7b
2021-10-11 23:32:47 +00:00
TreeHugger Robot 953476e27b Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev am: 5ec8046f6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16008751

Change-Id: I67f6affe4e7b1894ad8993d6e15bb5a51f2e611d
2021-10-11 23:19:48 +00:00
TreeHugger Robot 5ec8046f6a Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev 2021-10-11 23:01:31 +00:00
Vadim Tryshev a666b8f5da Revert "More logging for drop bar not appearing for dragged widget"
This reverts commit 876c15aa1f.

Reason for revert: After this CL, the flake disappeared. Revert to see if this was because of this CL.

Bug: 195031154
Test: presubmit

Change-Id: Ic3c54900927615338d9510ad179e87ee43133e4e
2021-10-11 22:10:50 +00:00
TreeHugger Robot d411c4a41e Merge "Sending Launcher resume event to app predictor" into sc-v2-dev am: 60c64adeed am: 5e5bbff723
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16020107

Change-Id: I8ba97e7d4a92194cd347a762c5d79bc4a547e439
2021-10-11 21:59:36 +00:00
TreeHugger Robot 5e5bbff723 Merge "Sending Launcher resume event to app predictor" into sc-v2-dev am: 60c64adeed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16020107

Change-Id: Ia61fcb85321ec80da8a74fd2a7d2a08870a12463
2021-10-11 21:43:09 +00:00
TreeHugger Robot 60c64adeed Merge "Sending Launcher resume event to app predictor" into sc-v2-dev 2021-10-11 21:22:50 +00:00
Tracy Zhou a4a4002fa5 Transform touch events in landscape mode now that app is on top
Fixes: 193375232
Test: Swipe up from app in landscape mode, interact with Overview, and make sure it's interactive
Change-Id: Ib1838f02d537918b7a13d51a1fdcacbf3d02b99d
2021-10-11 14:04:51 -07:00
TreeHugger Robot 44ac266686 Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev am: 11579eea19 am: 21192886c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015203

Change-Id: I91b37c5388f5e0eb7d2f53ea71ad8c8272fb6f09
2021-10-11 20:22:20 +00:00
TreeHugger Robot 21192886c4 Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev am: 11579eea19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015203

Change-Id: Iafd71c95e0165a7ebc1ad84ca7660f1fcd2f9cc1
2021-10-11 20:04:38 +00:00
TreeHugger Robot 11579eea19 Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev 2021-10-11 19:53:24 +00:00
TreeHugger Robot f56ccbeffc Merge "Add scroll logging to RecentsView behind DEBUG flag" into sc-v2-dev am: 1569754519 am: 98680d64f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015197

Change-Id: I93df9f2d0fa7df501cde11b1beebcb63278d2082
2021-10-11 18:47:37 +00:00
TreeHugger Robot 98680d64f6 Merge "Add scroll logging to RecentsView behind DEBUG flag" into sc-v2-dev am: 1569754519
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015197

Change-Id: I845dbb5fe3c0d891413a5e8d46d58d502edd9485
2021-10-11 18:31:27 +00:00
TreeHugger Robot 1569754519 Merge "Add scroll logging to RecentsView behind DEBUG flag" into sc-v2-dev 2021-10-11 18:13:45 +00:00
Alex Chau 02150305f9 Fix split select scroll range when TaskView aren't shifting
- There is an edge case that when ClearAllButton is visible, no split translation is applied, the offset adjustment needs to be calculated differently in that case
- Also, apply the scrollOffset to the TaskViews / ClearAllButton instead of updating min/max scroll

Bug: 200537659
Test: Split right in grid, split left with clear all button, split left without clear all button
Change-Id: I869c448bbec6aec8fa070e47193a692be6f75e84
2021-10-11 19:02:28 +01:00
Android Build Coastguard Worker fd327f338e Snap for 7810916 from 59d825298a to sc-v2-release
Change-Id: Ie82f15bd0c3f433d8e9150a85a80ed16c53c97fe
2021-10-10 21:08:25 +00:00
Bill Yi 1d6822e5fb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cb6ac8bfc -s ours am: 59d825298a -s ours am: 888b091850 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16019715

Change-Id: Id39f9563a0599bed1550684e98e81609226c406f
2021-10-10 06:22:25 +00:00
Bill Yi d018383627 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cb6ac8bfc -s ours am: 447bd19ff4 -s ours am: 1e1bd9d322 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16019715

Change-Id: I2b1de5cbbac72e6ea1937510d478dd93e429fa2e
2021-10-10 06:20:36 +00:00
Bill Yi 888b091850 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cb6ac8bfc -s ours am: 59d825298a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16019715

Change-Id: I78250bd44994e1c0f8408f4615a00af19508f886
2021-10-10 06:09:24 +00:00
Bill Yi 1e1bd9d322 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cb6ac8bfc -s ours am: 447bd19ff4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16019715

Change-Id: I1af39a2ea2f68eb3ca1fe443d841604371ba013e
2021-10-10 06:09:20 +00:00
Bill Yi 447bd19ff4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cb6ac8bfc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16019715

Change-Id: I40bef9eb41bfedf73ac4bd0ff0050833d2a9623c
2021-10-10 05:55:12 +00:00
Bill Yi 59d825298a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cb6ac8bfc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16019715

Change-Id: Idbf22754989f754a19b2b71a76a81fb41be29596
2021-10-10 05:55:04 +00:00
Android Build Coastguard Worker c98b6bcea3 Snap for 7809322 from 198030c1e0 to sc-v2-release
Change-Id: I396d865eb80460d301a54e277e5c5bb1de0e390f
2021-10-09 21:08:06 +00:00
TreeHugger Robot 1f920c4494 Merge "[Search] Scale up small search icons on drag start" into sc-v2-dev am: 198030c1e0 am: fc659b35d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15987006

Change-Id: I0ba838e7cb58508217c0a979fbf5fb1c7d096c75
2021-10-09 05:28:33 +00:00
TreeHugger Robot fc659b35d4 Merge "[Search] Scale up small search icons on drag start" into sc-v2-dev am: 198030c1e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15987006

Change-Id: I649532a7f6a1811b3a70934a66712aff5b9416ad
2021-10-09 05:13:40 +00:00
TreeHugger Robot 198030c1e0 Merge "[Search] Scale up small search icons on drag start" into sc-v2-dev 2021-10-09 05:01:30 +00:00
Android Build Coastguard Worker 6bda37a623 Snap for 7806961 from 4e9a3d5bdf to sc-v2-release
Change-Id: If6ac2d464732d2852bdccc57f20eb248484b9b15
2021-10-09 01:07:41 +00:00
Sunny Goyal 1b6d43b13e Sending Launcher resume event to app predictor
Bug: 202535375
Test: Manual
Change-Id: I1618a5ed973b9d4f898442647e3e197ed4935aa4
2021-10-08 16:21:56 -07:00
Samuel Fufa c75cdd4d6c Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6 am: 9029902721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I5b3d7943f58aa4858cb592c9335e1ec54eab3691
2021-10-08 23:07:07 +00:00
Samuel Fufa 9029902721 Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I8aa87b6dda2b8ceafc6e5719e938640dd72432ea
2021-10-08 22:52:38 +00:00
Samuel Fufa 8469dc98c6 Merge changes I097134c4,Icfe39c30 into sc-v2-dev
* changes:
  [Work profile][Test] Remove tracing logs for testWorkeduFlow
  [Work Profile] Enable work profile tests
2021-10-08 22:37:09 +00:00
Bill Yi 6cb6ac8bfc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I86a7c11f2696200bc4c5f083d41e603c5f8b256e
2021-10-08 22:34:20 +00:00
Mady Mellor 5fdf2d08fc Add a scrim to taskbar for bubbles expanded state
When bubbles are expanded a scrim is shown on top of
everything. Taskbar is layered above bubbles but we still
need the scrim to show on top of it. This CL adds the
ability to show a scrim on taskbar.

The scrim is a view in the taskbar drag layer and is
placed between the taskbar and the nav buttons so that
it can block touches / scrim the taskbar but still allow
the nav buttons to be visible and touchable.

Add interpolators for alpha matching what bubbles is using.

Test: manual 1 - expand bubbles while taskbar is visible
                 => observe scrim
               - open manage menu
                 => observe darker scrim
             2 - check that taps on scrim collapse manage
                 menu or stack
             3 - check there isn't a scrim while taskbar is
                 stashed and bubbles / manage menu are open
             4 - check that three button nav works while
                 bubbles are expanded
Bug: 197139718
Change-Id: I94c4ecd07f81b2bad55c38525d60f493d3c1f9d8
2021-10-08 14:55:43 -07:00
Jonathan Miranda d85ab8c8d8 Merge "Update folder preview and folder background colors." into sc-v2-dev am: 273aa1c7af am: 6e7544f0a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998135

Change-Id: I0f688a0eb7e490f97043dd347eb97cb0e5b6654e
2021-10-08 18:49:08 +00:00
Jonathan Miranda 6e7544f0a6 Merge "Update folder preview and folder background colors." into sc-v2-dev am: 273aa1c7af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998135

Change-Id: I320055927258577050fdd84d4554f448d8f97449
2021-10-08 18:36:33 +00:00
Jonathan Miranda 273aa1c7af Merge "Update folder preview and folder background colors." into sc-v2-dev 2021-10-08 18:22:06 +00:00
TreeHugger Robot 728bd6f4fe Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev am: 4e9a3d5bdf am: 3b4d624128
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16012847

Change-Id: I6251cd20346c098bbedc37d04ff2ca6b1b6e0ae1
2021-10-08 17:41:02 +00:00
TreeHugger Robot 3b4d624128 Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev am: 4e9a3d5bdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16012847

Change-Id: Ib26957e30803ea5a10ac182f4c182b480fe388ce
2021-10-08 17:29:32 +00:00
TreeHugger Robot 4e9a3d5bdf Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev
* changes:
  When taskbar would be stashed in 3 button mode, hide icons instead
  Add flags to stash taskbar for app pinning and empty hotseat
  Migrate mStashedInApp to FLAGS_STASHED_IN_APP
2021-10-08 17:14:45 +00:00
Thales Lima 919aed4e78 Merge "launcher: refactoring variables into arrays" into sc-v2-dev am: 292a993c4a am: ca8a29846d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992133

Change-Id: Ia22d7339c83468fb7799d7cb0bb7c168de0389bc
2021-10-08 16:44:01 +00:00
Thales Lima ca8a29846d Merge "launcher: refactoring variables into arrays" into sc-v2-dev am: 292a993c4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992133

Change-Id: Id958b647d40248428709567ce50321280283d72b
2021-10-08 16:27:01 +00:00
Thales Lima 292a993c4a Merge "launcher: refactoring variables into arrays" into sc-v2-dev 2021-10-08 16:15:18 +00:00
Alex Chau e95de31304 Add scroll logging to RecentsView behind DEBUG flag
Bug: 202514687
Test: manual
Change-Id: Iec022f2583baa794904242a44a2c8dca8ea4b1be
2021-10-08 16:26:08 +01:00
Thales Lima 83bedbfe97 launcher: refactoring variables into arrays
There are a lot of variables that can be merged together into arrays
following some optimizations done in other places.

Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I1d73fbb5da2df2345ced7f46df5bae5d75d9d6b1
2021-10-08 13:36:56 +01:00
Alex Chau 3220e9521f Avoid scrolling within edgeSensitivityWidth in overview tests
Fix: 202155383
Test: TaplTestsQuickstep.testOverviewActions with 1 task in overview
Change-Id: If137da179d93c9dcf413f431bf437083bfd0e737
2021-10-08 12:43:27 +01:00
Xin Li c4a585be21 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours am: 0ccf3f4fd8 -s ours am: dd241611e5 -s ours am: e3e389a502 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1847668

Change-Id: I3b848895e6241d8f792398e44fefd2c17bec3c8a
2021-10-08 08:59:27 +00:00
Xin Li e3e389a502 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours am: 0ccf3f4fd8 -s ours am: dd241611e5 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1847668

Change-Id: I0eed8f1cccb60a797b89674f878349d333867003
2021-10-08 08:29:16 +00:00
Xin Li dd241611e5 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours am: 0ccf3f4fd8 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1847668

Change-Id: I1de8274053d21518d9cb9202b53bf945f5335a44
2021-10-08 07:56:18 +00:00
Tony Wickham 1bd4bf7ff1 When taskbar would be stashed in 3 button mode, hide icons instead
In 0 button mode, stashing morphs the icons into the home handle. In 3 button mode, that doesn't make sense, but we should still hide the icons (and just keep the 3 nav buttons). You still can't manually stash via long press in 3 button mode, but this will address other states where we automatically stash the taskbar when we want to hide the icons from users (e.g. when pinning an app).

Test: Pin an app from overview in 3 button mode, ensure the taskbar icons disappear until unpinning
Bug: 190192993
Change-Id: I499c59bd9d7871ff64696b67065cf9d4863222a5
2021-10-07 23:29:41 -07:00