Commit Graph

49847 Commits

Author SHA1 Message Date
Miranda Kephart aaa77b8035 Update ImageActionUtils to construct a ScreenshotRequest
Bug: 264457397
Test: atest
Merged-In: Ib629f5d9eed2091f2bc4c1082d5e0dd3d2f9176b
Change-Id: Ib629f5d9eed2091f2bc4c1082d5e0dd3d2f9176b
2023-01-11 12:44:07 -05:00
Tony Huang d058f55578 Merge "Fix divider visibility issue on transient taskbar" into tm-qpr-dev 2023-01-11 03:45:14 +00:00
Jagrut Desai 4aac33824d Merge "Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel." into tm-qpr-dev 2023-01-10 22:58:30 +00:00
Jagrut Desai ef35e84d19 Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel.
Test: visual(video in buganizer)

Fix:261524189, 262589756

Change-Id: I5252281025953753f9184f1b19c534513b5800fa
2023-01-10 22:57:35 +00:00
Alex Chau 616de308b7 Merge "Add debug logs for hotseat disapperaed bug" into tm-qpr-dev 2023-01-10 18:34:08 +00:00
Ats Jenk 83a8dad319 Merge "Fixes to support transient taskbar in desktop mode" into tm-qpr-dev 2023-01-10 18:09:16 +00:00
Shan Huang f43527d5df Merge "DO NOT MERGE Rename BackEvent to BackMotionEvent in LauncherBackAnimationController." into tm-qpr-dev 2023-01-10 16:46:55 +00:00
Thales Lima bdfc07f1f0 Merge "Check kotlin format before uploading" into tm-qpr-dev 2023-01-10 16:41:58 +00:00
Luca Zuccarini d23cd42875 Merge "Make LauncherAnimationRunner compatible with RemoteAnimationRunner." into tm-qpr-dev 2023-01-10 13:50:50 +00:00
Thales Lima 03ac377a34 Check kotlin format before uploading
This uses ktfmt on the PREUPLOAD hook to check file formatting.

Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
Merged-In: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-10 13:24:43 +00:00
Sebastián Franco b66293e96d Merge "Printing the workspace items to improve flake investigation." into tm-qpr-dev 2023-01-09 23:20:51 +00:00
Sebastian Franco 1cf1e3b025 Removing screen recording for testShortcutIconWithTheme
Bug: 260722220
Test: compiles
Change-Id: I7f5ac09bc7e9deb9af3e90dbd99826bb8c4db11f
2023-01-09 14:19:14 -06:00
Jagrut Desai d8ea04a7f6 Merge "Moving Accessibility Annoucement to Task Closed to onEnd animation callback. Test: Manual Fix: 220198279" into tm-qpr-dev 2023-01-09 16:19:04 +00:00
Alex Chau 04658bcd42 Add debug logs for hotseat disapperaed bug
Bug: 260135164
Test: manual
Change-Id: Ic911ba0353b742feb753024543ca19930f11b47d
2023-01-09 12:43:16 +00:00
Vinit Nayak 72b186aefd Merge "Improves overview split adjacent launch animation" into tm-qpr-dev 2023-01-07 00:36:16 +00:00
TreeHugger Robot 2f4a1b9980 Merge "Re-enable AddConfigWidgetTest" into tm-qpr-dev 2023-01-06 21:34:05 +00:00
Schneider Victor-tulias 53808c3ed8 Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev 2023-01-06 18:38:21 +00:00
Sebastian Franco f34f35fddb Printing the workspace items to improve flake investigation.
Recording the screen to investigates flakes on ReorderWidgets
is really useful but it requires changing the code for that and
storing the video and most of the time the useful information
is just the end state so by logging the end state makes resolving
flakes easier

