Commit Graph

48360 Commits

Author SHA1 Message Date
Pat Manning f77606c8be Merge "Clip taskbar size from bottom of thumbnail in overview." into tm-qpr-dev 2022-07-13 10:43:12 +00:00
Yunfan Chen 4726b4fc21 Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev 2022-07-13 02:45:58 +00:00
Winson Chung 0eb98be739 Merge "Extend accessibility timeout indefinitely before overview screenshot" into tm-qpr-dev 2022-07-13 00:26:28 +00:00
Sunny Goyal eb966492f7 Merge "Generalizing the PredicitonScroll view so that in can be used in all-apps" into tm-qpr-dev 2022-07-12 21:33:17 +00:00
Winson Chung 8bd458b518 Extend accessibility timeout indefinitely before overview screenshot
Test: atest TaplTestsQuickstep#testOverviewActions
Bug: 236730000
Change-Id: I4db9fc01aaa048cead47e14c34df609bb43f3906
2022-07-12 16:31:57 +00:00
Pat Manning 9f61347bc6 Clip taskbar size from bottom of thumbnail in overview.
Remove other TaskView clipping logic as it is always false for other sides.

Fix: 234007059
Test: TaskThumbnailViewTest
Change-Id: I56210605fb8c2f433236a82932aaa2800afe392b
2022-07-12 13:27:25 +01:00
Thales Lima 8693d0a52f Merge "Take account of IME insets" into tm-qpr-dev 2022-07-12 10:34:42 +00:00
Alex Chau fbd9ebd0a0 Merge "Make workspace and hotseat scale down in widgets picker" into tm-qpr-dev 2022-07-12 10:08:20 +00:00
Sunny Goyal c9e5c2bd2a Merge "Adding support for continously capturing view hierarcy in Launcher" into tm-qpr-dev 2022-07-12 05:56:36 +00:00
Sunny Goyal 0eb857666c Merge "Fixing tab width and panner not aligned with the all-apps icons" into tm-qpr-dev 2022-07-12 05:55:43 +00:00
TreeHugger Robot aa9fff3329 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: a356d24c97 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ieee73929fda2f2d4d0a09e7c42a954b3de12cba4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 05:30:15 +00:00
Bill Yi 7ac5b8c51b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 365e4be720 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92b3d8ed01a428d5050ad04f0bf5821b2786d674
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 05:30:11 +00:00
TreeHugger Robot 0488e58e6a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 9bbc46d544 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92f1d010567dc791e6d250529807b51349098079
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 05:30:06 +00:00
Bill Yi d419b08852 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b4e2d0dfc4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9361eafffb06286d7fb10670f0247f8314441934
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 05:29:52 +00:00
Bill Yi dd771ddacf [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6f01bd7532 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id38c6e58b7c454556b4766dc9bf00efc31f97132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 05:29:35 +00:00
TreeHugger Robot a356d24c97 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:55:30 +00:00
TreeHugger Robot 9bbc46d544 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:55:30 +00:00
Bill Yi 365e4be720 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibd9feb46912529ba291b6770cd12a485b5c5c615
2022-07-11 16:23:16 -07:00
Bill Yi b4e2d0dfc4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida0738df20b5ce2570c92c8050bf46c87c2efea3
2022-07-11 16:22:20 -07:00
Bill Yi 6f01bd7532 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I31fe2d40b83c2fda9017ba9f8dcbf47c4b88812c
2022-07-11 16:21:41 -07:00
Sunny Goyal 25972b1f2f Adding support for continously capturing view hierarcy in Launcher
Bug: 238243939
Test: Verified data being captured and dumped
Change-Id: Ibe069d39ccf728f7b953f85085e58976be6e05ac
2022-07-11 15:43:54 -07:00
Sunny Goyal eab51677ae Fixing tab width and panner not aligned with the all-apps icons
Bug: 234008165
Test: Verified on device
Change-Id: Ibec3eed4aef730439d79b086d6ae23b63b66361e
2022-07-11 15:39:32 -07:00
Chilun Huang ac57ddeb4c Workaround to return 1/3 of the position
Some devices in portrait mode have the same symptoms as b/234322284.
Simply return 1/3 of the position like the X axis to solve the problem.

Bug: 238202110
Test: atest Launcher3Tests:TaplTestsLauncher3#testAddDeleteShortcutOnHotseat
Change-Id: Ic7d3756cfbda6673a62b266c6093745b8311e6ac
2022-07-11 15:19:16 +08:00
Hongwei Wang 46f79bda0c Merge "Adjust the auto-pip app bounds for TaskBar" into tm-qpr-dev 2022-07-08 21:31:48 +00:00
Bill Yi 6819c89c53 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: f09f6bae58 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I06df9c7c338b8f8d531ca2450dc9c570ba75e44d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:42:01 +00:00
Bill Yi 055a11e3f5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 53cadeca3b -s ours
am skip reason: subject contains skip directive

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

Change-Id: If591a3abb6d208967074ac67712cf928c24f038f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:41:44 +00:00
Bill Yi 33053ee192 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f1575e527c -s ours am: 2554fa8abf -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie4e8ca64a59629613a16b1523206b262552aa09e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:33:17 +00:00
TreeHugger Robot b95fb20fa3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 8ae4e43732 -s ours am: 3eaaecaa9e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2cfc3f89124475a921f1a1f5dd7fa79ba2fb80ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:28:13 +00:00
Bill Yi 37256ab2af [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ec17e24889 -s ours am: 9976faf55a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8895e003db2c9eb43b08f5f7a3cb74dbe1565f94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:27:58 +00:00
Alex Chau 0c4e11b479 Make workspace and hotseat scale down in widgets picker
- Also centralized workspace content scale percentage to DeviceProfile

Test: manual
Fix: 231699666
Change-Id: I3f8dcb9921e0cd93ad391d51120b189005ad07df
2022-07-08 19:03:48 +01:00
Hongwei Wang 2501f228bd Merge "Ensure sendUserLeaveHint be false when split from Overview" into tm-qpr-dev 2022-07-08 17:02:58 +00:00
Sunny Goyal 251ee0a066 Merge "Removing tabWidth calculation and using DeviceProfile directly" into tm-qpr-dev 2022-07-08 15:39:30 +00:00
Brandon Dayauon ed46b45910 Merge "Add ripple effect to work toggle button and "turn on work apps" button" into tm-qpr-dev 2022-07-08 14:55:07 +00:00
Alex Chau 1eb730a69c Merge "Always return portrait orientation handler when Recents activity can rotate" into tm-qpr-dev 2022-07-08 10:52:01 +00:00
Alex Chau 653cad4ec6 Merge "Use taskbarSize to calculate clippedInsets" into tm-qpr-dev 2022-07-08 10:51:51 +00:00
Alex Chau 2446d706dc Merge "Enable overlay for all fully visible tasks" into tm-qpr-dev 2022-07-08 09:34:53 +00:00
Hongwei Wang a9f258cb12 Adjust the auto-pip app bounds for TaskBar
When on tablet / large-screen devices where TaskBar is present, the
bounds of the recents animation leash would be cut by TaskBar height,
therefore we need to adjust the app bounds for auto-pip accordingly.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fmMql9z3gYIu98ntQYklQU
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hvoqi4bBWyPMgwzEXXrnnC
Bug: 201824622
Test: Enter PiP from GMM on tablet and unfolded foldables, both \
      landscape and portrait, with TaskBar stashed and unstashed.
Change-Id: Id91190b8f0045db4af0f2a3f1993149dc34457ab
2022-07-07 10:41:37 -07:00
Becky Qiu 5672b0991e Merge "[Toast] Add a feature flag to use local overrides for search timeout." into tm-qpr-dev 2022-07-07 17:16:21 +00:00
Brandon Dayauon 96f0bc582d Add ripple effect to work toggle button and "turn on work apps" button
Created new drawable xml specifically for the turn on work apps button because
the dismiss button (x) icon on the EDU card shares this drawable. This way I don't
cause collateral damage for the (x) icon dismiss button.

Changed shape -> ripple in work_apps_toggle background

bug: 229385255
test: Manually on oriole and video in bug thread
Change-Id: Id01bfb04c07a724687b0322339b12c8fc9130dfa
2022-07-07 10:14:07 -07:00
Alex Chau fb790ea6c7 Enable overlay for all fully visible tasks
Fix: 238310277
Test: In tablet, all fully visible tasks have overlay enabled
Test: In handheld, only current and not adjacent tasks have overlay enabled
Test: No overlay in groupedTaskView
Change-Id: I59b8bebc4e701d3042217f9af222db0b5337ea16
2022-07-07 15:59:44 +01:00
Thales Lima f0c633bc48 Take account of IME insets
Fix: 233159032
Test: manual
Change-Id: I2a23c13f7b2bcd8b0c758140dd1fdd5bb800f3f1
2022-07-07 11:57:04 +01:00
TreeHugger Robot eb54e25967 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 3603663168 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9a0997eb7349d2c95a99a9a1dc1fbdc802f4cc79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 01:02:48 +00:00
Bill Yi 3abe85b36c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 01d3a78ec3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia44b5559c39af5cbdcdcdfa313c8d6c5ecd2217c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 01:02:34 +00:00
Hongwei Wang 81dde0d3fb Ensure sendUserLeaveHint be false when split from Overview
This is to ensure that we do not enter PiP when the user intention is to
create split-screen.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gSDHKaYxyTEQ6665rr4lt9
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hTmOVfZDExC14JaJ5fXAZf
Bug: 234070451
Test: Split from menu option when in Overview in both folded and \
      unfolded states, see also videos
Change-Id: Id0a2470f9b37cae2e0897d0570f68909c995f8e0
2022-07-06 16:18:46 -07:00
Pat Manning 6501379fcc Merge "Hide action buttons instead of whole overview actions view in order to show share target." into tm-qpr-dev 2022-07-06 20:05:03 +00:00
Sunny Goyal 9b458a0012 Generalizing the PredicitonScroll view so that in can be used in all-apps
Bug: 234008165
Test: Verified no-functionality-change on device
Change-Id: Ie17d58148b9bdcb08847beb24114b0494437b30e
2022-07-06 12:29:01 -07:00
Becky Qiu da6a8fab1b [Toast] Add a feature flag to use local overrides for search timeout.
Bug: 229038631
Test: manual
Change-Id: I131ee7fc9bd7d09d7a4d4ee3f4577110ed75c0d4
2022-07-06 11:16:00 -07:00
Alex Chau 420ab0a45b Merge "Clean up DisplayController logs" into tm-qpr-dev 2022-07-06 17:27:29 +00:00
Tony Wickham 4b2bf90f2c Merge "Proper fix for gesture nav flicker using runOnPageScrollsInitialized()" into tm-qpr-dev 2022-07-06 16:30:01 +00:00
Tony Wickham ca6480341e Merge "Add null check on mRecentsView in the InputConsumerProxy" into tm-qpr-dev 2022-07-06 16:27:14 +00:00