Commit Graph

49358 Commits

Author SHA1 Message Date
Android Build Coastguard Worker 8d244bcbca Snap for 9260370 from 5602b9e0ad to tm-qpr2-release
Change-Id: I58978371044ed0d7f621c138b0a48a993474d724
2022-11-05 23:25:45 +00:00
TreeHugger Robot 5602b9e0ad Merge "Waiting for the apps-unfreeze flags instead of enforcing it" into tm-qpr-dev 2022-11-05 05:23:13 +00:00
Android Build Coastguard Worker 2ac0cecbf3 Snap for 9257771 from 345ef9ffba to tm-qpr2-release
Change-Id: Ied2a41807a640fe6325f0dbce7e5362828f39018
2022-11-05 01:25:28 +00:00
Sunny Goyal 679ec33cc7 Waiting for the apps-unfreeze flags instead of enforcing it
Bug: 256898879
Test: Will wait for presubmit flakyness to clear
Change-Id: Ie2341338bbebfd892998e078d07d31f003ab8d43
2022-11-04 14:41:14 -07:00
Schneider Victor-tulias 345ef9ffba Merge "Improve RecentsModel log dump for ease-of-use and readability." into tm-qpr-dev 2022-11-04 18:17:51 +00:00
Ats Jenk 70d8a12c60 Merge "Clean up bubbles home gesture flag" into tm-qpr-dev 2022-11-04 17:56:17 +00:00
Sebastián Franco fda1f3c379 Merge "Making code more readable by removing global variable used for optimizations" into tm-qpr-dev 2022-11-04 17:46:22 +00:00
Sebastián Franco c3cefebab4 Merge "Ensure that the reorder preview and what gets submited uses the same solution." into tm-qpr-dev 2022-11-04 17:45:28 +00:00
Schneider Victor-tulias 0994f74f76 Merge "Update all set page navigations settings button callback" into tm-qpr-dev 2022-11-04 17:16:09 +00:00
Sunny Goyal eeaba0903a Merge "Relying on the controller state instead of animator state for icon alignment" into tm-qpr-dev 2022-11-04 15:40:17 +00:00
Jon Miranda 71370c58eb Merge "Update insets for transient taskbar" into tm-qpr-dev 2022-11-04 15:09:12 +00:00
Sunny Goyal 8d3241b359 Merge "Adding support for multiple overlay callbacks" into tm-qpr-dev 2022-11-04 14:13:12 +00:00
Holly Jiuyu Sun 341cd8589c Merge "Update gBoard icon to Go/Search depending on suggestions." into tm-qpr-dev 2022-11-04 03:58:18 +00:00
Ats Jenk 20ed998a51 Clean up bubbles home gesture flag
Flag is enabled by default. Removing as it is no longer used.

Bug: 256873558
Test: mp launcher
Change-Id: I8cdfde754aec7b683ae9e47aa8861ddc41460a59
2022-11-03 20:22:56 -07:00
TreeHugger Robot 12aec8aa29 Merge "Waiting for app install to finish before procedding with the test" into tm-qpr-dev 2022-11-04 02:04:10 +00:00
Sunny Goyal 17b4e8bbda Merge "Removing unused SplitScreen bounds notification from systemUI" into tm-qpr-dev 2022-11-04 02:03:46 +00:00
Jon Miranda 7e8195081e Update insets for transient taskbar
Bug: 252905206
Test: manual
Change-Id: I03bd493dbe63274c8e90cb5e415127a1dd93e9b8
2022-11-03 17:16:48 -07:00
Holly Jiuyu Sun 15bdce40b0 Merge "Bring up IME and focus on input when scroll to top." into tm-qpr-dev 2022-11-03 23:54:31 +00:00
TreeHugger Robot a30a016191 Merge "Update active gesture error detection" into tm-qpr-dev 2022-11-03 23:29:00 +00:00
Android Build Coastguard Worker 7a3d0d7fed Snap for 9253587 from 58502d0236 to tm-qpr2-release
Change-Id: Ic82b36e1e979579013d4139c9ec91cc13f9903bc
2022-11-03 23:27:23 +00:00
Holly Sun b0fb5096ba Update gBoard icon to Go/Search depending on suggestions.
If there is a highlight item, show Go (->) icon. Otherwise, show Search (magnifying glass) icon.

Implement maybeUpdateEnterKeyIcon() in NexusLauncher because it's gBoard specific.

