Commit Graph

50185 Commits

Author SHA1 Message Date
Chilun Huang 4e033bb5bf Workaround to return 1/3 of the position am: ac57ddeb4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220863

Change-Id: I8fe1120d4f4eb0e918c26ea23b60b9fe0b95e195
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 04:04:05 +00: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 0e8d19d321 Merge "Adjust the auto-pip app bounds for TaskBar" into tm-qpr-dev am: 46f79bda0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19138223

Change-Id: Ic64af241e8535061cfbb5cf532dedbd5bbeac82a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 21:47:29 +00: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 5d66c3b37c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: f09f6bae58 -s ours am: 6819c89c53 -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: Id475c656aef3b73738290cb78dd1f967a21a0d2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 21:00:47 +00:00
Bill Yi 1e6d7ee33a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 53cadeca3b -s ours am: 055a11e3f5 -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: Ice2263b44ef05cbc4a780c27e7c4fbed0f0a82fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 21:00:30 +00:00
Bill Yi 4710e19247 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f1575e527c -s ours am: 2554fa8abf -s ours am: 33053ee192 -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: I87f34fffb322f8842342c15c3a0d2df4502ca29a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:54:12 +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
TreeHugger Robot d7005fea17 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 8ae4e43732 -s ours am: 3eaaecaa9e -s ours am: b95fb20fa3 -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: If9c9692eae3c6da5d4722c021663a664711e4744
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:37:22 +00:00
Bill Yi 9f0332aae3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ec17e24889 -s ours am: 9976faf55a -s ours am: 37256ab2af -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: Id77a4cf81516d67dda3039a7eed78a3ad727758a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 20:37:04 +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
Hongwei Wang 314c95030a Merge "Ensure sendUserLeaveHint be false when split from Overview" into tm-qpr-dev am: 2501f228bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19200327

Change-Id: Ic596680288bfbd88fbece03689d1f22445ecca18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 17:19:41 +00: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 f0ee118786 Merge "Removing tabWidth calculation and using DeviceProfile directly" into tm-qpr-dev am: 251ee0a066
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038314

Change-Id: I1df6294c6af71d3327fb15c5527771ae16c3be9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 16:05:19 +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 c3476f4341 Merge "Add ripple effect to work toggle button and "turn on work apps" button" into tm-qpr-dev am: ed46b45910
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19067224

Change-Id: I54a7fbc25bfdf1cdb7185081d08fb6981b9a1b48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 15:11:16 +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 129ef58102 Merge "Always return portrait orientation handler when Recents activity can rotate" into tm-qpr-dev am: 1eb730a69c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19149828

Change-Id: I9e5bccfe2e0433c5bea743010fdce98298ee56d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 11:11:18 +00:00
Alex Chau ee3b9da502 Merge "Use taskbarSize to calculate clippedInsets" into tm-qpr-dev am: 653cad4ec6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19168832

Change-Id: I8a7256b0655ee6dd0fb467230b30a7dfa16e7d41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 11:11:08 +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 11c1ba8bba Merge "Enable overlay for all fully visible tasks" into tm-qpr-dev am: 2446d706dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19197022

Change-Id: I81c900a1ba77f27ed2a7732047af330fa320a8d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 09:50:47 +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 0849216d9d Merge "[Toast] Add a feature flag to use local overrides for search timeout." into tm-qpr-dev am: 5672b0991e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19067225

Change-Id: Iffca1fec36342b561f4e9b1ab172aa3f20b95841
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 17:36:51 +00: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
TreeHugger Robot 32726d2fb0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 3603663168 -s ours am: eb54e25967 -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: I01571cf479c60b9fe23697a3188623f4660dc0da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 01:12:23 +00:00
Bill Yi 00afcfe094 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 01d3a78ec3 -s ours am: 3abe85b36c -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: I2537961df36396ccd588cccadf1d493a74d610bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 01:12:11 +00: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 5ddfc2d9d8 Merge "Hide action buttons instead of whole overview actions view in order to show share target." into tm-qpr-dev am: 6501379fcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19149826

Change-Id: Ifd0d3f3ff3890efb9976b5550b8b80492f9843ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 20:16:29 +00: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
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 9666f6ae27 Merge "Clean up DisplayController logs" into tm-qpr-dev am: 420ab0a45b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19167626

Change-Id: Ib26ff9fb9b97356ea2648f9a5f8991a868ae65de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 17:43:15 +00:00
Alex Chau 420ab0a45b Merge "Clean up DisplayController logs" into tm-qpr-dev 2022-07-06 17:27:29 +00:00
Tony Wickham 7b0cba0590 Merge "Proper fix for gesture nav flicker using runOnPageScrollsInitialized()" into tm-qpr-dev am: 4b2bf90f2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18902861

Change-Id: Iddd40148542e59405c836044592f62ae8fbfcd46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 16:51:28 +00:00
Tony Wickham 885bc9af34 Merge "Add null check on mRecentsView in the InputConsumerProxy" into tm-qpr-dev am: ca6480341e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19153319

Change-Id: I87a6dbe39d9e0d31d09dd9ce81fe0ca068b9ad10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 16:51:20 +00:00
Tony Wickham 5397c871da Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev am: 0c8ceda6e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19136583

Change-Id: I4a0fc50d4de18f6f872bef88d0d9968891567a23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 16:51:02 +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
Tony Wickham 0c8ceda6e7 Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev 2022-07-06 16:25:03 +00:00
Pat Manning 7ab2ff0007 Hide action buttons instead of whole overview actions view in order to show share target.
Test: manual.
Fix: 234606068
Change-Id: I1b7115a6faffd1dcb00528220fe6607f8035c4fe
2022-07-06 14:50:00 +01:00
Thales Lima a70b07d04c Add new hotseat bottom margin options am: b8c0595d42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605485

Change-Id: I9f981862969fb50dab551efdfaeebd7d4aa9ac95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 10:45:33 +00:00
Bill Yi aefbd20299 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 202b03f775 -s ours am: b98b66fa38 -s ours am: ad5e23a980 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92951c29d73b6791d37f5073ea240472df85b1e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 06:50:28 +00:00