Commit Graph

62651 Commits

Author SHA1 Message Date
Tracy Zhou a6bf4c25c8 Update nav button color when nav button layout changes
Bug: 288311605
Test: Rotate the screen in small screen, make sure the button colors are correct
Change-Id: I36ae980fbe239ea4e1ebb63200ee876b690cf218
2023-08-01 11:14:27 -07:00
Andy Wickham fd35baa3f8 Merge "Revert^2 "Change Overview Actions to round buttons."" into udc-qpr-dev 2023-07-28 21:57:54 +00:00
Liran Binyamin 43e67c277b Merge "Set the stash handle bounds deterministically" into udc-qpr-dev 2023-07-28 19:54:42 +00:00
Liran Binyamin 5c936d6246 Merge "Don't animate in the bubble bar unless there are bubbles" into udc-qpr-dev 2023-07-28 19:54:29 +00:00
Charlie Anderson 6702ed1e19 adding popup test files and allow for selecting activity to use
Test: manual
Bug: 289228540
Flag: N/A
Change-Id: Ie78cd39d5636d8737b80a809fb22328de574f0c0
2023-07-28 10:07:00 -04:00
Vadim Tryshev 163633a916 Merge "Optimizing application of the ignore-list of nodes for AlphaJumpDetector. Instead of building the full path of each node, and then searching it in the PATHS_TO_IGNORE set, we are descending the tree of the nodes to ignore. This saves us building the whole path for each node." into udc-qpr-dev 2023-07-28 00:40:29 +00:00
Treehugger Robot 06cb9634af Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev 2023-07-27 23:05:19 +00:00
Vadim Tryshev 4824afe538 Optimizing application of the ignore-list of nodes for AlphaJumpDetector.
Instead of building the full path of each node, and then searching it in the PATHS_TO_IGNORE set, we are descending the tree of the nodes to ignore. This saves us building the whole path for each node.

Now that AlphaJumpDetector has more fields specifically for alpha jump detection in AnalysisNode, I’ve introduced an abstraction of per-detector data in AnalysisNode, see the ‘detectorsData’ field. Each detector (alpha jumps, flash, position jump), will be able to add its own data to AnalysisNode without polluting it.

Flag: N/A
Test: presubmit, local runs
Bug: 286251603
Change-Id: Iac8504edfe43407a75e7fc4a39e21bfca502b090
2023-07-27 15:26:11 -07:00
Sebastián Franco 319b10f3b6 Disable FOLDABLE_SINGLE_PAGE
The functionality should go back to the same as with phones.
There shouldn't be issues with the reorder or similar behavior since we
are switching form using the MultipageCellLayout to the regular
CellLayout.

The things we need to pay attention to is the the behavior of having two
panels like adding the right number of panels when loading (folding, unfolding and rotating).