Test: manual. Verify icon changes according to states.
Bug: 183467628
Bug: 210661150
Change-Id: I5dbcb54a37f9d37ae31bf3eaef241ea8a3ede510
2022-11-03 15:59:02 -07:00
Vinit Nayak 7fb1336de7 Merge "Switch to screenshot when finishing recents animation for split select" into tm-qpr-dev 2022-11-03 22:26:36 +00:00
Sunny Goyal 82379187ea Adding support for multiple overlay callbacks
Bug: 193244407
Test: Presubmit
Change-Id: Ic345972056752238e7e46226533fd8f33d664213
2022-11-03 14:37:40 -07:00
Sebastian Franco 5d990eedfd Ensure that the reorder preview and what gets submited uses the same solution.
Design doc: https://docs.google.com/document/d/1RsId9OFGgkcImkkmDwWZBBvITWnGlxKVqniE3cimkqY/edit#heading=h.xzptrog8pyxf

As can be seen in the diagram in b/256770363 on every reorder the
first call in the process is MODE_SHOW_REORDER_HINT so if we make
sure that only then a solution is calculated and we reuse that
solution in the rest of the calls in the same reorder then we would
have more consistency and the animation will always be the same and
the logic state.

Fix: 256770363
Bug: 188081026
Test: atest ReorderWidgets
Change-Id: I93a1d09f5b8cbfbc461043ee3fc41b1cab294fed
2022-11-03 14:11:01 -07:00
Sunny Goyal 774dcd06ae Relying on the controller state instead of animator state for
icon alignment

Bug: 246644619
Test: Presubmit
Change-Id: Iaa4ddd94a6d85acb9f8501263665ea78394815de
2022-11-03 13:42:09 -07:00
Sunny Goyal 50097ef272 Waiting for app install to finish before procedding with the test
Bug: 256659409
Test: Presubmit
Change-Id: Ia0f4cdd072c4c439d09070b0395fcfd6909c2a8f
2022-11-03 13:33:41 -07:00
Schneider Victor-tulias 0d8c5923f1 Update active gesture error detection
- Removed some unused error detection event tracking
- Updated incorrect event tracking
- Added debug new debug gesture logs

Bug: 254250355
Test: attempted several gestures and checked logs
Change-Id: Ia1291a08a9a5842addb93c30eb6d21c6c60916c7
2022-11-03 20:26:09 +00:00
Sunny Goyal 6e78a800c1 Removing unused SplitScreen bounds notification from systemUI
Bug: 221961069
Test: Presubmit
Change-Id: I472a94dd1096a3c44cb378e647927637d9d67bf5
2022-11-03 12:47:41 -07:00
Sebastián Franco 58502d0236 Merge "Wait in ReorderWidgets test for the workapce to load after changing it." into tm-qpr-dev 2022-11-03 18:55:50 +00:00
Schneider Victor-tulias 3ec7111a02 Update all set page navigations settings button callback
Updated the all set page navigation settings button callback to allow going back to the all set page.

Fixes: 256998811
Test: going to the navigation settings then swiping home/going to another app does not allow the user to then go back to all set page. going to navigation settings then going back sends the user back to all set page
Change-Id: I502e2264886c43fe15bed3fab3a241e9713c5da5
2022-11-03 11:12:30 -07:00
TreeHugger Robot 9e1f6002e5 Merge "Add delay after installing dummy app" into tm-qpr-dev 2022-11-03 17:17:09 +00:00
Sunny Goyal fc01c382bf Merge "Removing RemoteTransitionCompat and related wrappers" into tm-qpr-dev 2022-11-03 16:40:27 +00:00
Sam Dubey 52a3bcd4bb Merge "Revert "Support multi users scenarios in Tapl"" into tm-qpr-dev 2022-11-03 11:40:24 +00:00
TreeHugger Robot bcc14682e0 Merge "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile"" into tm-qpr-dev 2022-11-03 11:27:12 +00:00
Sam Dubey a3577293b6 Revert "Support multi users scenarios in Tapl"
Revert "Reduce multi users tests runtime"

Revert "Add PlatformTesting to dependency."

Revert "Move platform testing util to separate gradle module"

Revert submission 20311444-user-switch-nosleep

Reason for revert: Part of DM+Platinum montiro as a likely culprit for b/257210412. Won't be submitted if proven otherwise.
Reverted Changes:
I90b1069de:Support multi users scenarios in Tapl
I706da86a3:Add PlatformTesting to dependency.
I605cd76c4:Move platform testing util to separate gradle modu...
I64b571dc4:Reduce multi users tests runtime

Change-Id: I6310efa59fe1755feb29bef28d890e684b7164c6
2022-11-03 10:08:13 +00:00
Benno Lin 8f669d20d7 Merge "Support multi users scenarios in Tapl" into tm-qpr-dev 2022-11-03 06:42:19 +00:00
Jon Miranda 8ed5ac05fd Merge "Revert "Revert "Add a way to stash/unstash transient taskbar.""" into tm-qpr-dev 2022-11-03 05:58:38 +00:00
Vinit Nayak 20ce6a97fd Switch to screenshot when finishing recents animation for split select
* There's a situation where we can also let the live-tile play
if it wasn't the one selected for split select, but there's
some bug w/ the focused task that causes the thumbnail and live tile
translations to be incorrect.
* But this maintains parity.

