Commit Graph

62808 Commits

Author SHA1 Message Date
Treehugger Robot 08cd533f79 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-08-16 17:29:47 +00:00
Hongwei Wang 3ca497b646 Merge "Cleanup ENABLE_PIP_APP_ICON_OVERLAY" into udc-qpr-dev 2023-08-16 16:45:33 +00:00
Bill Yi 04ba1ae0c4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iacec47b52312748f25f5e416b821ece95cd308a1
2023-08-15 19:49:21 -07:00
Hongwei Wang 7aded94e94 Cleanup ENABLE_PIP_APP_ICON_OVERLAY
Bug: 296125301
Test: manual, enter PiP from Google Maps
Change-Id: I571fd5450ccf00232c450d82d32783beb99cfecf
2023-08-15 15:44:39 -07:00
Vadim Tryshev b36143551c Suppressing more view capture anomalies
Test: presubmit
Flag: N/A
Bug: 295904861, 295910059, 294891222, 295909454
Change-Id: I6abc34844d0dbfa53d402d4983a71655b256e091
2023-08-15 11:19:46 -07:00
Treehugger Robot 173cf33ac1 Merge "Adding TaplTestsSplitscreen to OOP tests" into udc-qpr-dev 2023-08-15 06:17:05 +00:00
Treehugger Robot b054f79c99 Merge "Reorder code so we can use different displays on the preview render" into udc-qpr-dev 2023-08-14 23:22:06 +00:00
Treehugger Robot 184fa593ed Merge "Improving diagnostics for tests ignored due to @Stability annotation Now they will be shown as ignored, not as passed." into udc-qpr-dev 2023-08-14 22:10:52 +00:00
Treehugger Robot 57065929ee Merge "Skipping view capture analyzer in presubmit" into udc-qpr-dev 2023-08-14 20:51:36 +00:00
Vadim Tryshev 74eddc5490 Improving diagnostics for tests ignored due to @Stability annotation
Now they will be shown as ignored, not as passed.

Bug: 187761685
Flag: N/A
Test: presubmit
Change-Id: I0913577230441c6bd60165138455ea16a759b39b
2023-08-14 20:44:05 +00:00
Sunny Goyal 12bf58feb9 Merge "Removing some unused overrides in Launcher" into udc-qpr-dev 2023-08-14 20:40:28 +00:00
Sebastian Franco 1e4e50149b Reorder code so we can use different displays on the preview render
The existing code almost have the avility to use different display
for the preview by providing a different display id, this change
just make sure the InvariantDeviceProfile is created after we
create a new context with the desired display and we need to use
the default display for the SurfaceControlViewHost

Test: Manual testing, changing the display id on FixedWidthDisplayRatioFrameLayout
Bug: 292152331
Change-Id: I450d94a9a3f1a6a7b0c2b0722a11cf335122de05
2023-08-14 12:56:13 -07:00
Federico Baron ff1428ab1e Merge "Add logs for widget picker image test" into udc-qpr-dev 2023-08-14 18:14:43 +00:00
Vadim Tryshev 9082ba31d7 Skipping view capture analyzer in presubmit
The checks are not sufficient stable yet to be presubmit blockers.

Bug: 286251603
Flag: N/A
Test: presubmit
Change-Id: I3f5466a51018ff4e8de8c00ef7e0ca3fc0ec5436
2023-08-14 10:20:35 -07:00
Treehugger Robot 14e0cc55d9 Merge "Ignoring alpha jumps in ArrowTipView" into udc-qpr-dev 2023-08-14 16:42:30 +00:00
fbaron 575a6ef5f8 Add logs for widget picker image test
The screenshot test is failing in udc-qpr because the search bar is smaller when the screenshot is taken than what the reference image is. Adding logs to figure out what might be causing the search bar to be differently sized in udc-qpr tests (in main WidgetPickerImageTest passes, as well as udc-qpr locally)

Bug: b/294050472
Test: atest WidgetPickerImageTest
Flag: no flag
Change-Id: Ib94773bc411ff97d373af490ca920f6d6ae6cb2d
2023-08-14 09:30:59 -07:00
Treehugger Robot 1c4cb11662 Merge "Add relayout debug support in Launcher" into udc-qpr-dev 2023-08-14 09:43:51 +00:00
Nicolo' Mazzucato 93e7e4b1c0 Add relayout debug support in Launcher
This adds support for measure/layout tracing in Launcher (in sysui it has already been enabled in T)

When enabled, traces for each class measure and layout are output in
a perfetto trace. This adds some overhead, so it's disabled by default, but extremely useful for testing and debugging long doFrames.

To enable request layout tracing for a specific class X, the following helper can be used:

trace_class_layouts() {
        adb shell setprop persist.debug.trace_request_layout  1
        adb shell setprop persist.debug.trace_request_layout_class $1

        adb shell am force-stop com.google.android.apps.nexuslauncher
        adb shell am force-stop com.android.systemui
}

