Commit Graph

43233 Commits

Author SHA1 Message Date
Android Build Coastguard Worker 74f032b411 Snap for 7814207 from c3496b686d to tm-release
Change-Id: Idf2df60a9e44af0805d81753daf2daedaf672224
2021-10-12 03:08:05 +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
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 58feaf97f2 Snap for 7811251 from 1d6822e5fb to tm-release
Change-Id: I8de60e88af90a183bf3dc8a1c6bfcdc6314fe994
2021-10-11 01:08:05 +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 4959baa195 Snap for 7809943 from 1f920c4494 to tm-release
Change-Id: Ie0fd28479c823a8b7726212100d6bc741e64947f
2021-10-10 01:08:12 +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
Android Build Coastguard Worker 495d9df8bb Snap for 7809064 from c75cdd4d6c to tm-release
Change-Id: Iee6b33e8759c7890306bb289dd323ae07fa8c575
2021-10-09 05:09:30 +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
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
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
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
Tony Wickham db0c2f1b79 Add flags to stash taskbar for app pinning and empty hotseat
Test: pin an app from overview, watch taskbar stash automatically until unpinning
Test: turn off suggestions for hotseat, remove all items and watch taskbar stash automatically when opening an app
Fixes: 190192993
Fixes: 193937948
Change-Id: Ia7260c60a820af1a48c9e4a400a52753baf34d41
2021-10-07 23:29:41 -07:00
Tony Wickham 772732de9e Migrate mStashedInApp to FLAGS_STASHED_IN_APP
This is to prepare for different flags that could cause taskbar to be stashed in an app without the user explicitly long pressing to stash.

Test: run wwdebug and wwlogcat, ensure still get logs for long press stash events; other interactions like clipping tasks to above unstashed taskbar still work as before
Bug: 190192993
Bug: 193937948
Change-Id: I90846e650a438e03bdcfdf9c4bf919e19cc5abb3
2021-10-07 23:29:34 -07:00
TreeHugger Robot 89d3205314 Merge "Enable QUICK_WALLPAPER_PICKER for droidfood." into sc-v2-dev am: 96ddd1cfd8 am: 1fb3837973
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010252

Change-Id: If556bf82e505efb912d15d72f825e657f93445bb
2021-10-08 03:16:10 +00:00