Fixes: 255915066
Test: Starting/ending/ignoring live tile in split
never shows the cutout

Change-Id: I2f63ca44a5a1cc16df12e7b3b06ca211dc995f8d
2022-11-02 22:48:36 -07:00
Winson Chung 38779f75da Add delay after installing dummy app
- Testing hypothesis that it's taking a while for the app to be
  properly installed and showing in all apps

Bug: 256659409
Test: com.android.launcher3.ui.TaplTestsLauncher3#testUninstallFromAllApps
Change-Id: Icb1bb8bb9d98751ac8c97b300ecc39372f39c345
2022-11-03 03:47:01 +00:00
Sunny Goyal 031ee4cbcb Merge "Fixing background jump when closing a widget" into tm-qpr-dev 2022-11-03 00:52:47 +00:00
Sunny Goyal 1319de88b4 Removing RemoteTransitionCompat and related wrappers
Bug: 221961069
Test: Presubmit
Change-Id: Ib93640d27a9eb0401882574e37b466163dafa5b3
Merged-In: Ib93640d27a9eb0401882574e37b466163dafa5b3
2022-11-02 23:40:48 +00:00
Android Build Coastguard Worker f36aa4ffbe Snap for 9248884 from ccc8e9fcf4 to tm-qpr2-release
Change-Id: Id53a94e60f2dc011dc38b6e784e92cc3366bb085
2022-11-02 23:25:31 +00:00
Holly Sun a793fc6e2c Bring up IME and focus on input when scroll to top.
Do this behind a feature flag AND only when "Always show keyboard" is selected or in prefix state.

Bug: 218846025
Test: keyboard shown when swiping up for QSB and AA+ (both main and work). Keyboard not shown when either the feature flag or Always show keyboard is disabled.
Change-Id: I3df2e0e44a8313eaf749cd6b91b7f9d0b9b80ec3
2022-11-02 15:19:23 -07:00
Sebastian Franco 4a92267d1d Making code more readable by removing global variable used for optimizations
Using the stack was more efficient because it prevented the creation
of new rectangles but it makes the code harder to read and prone to
bugs if the global state of the stack of rectangles gets corrupted
in any way.

When this optimization was written in 2008 it was necessary but now I
don't think it would have a big impact. The stack size is on average
of 30 and the rectangles are only created when doing the reorder which
runs about once per second if the user moves the finger too quickly.

Bug: 188081026
Test: atest ReorderWidgets
Change-Id: I35d8ee8d92f01035e72fe5763a7de47f4b6a73de
2022-11-02 22:10:14 +00:00
Sebastián Franco ef24d5954c Merge "Return the right radius to start reorder when dragging a Widget" into tm-qpr-dev 2022-11-02 21:19:44 +00:00
Sunny Goyal 39b07fd66c Fixing background jump when closing a widget
We do not add background animation when opening target is translucent
Added additional check to not animate background if launcher is not
closing (which is already a subset of all-targets-translucent)

Also removing reverse background animation from widgets, similar
to app-icons as it is never added for launcherNotClosing path

Bug: 242379946
Test: Added translucent activtiy and widget and verified manually
      that the behavior does not change
Change-Id: Icda8007c0063295bf8431c00a0f0b665ecdef109
2022-11-02 19:17:18 +00:00
Saumya Prakash ccc8e9fcf4 Merge "Removed disabled overview actions at end of scroll" into tm-qpr-dev 2022-11-02 18:30:21 +00:00
Vinit Nayak 626f322343 Merge "Disable Drag from Taskbar in Overview" into tm-qpr-dev 2022-11-02 18:26:02 +00:00
Jon Miranda 575d699edc Revert "Revert "Add a way to stash/unstash transient taskbar.""
This reverts commit afc3bff10b.

Reason for revert: fixing launcher tests broken by original change

We'll only add flags for transient taskbar case

Bug: 256988243
Bug: 256987492
Change-Id: I8915ef5345816316bfb71efc9fc667e4e8db824c
2022-11-02 11:07:27 -07:00
Alex Chau 5dfd939d41 Reland "Add logs for InvariantDeviceProfile.getDeviceProfile"
This reverts commit b065b4b05a.

Bug: 253338238
Change-Id: Idea32130c8ec535f848ded5cff0269d97ea064e2
Test: manual
2022-11-02 17:40:05 +00:00