Then, use `trace_class_layouts X` and record a perfetto trace
e.g. `trace_class_layout BubbleTextView`

To just see class breakdown of measure/layout setting `persist.debug.trace_request_layout` is sufficient.

Test: record a trace after enabling options
Bug: 266090955
Change-Id: I4f621ebaaec6a07cd7c0693aa8876158cc60e208
2023-08-14 08:18:27 +00:00
Vadim Tryshev 053f476376 Moving stress tests to postsubmit
They don't consistently fail, but have flakes.

Bug: 187761685
Flag: N/A
Test: presubmit
Change-Id: I07db69259d86093d81ab65a52a8e839269a3dd80
2023-08-12 02:14:55 +00:00
Vadim Tryshev d21fed8f62 Ignoring alpha jumps in ArrowTipView
Bug: 24331680
Flag: N/A
Test: presubmit
Change-Id: I0de76bc2fd8791e03e7722700c72567ef6b913b5
2023-08-11 19:07:00 -07:00
Vadim Tryshev 8c764a0870 Merge "Revert "Revert "Re-enabling a couple of tests""" into udc-qpr-dev 2023-08-12 01:51:46 +00:00
Vadim Tryshev 401cde8d99 Adding TaplTestsSplitscreen to OOP tests
It's a nice addition to our OOP tests, which serve as a kind-of ssmoke check for the system, as well a a test for a proguarded Launcher.

Bug: 187761685
Flag: N/A
Test: presubmit

Change-Id: I196cf0047f0df6cf843615e48252035f216597a0
2023-08-11 18:34:01 -07:00
Treehugger Robot e8f4a6bbaf Merge "Update usage of ExtendedEditText.showSoftInput()." into udc-qpr-dev 2023-08-12 00:57:41 +00:00
Andy Wickham c928369894 Merge "Enable Toast launch animations flags by default" into udc-qpr-dev 2023-08-11 23:21:31 +00:00
Vinit Nayak 8488a7e757 Merge "Animate Split invocation with shell transitions" into udc-qpr-dev 2023-08-11 22:29:59 +00:00
Vinit Nayak 6458c11699 Animate Split invocation with shell transitions
* SplitRoot1/2 and the split left/right roots, but
they also have a parent that's the top-most split root.
* We have to explicitly set the alpha on top most parent
for animations on children to be visible
* This path wasn't being used even w/ shell transitions
enabled but became active after ag/24346391

Test: Launch split from overview and workspace
Flag: None
Bug: 276361926
Change-Id: I267dccbf3402af9b0972371b856a79b7785f986c
2023-08-11 12:59:18 -07:00
Sunny Goyal c1d1e68a82 Removing some unused overrides in Launcher
> Changing AddItemActivity to use RemoteAnimation directly
  to avoidTransitionManager override

Bug: 273828110
Test: Manual
Flag: N/A
Change-Id: I49777e7eeba00319476b0a239bc1cdac37833457
2023-08-11 12:31:49 -07:00
Luca Zuccarini c3c75c28b0 Enable Toast launch animations flags by default
Bug: 270394041
Bug: 270394392
Bug: 262778448
Bug: 293863913
Flag: ENABLE_SEARCH_RESULT_BACKGROUND_DRAWABLES
Flag: ENABLE_SEARCH_RESULT_LAUNCH_TRANSITION
Test: manual
Change-Id: I9019d76045e3f6d931c99c0fc14435b52d8671bf
2023-08-11 18:36:40 +00:00
Vinit Nayak f49367cd96 Merge "Prevent setting mIsStashed in TaskbarStashController" into udc-qpr-dev 2023-08-11 18:32:43 +00:00
Treehugger Robot b043c7ced0 Merge "Disabling flash checks for the whole LauncherDragView" into udc-qpr-dev 2023-08-10 23:03:33 +00:00
Thales Lima 19c41f5932 Merge "Create specs for hotseat" into udc-qpr-dev 2023-08-10 20:08:38 +00:00
Hyunyoung Song 1788bdad7f Merge "Turn ENABLE_LONG_PRESS_NAV_HANDLE flag to server side flag" into udc-qpr-dev 2023-08-10 18:49:26 +00:00
Brian Isganitis c4247d85b4 Merge changes from topic "taskbar-search-ime" into udc-qpr-dev
* changes:
  Support customizing open-close PendingAnimation for Taskbar search.
  Animate AbstractSlideInView translation shift with PendingAnimation.
2023-08-10 16:10:39 +00:00
hyunyoungs f40c799797 Turn ENABLE_LONG_PRESS_NAV_HANDLE flag to server side flag
Bug: 294920095
Test: adb shell device_config put launcher ENABLE_LONG_PRESS_NAV_HANDLE true
Change-Id: Ibc3ad2ade770934660161092e1ab5ef8d1a90eb5
2023-08-10 08:57:12 -07:00
Jordan Silva 3646a1b7e1 Fix workspace and hotseat paddings for responsive grid in landscape
Add paddings for workspace and hotseat when vertical bar is enabled.