Fix: 261877803
Test: atest ReorderWidgets
Change-Id: If5d9745ebb57826a55b5df9d3599eed56c48298f
2023-01-06 12:29:11 -06:00
Bill Yi a01abba905 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-01-06 18:19:10 +00:00
Sunny Goyal 3da648a80b Merge "Fixing work tab is not updated when work-mode changes" into tm-qpr-dev 2023-01-06 18:11:15 +00:00
Wei Sheng Shih 485c8777cc Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev 2023-01-06 03:27:56 +00:00
Bill Yi 6f5ae3635d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75ef387d8a3b8da1239b8ca39372a75a77435acd
2023-01-05 17:41:08 -08:00
Brandon Dayauon bae7e704a4 Merge "Add logging to work mode switch" into tm-qpr-dev 2023-01-05 23:21:35 +00:00
Sunny Goyal 3c2ee27a01 Fixing work tab is not updated when work-mode changes
Bug: 263399769
Test: Verified on device
Change-Id: I94d8f20bc70f2299d11d539d4821ba7e13253522
2023-01-05 14:53:28 -08:00
Vinit Nayak daffdfa35c Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev 2023-01-05 21:28:23 +00:00
TreeHugger Robot 1973056e40 Merge "Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"" into tm-qpr-dev 2023-01-05 20:04:07 +00:00
TreeHugger Robot 5b860ca3ed Merge "Re-enable the fast scroll in widget picker" into tm-qpr-dev 2023-01-05 19:55:51 +00:00
Vinit Nayak da2819ed5f Improves overview split adjacent launch animation
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)

Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
Merged-In: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 11:54:22 -08:00
TreeHugger Robot 2825d06382 Merge "Re-enabling testShortcutIconWithTheme" into tm-qpr-dev 2023-01-05 19:46:30 +00:00
TreeHugger Robot c46b47853b Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev 2023-01-05 15:29:05 +00:00
Luca Zuccarini 3913716ece Make LauncherAnimationRunner compatible with RemoteAnimationRunner.
Nothing changes in its current usage and behavior, but instead of a
RemoteAnimationFactory we can now also pass a RemoteAnimationRunner.

Bug: 250588519
Test: manual
Change-Id: I51f5a95360401d5f17104519ef91a81aef60923f
2023-01-05 14:12:13 +00:00
Brandon Dayauon 9d38a3fd10 Add logging to work mode switch
Add logging to the work button on work profile, logging when button
is extended and collapsed

bug: 263817965
test: presubmit
Change-Id: I3194d0a1567a9ee995497391350ed5be4b08c3db
2023-01-05 01:40:30 -08:00
Ats Jenk f6ba9499de Fixes to support transient taskbar in desktop mode
Track gesture progress in desktop visibility controller. We need to
allow launcher to resume when gesture is in progress and freeform tasks
are visible.
Update overview state handling in desktop visibility controller. When
overview is enabled, launcher should be made visible, regardless of
freeform state. When exiting overview state, check freeform state to see
what should be shown and enabled.

Bug: 263264985
Test: manual, enable transient taskbar, move app to desktop, invoke transient
taskbar
Test: manual, enable transient taskarb, enable desktop mode, invoke
transient taskbar
Test: manual, disable transient taskbar, move app to desktop, swipe up
to overview
Test: manual, disable transient taskbar, enable desktop mode, swipe up
to overview

Change-Id: I63000441d9cf72769e6efb9d247ab4112c01839d
2023-01-04 17:27:54 -08:00
Sihua Ma db7f098bc1 Re-enable the fast scroll in widget picker
Fix: 258299457
Test: Manual
Change-Id: Ic069f5304827de40be88b80590f5c6c7d88b13b2
2023-01-04 15:47:07 -08:00
Federico Baron 7cb0133d84 Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev 2023-01-04 23:22:36 +00:00
Federico Baron 19aeae3e66 Merge "Add icon scale and alpha animation for entering downloading state from pending state" into tm-qpr-dev 2023-01-04 22:43:38 +00:00
Schneider Victor-tulias 8aa0471591 Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev 2023-01-04 22:08:12 +00:00
Schneider Victor-tulias d8a07fa030 Fix NPE from getting swipe pip to home animator finish transation after the surface has been released
Fixes: 243154747
Test: programmatically added delay to finish transation later
Change-Id: Ia667372678f2224406147f5659c5fc6f61f270ad
2023-01-04 13:53:37 -08:00
Jagrut Desai 7764627216 Moving Accessibility Annoucement to Task Closed to onEnd animation callback.
Test: Manual
Fix: 220198279

