Commit Graph

78507 Commits

Author SHA1 Message Date
Charlie Anderson a1bcd4b146 Merge "When unpausing work profile after reboot, we should do a single reload of the workspace." into udc-qpr-dev 2023-07-24 16:15:37 +00:00
Brandon Dayauon aca146693b Merge "Update tests for ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev am: 6dc98ad842 am: f25f0d4550
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23835677

Change-Id: I96dff033e43f72876c4cc77fbde8f83bac15e3ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 16:14:11 +00:00
Brandon Dayauon f25f0d4550 Merge "Update tests for ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev am: 6dc98ad842
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23835677

Change-Id: I21de4d6a05ecf2cfd18c9af7c5fe55bf353706a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 15:27:22 +00:00
Brandon Dayauon 19a380095e enable flags: ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH
PM said we can enable ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH flags.

bug:287307252
Flag: turning to true
test: presubmit (updated tests in previous CL ag/23835677)

Change-Id: I89ede9807205a72108f25ca3b962f8d67384f7ae
2023-07-24 07:38:38 -07:00
Brandon Dayauon 6dc98ad842 Merge "Update tests for ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH" into udc-qpr-dev 2023-07-24 14:37:28 +00:00
Alex Chau 3e65e52381 Remove debug logs
Fix: 283944974
Test: None
Change-Id: Ibb30d2b6c92f62669494a0f305ad21b49562532b
2023-07-24 13:10:34 +01:00
Android Build Coastguard Worker 6ebbc926ee Snap for 10545222 from c56c01c329 to udc-qpr1-release
Change-Id: I9fcb261a63fbcd7e7bc371606620f0e7cd254d62
2023-07-22 23:18:55 +00:00
Johannes Gallmann a82eebd286 Extract Launcher resource interpolators to Animation Library
Bug: 292080029
Test: atest InterpolatorResourcesTest
Change-Id: I65dba4eb3f96844d4f9a4d0af608c0bd8e77ccc2
2023-07-22 09:52:53 +02:00
Andy Wickham f98949cac3 Change Overview Actions to round buttons.
If floating search is active in Overview (flag enabled and we are
the active Launcher), these buttons will be aligned to the search
bar relative to the bottom of the screen. Otherwise, the buttons
will be aligned below the active task like before.

Demo for Launcher3 build:
https://drive.google.com/file/d/1fVzRRnW5AFDMPkW-E8_w4BOCzTAOURQ_/view?usp=drive_link&resourcekey=0-6-EbFZXkBqcu0rw7uuEzjw

Bug: 292000892
Test: Manual with floating enabled/disabled and
SEPARATE_RECENTS_ACTIVITY enabled/disabled (simulating not being
the active Launcher). Also tested with a 3P Launcher, Nova.
Flag: N/A; this change is enabled by default, but also verified
UI looks correct with ENABLE_FLOATING_SEARCH_BAR.