Fix: 294033018
Flag: ENABLE_RESPONSIVE_WORKSPACE
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeGridDumpTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Change-Id: I7358d2eb7b7c53b436756c21bd81d4746ea01801
2023-08-10 14:15:35 +00:00
Schneider Victor-tulias 087990668b Merge "Update All Set page vibrations on large screens" into udc-qpr-dev 2023-08-10 13:49:17 +00:00
Thales Lima f8bfb036ba Create specs for hotseat
Some attributes of hotseat change depending on the size of the device. In the future more attributes could be moved to the spec, e.g. hotseat icons.

Fix: 292204436
Test: CalculatedHotseatSpecTest
Test: HotseatSpecsTest
Test: SizeSpecTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Flag: ENABLE_RESPONSIVE_WORKSPACE
Change-Id: I6a4e05d75af819dbf1444a5ca45c2080f55dc203
2023-08-10 10:23:23 +00:00
Hyundo Moon fa3bd7dc8a Merge "Revert "Test: unfold_to_widgets"" into udc-qpr-dev 2023-08-10 07:19:38 +00:00
Surajit Chandra 06da59fcc2 Revert "Test: unfold_to_widgets"
Revert submission 24356173-unfold_to_widgets

Reason for revert: Test Revert b/295248721

Reverted changes: /q/submissionid:24356173-unfold_to_widgets

Change-Id: I7f138c31f306de03d9ec30dda600f7dfb18fcd26
2023-08-10 06:50:43 +00:00
Doğancan Emek 47caf4af5d Merge "Test: unfold_to_widgets" into udc-qpr-dev 2023-08-09 23:09:28 +00:00
Brian Isganitis a7ee532d47 Support customizing open-close PendingAnimation for Taskbar search.
Test: Manual
Bug: 289290185
Flag: No
Change-Id: I9f076875c4bd13c98a3ace8c02d512defa013fdf
2023-08-09 22:23:43 +00:00
Brian Isganitis 0a036e9c15 Animate AbstractSlideInView translation shift with PendingAnimation.
The PendingAnimation gives us more flexibility than the AnimatorSet.

Test: Manual
Bug: 289290185
Flag: No
Change-Id: I3156a659098c44ce9e6b20e5e79e88742add629a
2023-08-09 22:23:41 +00:00
Vadim Tryshev e11268a5b1 Disabling flash checks for the whole LauncherDragView
Flag: N/A
Bug: 295216628
Test: presubmit
Change-Id: Id58f8843d287b5e2e16c47787bd34d1b8a843ca4
2023-08-09 14:25:13 -07:00
Sebastián Franco 1f4d56c01e Revert "Remove flags ENABLE_TWO_PANEL_HOME FOLDABLE_WORKSPACE_REORDE and FOLDABLE_SINGLE_PAGE"
This reverts commit 76a1ceb5f2.

Reason for revert: Add flag back to turn it off for further testing

Bug: 270395274
Merged-In: I10b9e99734b14cbbe8d1190300493099a1f28a24
Change-Id: I10b9e99734b14cbbe8d1190300493099a1f28a24
2023-08-09 20:43:47 +00:00
Doğancan Emek 84226a662d Test: unfold_to_widgets
Bug: 278986839

Change-Id: I8c55a82683a02b4416aff1c152b7ea7f8131f34b
2023-08-09 20:41:22 +00:00
Anushree Ganjam 393dcb246e Merge "Add a new attribute for TEXT_HEADER_ROW" into udc-qpr-dev 2023-08-09 20:07:22 +00:00
Vinit Nayak 51a210d787 Prevent setting mIsStashed in TaskbarStashController
* Partial revert of ag/24139629
* Taskbar showing up where it shouldn't in gesturenav,
this change isn't behind the flag

Bug: 295047555
Change-Id: Ib36b1fed5e25c667e396291a30a68730e1daa517
2023-08-09 12:28:44 -07:00
Vadim Tryshev 7ed637b050 Merge "Implementing detector of view flashes" into udc-qpr-dev 2023-08-09 17:57:15 +00:00
Tracy Zhou 59aa5e696b Merge "Fix nav buttons in task bar disppearing when unfolding from landscape small screen" into udc-qpr-dev 2023-08-09 17:46:27 +00:00
Tracy Zhou a7e48fa6d7 Fix nav buttons in task bar disppearing when unfolding from landscape small screen
Previously we reuse layout params when we switch to a new layout, but not all of the fields we reuse are reset. Due to the variety of fields we update in different layouts and the fact that it's relatively cheap to instantiate a new layout params object, let's start fresh every time.

Fixes: 295057715
Bug: 288311605
Test: put the device to landscape in small screen and then unfold, make sure that the nav buttons show in the task bar
Change-Id: I8e600c2553436f563dd4509a83cc46ce47c0114d
2023-08-09 17:37:38 +00:00