Change-Id: I3d9d522cd81b4873fb4b03671384f23b7bb6777f
2023-01-04 16:18:43 -05:00
Sunny Goyal 62ea1f1cb7 Re-enabling testShortcutIconWithTheme
> Updating shortcut id incache the icon cache was the culprit

Bug: 260722220
Test: Verified locally
Change-Id: I0e6bc9b06d1b99e33cb9b1a248647d54bf47dea4
2023-01-04 13:05:42 -08:00
Ikram Gabiyev 4835519ccb Merge "Turn off filter ui if flag is off" into tm-qpr-dev 2023-01-04 19:41:22 +00:00
Schneider Victor-tulias 5455b85291 Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"
This reverts commit 62511de74e.

Reason for revert: bug not reproducing

Fixes: 20747317
Change-Id: I55c1fe8005fee66db53052aab15e152e6d39a34c
2023-01-04 18:27:00 +00:00
Pat Manning 50b82f887c Merge "Use DisplayController INSTANCE for info instead of IDP INSTANCE." into tm-qpr-dev 2023-01-04 13:47:23 +00:00
wilsonshih ae4a9ac0d4 [ShellTransit] Stabilize QuickSwitch test since Launcher can resumed.
QuickSwitch can resume Launcher activity due to transient launch when
shell transition is enabled, waiting for the Launcher leave resume
stage to make the test stable.

Bug: 263907455
Test: atest TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Change-Id: I2e6e0511cba51f4634ccf3da454e4be1dd93ffd1
2023-01-04 07:23:51 +00:00
Vinit Nayak 0d784ee7fb Toggle taskbar button nav assistant availability
* New signals coming in from Sysui reflect the toggle
in Settings for long pressing on home button to
invoke assistant.

Fixes: 255909545
Test: Manual + added unit test for TaskbarNavButtonController
Change-Id: Ic65a80b0b9697990931b7e89756773fb086cc3bd
2023-01-03 20:07:27 -08:00
Ikram Gabiyev 6d3ad6820d Turn off filter ui if flag is off
Fix a bug in a condition determining when to show
filter ui for a certain taskview, making sure
that the ui is off when the feature flag for
multi-instance is off.

Test: reproduced the steps laid out in the bug

Bug: 264218764
Change-Id: Ie745789ad834d56b79de47e5196737eb08b081fa
2023-01-04 00:16:34 +00:00
Federico Baron 2161985b50 Add icon scale and alpha animation for entering downloading state from pending state
When we enter downloading state from being in pending state, we want to run an animation that animates the process of scaling down the icon as well as removing the overlay with an animation

Bug: 254858049
Test: Download a couple of apps with ENABLE_DOWNLOAD_APP_UX_V2 flag on
Change-Id: Ie4f378874aa3cf6597c02b4d7043a34eb51d838c
2023-01-03 14:29:01 -08:00
vadimt d9ca71b1d9 Ignoring failing out-of-SLO test
Test: presubmit
Bug: 243855320
Change-Id: I7795bdae6b30cd663fa4e6cbba118d84d57ec96d
2023-01-03 12:46:43 -08:00
Alex Chau a5c6aad231 LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat
Fix: 261364559
Test: Pull notification shade in overview, 3-buttons stay in place
Test: Pull notification shade in home, 3-buttons translated down
Test: Go to -1, 3-buttosn translated down
Test: Go to AllApps, 3-buttons translated down
Test: Go to widget picker, 3-buttons translated down
Change-Id: I53da354266c60e86599011ba3ddd8b44cde70beb
2023-01-03 18:41:21 +00:00
TreeHugger Robot 39688d2d61 Merge "Update taskbar to spec" into tm-qpr-dev 2023-01-03 17:42:41 +00:00