Change-Id: Ia45f88d2c691c4525b1e73cca4707498d058a917
2023-07-22 07:43:17 +00:00
Treehugger Robot ad93c83b95 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: df36eadcaa -s ours am: 9197fad4b5 -s ours am: 5a7ef186e0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibbd74c5dfaf7ff1152994ee58999ce6a4e659fa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 04:00:03 +00:00
Bill Yi 949d492505 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 877e7fe5ef -s ours am: bc73be4f5d -s ours am: cd73967e2b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I13c7f8780d984fa6b971c564c292cd7d81290927
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:59:53 +00:00
Bill Yi fb910c0db0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a0b4968ae -s ours am: fca0d961c0 -s ours am: b2e0704378 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5da09d84fbecdd0f3842cbc953f6301d75baf247
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:59:37 +00:00
Treehugger Robot 646db548c6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: df36eadcaa -s ours am: c56c01c329 -s ours am: dd67288246 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9f28b229b54e8e726477c20efeab73da73dbeea0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:56:19 +00:00
Bill Yi a994bdd48e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 877e7fe5ef -s ours am: 51f4a65ff0 -s ours am: 342b01a851 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I535b57ff99cff9b5daa28b9b6b3e68583a637c9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:56:08 +00:00
Bill Yi 5281bec3ed [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a0b4968ae -s ours am: 793ebd8745 -s ours am: 80dabdc720 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaec226770ac467783ca6a5a23071c9e6bccd99f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:55:52 +00:00
Treehugger Robot 5a7ef186e0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: df36eadcaa -s ours am: 9197fad4b5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie8f54f2d509c88f186cf1795584990f05a8ab994
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:33:32 +00:00
Bill Yi cd73967e2b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 877e7fe5ef -s ours am: bc73be4f5d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2140e3a430c83b93c3b60b4b17e57520e1f05928
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:33:21 +00:00
Bill Yi b2e0704378 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a0b4968ae -s ours am: fca0d961c0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id21b102d482a3e91be2bfe2be7149a9a32aaa005
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:33:06 +00:00
Treehugger Robot dd67288246 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: df36eadcaa -s ours am: c56c01c329 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie80cc77fe6b29da4d708568f64c86189d69159ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:14:56 +00:00
Bill Yi 342b01a851 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 877e7fe5ef -s ours am: 51f4a65ff0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3813848e69265cf91ce4b29473fa58debd340dc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:14:44 +00:00
Bill Yi 80dabdc720 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a0b4968ae -s ours am: 793ebd8745 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I88f6d34d87864c9bc51afed632b9dd060b38355c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:14:30 +00:00
Treehugger Robot 9197fad4b5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: df36eadcaa -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4d1f67821081e7988bff75535b15f2d44f2d5fef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 02:48:42 +00:00
Bill Yi bc73be4f5d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 877e7fe5ef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0cdb2abefa393e64148f171b2373a66b6adb8cbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 02:48:33 +00:00
Bill Yi fca0d961c0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a0b4968ae -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic73b91a2bd5c723420f02c4c31e2ae39ac6f4e61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 02:48:17 +00:00
Treehugger Robot c56c01c329 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: df36eadcaa -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8ad63998178b34b8c7e1e0fed32090d37d936ea9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 02:48:06 +00:00
Bill Yi 51f4a65ff0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 877e7fe5ef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3842526bf51b63798b4fa92a8d28d3b604f69c1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 02:47:56 +00:00
Bill Yi 793ebd8745 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a0b4968ae -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8ab36b9dee2402504ab39ed4ca08414e747ea286
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 02:47:41 +00:00
Charlie Anderson 673a81be1e When unpausing work profile after reboot, we should do a single reload of the workspace.
Prevents greyed out work items from persisting that are not actually paused.

Bug: 290870690
Test: manually tested pausing work profile, rebooting, unpausing work profile. Also tested just pausing/unpausing work profile.
Change-Id: Iab6d51c9bf47b1732b9cc4278bec5119e7c6afbf
2023-07-22 02:29:50 +00:00
Tracy Zhou c9968e6c5c Add pressBack test to TaplTestsTrackpad
Bug: 281732733
Test: presubmit
Change-Id: Iba1b9073d8bf2050c2862ddf81612472b38ea607
2023-07-21 18:52:41 -07:00
Treehugger Robot df36eadcaa Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-07-22 01:35:20 +00:00
Android Build Coastguard Worker 2e4faa8aeb Snap for 10542431 from 6eb4af3f45 to udc-qpr1-release
Change-Id: I376ec7cd39fa4b9dd58898e919a2e220b2797352
2023-07-22 01:23:23 +00:00
Brandon Dayauon df4dfdba4d Update tests for ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH
PM said we can enable ENABLE_TWOLINE_ALLAPPS and ENABLE_TWOLINE_DEVICESEARCH flags.

Since I am enabling two-line text for all apps, it's possible that the text would have other texts within the app name itself. For example, if a title of an app is long for example "Amazon Shopping" the title can now be like "Amazon\nShopping". For tests to recognize its "Amazon shopping", I am resorting to identifying the app title based on the content description.

Turn on the two feature flags in another CL

bug: 287307252
test: manual
Change-Id: I8bdc3db710514c9098ccb5d9781a100ac9b35eab
2023-07-21 20:15:19 +00:00
Tracy Zhou 0615a80f8b Teamfood ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS
Bug: 270394122
Test: Make sure the feature works
Change-Id: I9dc239d941484f70879550f877674b889f1bf45e
2023-07-21 11:09:19 -07:00
Winson Chung 47ec7e2ef5 Merge "Add null check for invalid previously appeared target" into udc-qpr-dev am: 6eb4af3f45 am: ad5fd07c0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24155255

Change-Id: I5b72de102e9c89acdb0072794104943915015acc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 17:22:17 +00:00
Winson Chung ad5fd07c0a Merge "Add null check for invalid previously appeared target" into udc-qpr-dev am: 6eb4af3f45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24155255

Change-Id: I63893b02fed24f91672fd9e843e0136f9d804d28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 16:36:18 +00:00
Winson Chung 6eb4af3f45 Merge "Add null check for invalid previously appeared target" into udc-qpr-dev 2023-07-21 16:11:54 +00:00
Luca Zuccarini 86e18b59a9 Update default value for container launch animations to TEAMFOOD.
Also move flag checking outside ItemInfo.

Bug: 262778448
Flag: ENABLE_SEARCH_RESULT_BACKGROUND_DRAWABLES
Flag: ENABLE_SEARCH_RESULT_LAUNCH_TRANSITION
Test: manual
Change-Id: I49de8a93539829e41c1de1fb23630c1b2ca8b646
2023-07-21 13:14:24 +00:00
Jordan Silva 575c3bddec Add twoPanelId attribute for responsive grid in device profile
Three new attributes were created to be used in device profile. These attributes will provide the responsive specs for two panel devices.

Fix: 292204121
Flag: ENABLE_RESPONSIVE_WORKSPACE
Test: DeviceProfileDumpTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Change-Id: I35c93e16dde043b0fd611b81bf2de74e3621818e
2023-07-21 12:00:43 +01:00
randypfohl 2b3dc6f730 Removing obsolete call to start home activity with shell transitions
- The second start activity was causing issues with 3p launchers which
  may not expect another new intent (ie. if it handles gestures at
  the bottom of the screen).  We can't completely remove this logic
  because for button navigation we don't want to fall through to the
  launch-next-task animation below, but we can can continue to
  finish the recents animation immediately.
- With shell transitions, leashes for opening apps are always hidden
  by default so when transitioning to a 3p launcher from
  RecentsActivity we also need to show the surface if we want to
  animate it in

Bug: 289609734
Test: Set 3p Launcher as default, in both gesture & button navigation
      - Go from 3p home -> overview, then overview -> 3p home
      - Go from app -> 3p home
      - Go from app -> overview, then overview -> 3p home
      - Quickswitch from app

Change-Id: I6875083931de63a8097d23d180553885ed7cfb01
Signed-off-by: Winson Chung <winsonc@google.com>
2023-07-21 04:20:29 +00:00
Brian Isganitis 2c1b3b3134 Merge changes from topics "taskbar-search-back", "taskbar-search-transition" into udc-qpr-dev am: 5cc62b13ee am: a1a2b6beed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024257

Change-Id: I59dd013a9b1561c3e51bf4f32cee579b4768afa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:29:32 +00:00
Brian Isganitis 33b95b2bae Notify Taskbar search session of All Apps transitions. am: c90df24e1c am: c3ad647a4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024253

Change-Id: I396db136b58b803c58599198adc4fd25683da200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:29:28 +00:00
Brian Isganitis a1a2b6beed Merge changes from topics "taskbar-search-back", "taskbar-search-transition" into udc-qpr-dev am: 5cc62b13ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024257

Change-Id: I24d1dd1ebefbe2c2a7ea4d50aec3e17d7d3c4a48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:09:39 +00:00
Brian Isganitis c3ad647a4f Notify Taskbar search session of All Apps transitions. am: c90df24e1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024253

Change-Id: I84b68eb4933b575b84e00d1b39ceb3ea0e5e71ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:09:35 +00:00
Vinit Nayak 5ad13e3412 Add null check for invalid previously appeared target
* In ag/23680185, a null check was removed that was
checking if individual mLastAppearedTaskTargets were null;
we check if the array overall is null, but individual
elements can also be null, ex 3P launcher

Bug: 289609734
Test: Repro steps from b/289609734 don't cause crash
Flag: none
Change-Id: Iddfde6d9ac2b708380b70b5fb6301b629506619c
2023-07-20 17:45:54 -07:00
Bill Yi 7a0b4968ae Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I04a8d3e111e08b07ad856710d34beb1266811fe2
2023-07-20 17:24:42 -07:00
Bill Yi 877e7fe5ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8ad0866b24b4f2bc66cc943681fbbb54c69485c4
2023-07-20 17:23:58 -07:00
Brian Isganitis 5cc62b13ee Merge changes from topics "taskbar-search-back", "taskbar-search-transition" into udc-qpr-dev
* changes:
  Support system back in Taskbar search session.
  Notify Taskbar search session of All Apps transitions.
2023-07-21 00:14:04 +00:00
Vinit Nayak d49239be89 Enable ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE for TEAMFOOD
Bug: 276361926
Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE
Change-Id: I55c8e8293eeadeca623ae879ca62d8d7c405f486
2023-07-20 16:32:51 -07:00
Vinit Nayak 90229d5629 Merge "Change split toast exit asset to "X"" into udc-qpr-dev am: 306c6e843f am: da10e5472a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24110227

Change-Id: Ief2a5a020f7dae7f85c62493d612eafe75cb5b0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 23:22:33 +00:00
Helen Cheuk 83b9f26b87 Merge "Re-land "Add hover state border to overview task item"" into udc-qpr-dev am: 1d383a7f41 am: 998ab43d99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24059774

Change-Id: I4188598b140f2fe44ff33e5431da8a00e4b24246
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 23:19:56 +00:00