Bug: 291822492
Change-Id: I903873e32f35c5ee9e0f3da8581a37d4087d021f
Test: ReorderWidgets
Meged-In: I903873e32f35c5ee9e0f3da8581a37d4087d021f
2023-07-27 21:12:38 +00:00
Anushree Ganjam 3c2a696391 Merge "Post the mSearchUiManager.resetSearch() to next frame." into udc-qpr-dev 2023-07-27 20:59:47 +00:00
Bill Yi 70d7719a39 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours am: a1ebb61476 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idf66024e3d54d19b400b8ea414d4e896d620a4bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:50:24 +00:00
Bill Yi 35c5195bf7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours am: 54b663017a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib90bc6eefd2f182465cbc0ee7d844c23a41799f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:50:13 +00:00
Treehugger Robot 455ede8b4e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 6fed3c88c4 -s ours am: b14567e102 -s ours am: d842dcce36 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I73a0f6ca1c0fe3048cd6833a2d852bb9b20954b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:47:53 +00:00
Bill Yi e45106454a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d8cca7c8cb -s ours am: d87d21baa3 -s ours am: 7eddcfb4f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I345969e133a59e601553077f37389fc1f11ce60b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:47:41 +00:00
Bill Yi 394b8149be [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7350b79bfb -s ours am: 2a2b8fe6f7 -s ours am: 87dca9f10e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5a226c7901b195531ff4b6a1f00aac4d6e7d43a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:46:26 +00:00
Bill Yi a1ebb61476 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I41dd3ee75a1860f574858ce0ae2074b9fd48ce82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:17:51 +00:00
Bill Yi 54b663017a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I95ab4c7246b44df26eeb02d23d3f0f3fd9620cbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:17:37 +00:00
Treehugger Robot d842dcce36 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 6fed3c88c4 -s ours am: b14567e102 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibdff8a923a9634605ee1f8225bbef077944f2d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:00:48 +00:00
Bill Yi 7eddcfb4f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d8cca7c8cb -s ours am: d87d21baa3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6430918b2681c5022243792f9c2fcbb5f5f65ba6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:00:39 +00:00
Bill Yi 87dca9f10e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7350b79bfb -s ours am: 2a2b8fe6f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifc8aa5ec188409d849de43ff80f90816041b3734
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:00:15 +00:00
Treehugger Robot 2e6fa0d411 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-07-27 19:23:44 +00:00
Treehugger Robot 42b5cf6ee6 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-07-27 19:23:44 +00:00
Bill Yi c78664766e Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-07-27 19:21:11 +00:00
Treehugger Robot b14567e102 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 6fed3c88c4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icd2980a367f1e9e23f802fc92762ce02c22b64ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:20:02 +00:00
Bill Yi d87d21baa3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d8cca7c8cb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9f85944234447dd5eee42b3a372a6817d11a78a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:19:51 +00:00
Bill Yi 2a2b8fe6f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7350b79bfb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I53f6ddba02bbc6fbb8fa8227e6f304a5201d8a11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:05:13 +00:00
Treehugger Robot 6fed3c88c4 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-07-27 18:23:30 +00:00
Luca Zuccarini cf5703f614 Merge "Animate depth from the right value on Taskbar All Apps launches." into udc-qpr-dev 2023-07-27 09:58:26 +00:00
Brandon Dayauon d6c00c7114 Merge "enable flags: ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev 2023-07-26 22:51:55 +00:00
Andy Wickham be8981442a Revert^2 "Change Overview Actions to round buttons."
f849f2856f

Fix: 293081298

Change-Id: Iaf1553770329ec3a6c6d8a2d9d81b60203e79ed8
2023-07-26 20:56:05 +00:00
Bill Yi 0aa222932a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7b62446d097c5c0cf9b0d627661f71f7b7e1ca02
2023-07-26 13:42:51 -07:00
Bill Yi ca00f219c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I129f717c91f3f0cce914a9e6c0a0315ef3720cac
2023-07-26 13:41:04 -07:00
Schneider Victor-tulias 06ca4d9c6e Merge "Fix flaky RuntimeException in CellLayout." into udc-qpr-dev 2023-07-26 20:35:15 +00:00
Liran Binyamin f172c0b3b5 Set the stash handle bounds deterministically
The bounds of the bubble stash handle is calculated based on the bounds of
the bubble bar. The problem is that the bubble bar could be invisible, which
results in incorrect bounds set for the handle.

This change sets the bounds for the handle based on the width of the screen.

Fixes: 290992144
Test: Manual
        - Remove bubbles
        - Restart Launcher
        - Open the bubble test app and double tap on a chat
        - Observe that the handle animates in
Change-Id: Ida260014d59b88387de010891c18057f3b091e93
2023-07-26 15:38:58 -04:00
Liran Binyamin 95d84f5e06 Don't animate in the bubble bar unless there are bubbles
Fixes: 290608658
Test: Manual:
      - Remove all bubbles
      - Lock and unlock device
      - Observe that bubble bar is not displayed

      - Remove all bubbles
      - Restart launcher process
      - Observe that bubble bar is not displayed

Change-Id: I850d307394230968f86abc23ba0b4e94f55e10f0
2023-07-26 15:38:47 -04:00
Treehugger Robot 372f88dd23 Merge "Add one flaking view to alpha-jupms ignore list" into udc-qpr-dev 2023-07-26 18:49:20 +00:00
Treehugger Robot 17988825f2 Merge changes I45b6f858,I28120248 into udc-qpr-dev
* changes:
  Verifying that ViewCapture data is not empty
  Restoring starting capturing existing activity.
2023-07-26 18:33:07 +00:00
Ats Jenk 38a7faf04e Merge "Use hasBeenResumed() for checking if launcher is resumed" into udc-qpr-dev 2023-07-26 18:18:11 +00:00
Schneider Victor-tulias 750c5af2da Fix flaky RuntimeException in CellLayout.
Changing the grid while a previous loader is running (more likely to happen in test) can cause a saved item info to have a cell position outside the bounds of the new grid. This should just be handled the same way as other item infos being loaded in an occupied space.

Flag: not needed
Fixes: 233989158
Test: changed grid sizes multiple times
Change-Id: Ibba337c224e7a08533331a87b1369ebf96e3c9a3
2023-07-26 10:20:24 -07:00
Treehugger Robot 46c1b631d6 Merge "Add jank monitor for CUJ_QUICK_SWITCH from home screen" into udc-qpr-dev 2023-07-26 16:16:47 +00:00
Luca Zuccarini 627d67549f Animate depth from the right value on Taskbar All Apps launches.
`MyDepthController` in `QuickstepTransitionLauncher` assumes that we
want the background to always animate the same way, matching the rest
state of the workspace (depth == 0). However, in Taskbar All Apps the
background is visible, and depth != 0. We now initialize the one-off
`DepthController` for launches to take into account the latest depth set
by the top level `DepthController`, so there is no jumpcut at the
beginning of the animation.

Note that in my opinion we should use the same `DepthController` for all
cases, rather than having this one-off. I'm looking into the feasibility
of that change, but for now this fixes the issue at hand.

Fix: 292959100
Flag: N/A
Test: manual, see videos in the bug

Change-Id: Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca
2023-07-26 15:37:44 +00:00
Bill Yi 7350b79bfb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I96cce710ae4548fa8f50f996e2f4528ce35c6840
2023-07-26 08:01:31 -07:00
Bill Yi d8cca7c8cb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ica6034d7c219f6275ea2110d1689a15fa34c69c5
2023-07-26 07:59:31 -07:00
Bill Yi efdab72c00 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4e2edca61ed43c235d0ad175d9c763f137a1858d
2023-07-26 07:58:46 -07:00
Vinit Nayak dc53fdc717 Merge "Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD" into udc-qpr-dev 2023-07-26 00:50:33 +00:00
Anushree Ganjam 135eee0410 Post the mSearchUiManager.resetSearch() to next frame.
SearchBox gets cleared in the current frame even before we read the
input entered by the user. So clear the searchbox in next frame after
onAllAppsTransitionEnd is completed.

See ag/22266746 where this change was introduced and I want to move the resetSearch() call to next frame.

Bug: 287693114
Test: Manual . Tested with both Floating search box on and off.
Flag: NA

Change-Id: I11509cf652f96847ad3c54f20a76f2a728775fe3
2023-07-25 22:34:54 +00:00
Schneider Victor-tulias c73b653e1d Merge "Fix home animation jank when quickly pressing home button" into udc-qpr-dev 2023-07-25 21:01:47 +00:00
Tracy Zhou 2a8a40c4a8 Merge "Add quick switch to trackpad gesture tests" into udc-qpr-dev 2023-07-25 20:11:22 +00:00
randypfohl d2739609b5 Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730 am: b947238a9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953

Change-Id: Iacb77a5aa57db4adeecbc96a477c441a9a88937a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:04:32 +00:00
Tony Wickham 2ea942b813 Add jank monitor for CUJ_QUICK_SWITCH from home screen
Flag: None
Test: adb logcat -b events | grep jank_cuj_events
  - Verified quick switch from home gets begin and end
  - Verified quick switch then swipe back or up to home
    gets begin and cancel
  - Verified quick switch then swipe up to overview
    gets begin and cancel
Fixes: 290323639
Change-Id: I4f1991251b111c0531b30c48ba610ce85dcafdd3
2023-07-25 19:18:20 +00:00