Commit Graph

422 Commits

Author SHA1 Message Date
Bill Yi
d6c9f1d828 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5fba395e14bbc3449b54fcec9142a8a2b01daada
2024-04-15 19:08:44 -07:00
Bill Yi
d6acf5c87c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id26f1c61bd070906f0ddeaa1fc553fa578105d92
2024-04-10 18:54:16 -07:00
Jeremy Sim
de9b132f08 Update save app pair icon
This CL changes the save app pair menu icon to the latest spec. It looks good!

Fixes: 331525186
Flag: N/A
Test: Manual
Change-Id: Ic73f78a27372aca565fce2e3be3e9f3b8ef1d942
(cherry picked from commit 1d48159bd5)
2024-03-28 04:44:18 +00:00
Vinit Nayak
14d28ad455 Revert "Revert "Implements the "Save App Pair" button in Overvie..."
Revert submission 26420318-revert-26391074-save-app-pair-button-ZKCRCDSCSN

Reason for revert: Test failure in question wasn't related to this topic b/328016248

Reverted changes: /q/submissionid:26420318-revert-26391074-save-app-pair-button-ZKCRCDSCSN

Change-Id: I2a4dbb83720768a9d29a4371c77e3b9410ab2fea
Merged-In: I2a4dbb83720768a9d29a4371c77e3b9410ab2fea
2024-03-11 05:00:47 +00:00
Vinit Nayak
5c8978c4db Revert "Implements the "Save App Pair" button in Overview Actions"
Revert submission 26391074-save-app-pair-button

Reason for revert: breaks image comparison tests b/327665771
Reverted changes: /q/submissionid:26391074-save-app-pair-button

Change-Id: Ic4580fc39d8394771551f100932157e6ef35c4b7
2024-03-01 01:02:35 +00:00
Jeremy Sim
41d8ae8a7a Implements the "Save App Pair" button in Overview Actions
Second attempt at enabling this feature. See ag/25143701, linked bugs, and revert history for details. This patch is tested with mokey devices and does not crash!

This patch includes:
- Ability to "save app pair" from Overview Actions.
- Internally the actions bar is not longer hidden for GroupedTasks; instead the individual buttons for "Select", "Screenshot", and "Split screen" are toggled off and "Save app pair" is toggled on.
- "Save app pair" option does not appear in icon menu when it is visible in the Actions Bar.
- Addition to go/quickstep/res/layout/overview_actions_container.xml to support addition of the new button.

Note: This patch introduces a slight regression where users are now able to long-press to select text on task 1 of a paired GroupedTaskView (previously we did not let them select text on either task for consistency.) Will follow up with a fix -- see bug for details.

Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Fixes: 315545418
Fixes: 315292030
Test: Manual, all action buttons still work and "Save app pair" appears and disappears correctly
Change-Id: I4b4ac525cfd5eb9cfcd757d0bffc7215b04f9a3d
2024-02-28 19:39:04 -08:00
Bill Yi
6b59916978 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib559702a688a9ec6b776196b67f0c2efc9332c89
2024-02-21 16:46:31 -08:00
Sunny Goyal
9f226dff72 Simplyfing SystemShortcut rendering
Instead of opening the popup again when the status of AppSharing
changes, updating the UI in-place.

Bug: 321179015
Test: Presubmit
Flag: N/A
Change-Id: I6d7bd8cdf2014fd881324347e3e01b8e7e84ef1e
2024-01-19 10:48:54 -08:00
Rajeev Kumar
b3c7d2efc5 Use the system component for the nearby sharing action if available.
Bug: 308014458
Fixes: 308014458
Flag: NA
Test: atest com.android.launcher3.AppSharingTest
Change-Id: I41ff4efd7153e4ec7591b7d34695766e5bc9f436
2023-12-19 03:23:33 -08:00
Bill Yi
cad9fca396 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e96fa8479c2b1e27238384eaf59e5765399f94c
2023-09-21 20:16:19 -07:00
Andy Wickham
ce31b6b45f Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev am: c15fd5c248 am: 5d95ba7c00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24344529

Change-Id: If03f1f50bb2b429c94939cd01b6b08c672103ff8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 22:19:01 +00:00
Andy Wickham
5d95ba7c00 Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev am: c15fd5c248
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24344529

Change-Id: Ic9142b717463e838e4c0d131018fed3379253fa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 21:14:05 +00:00
Andy Wickham
bc3bac4113 Revert^3 "Change Overview Actions to round buttons."
Awaiting UX alignment.

Test: N/A
Flag: N/A
Change-Id: I05e9627d8b44ea16d29445e005534af2a1abd439
2023-08-08 12:09:59 -07:00
Andy Wickham
eed6d85c4b Merge "Revert^2 "Change Overview Actions to round buttons."" into udc-qpr-dev am: fd35baa3f8 am: aadf1c6ce8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24195750

Change-Id: I374cadf571992e0620c20bd3fbea5e2f09c79a34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 23:31:07 +00:00
Andy Wickham
aadf1c6ce8 Merge "Revert^2 "Change Overview Actions to round buttons."" into udc-qpr-dev am: fd35baa3f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24195750

Change-Id: I6e0ac287d6d6eceb515c3e9374c1654b0b619b4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 22:50:26 +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
620da23ed3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9673d83ac24293accd08550ce00481ef8ff08d10
2023-05-09 18:37:31 -07:00
Bill Yi
928738c973 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I532572e4326851cc8302ce23eae6b75ffda26b3f
2023-05-09 18:37:11 -07:00
Bill Yi
6ae7f37f0d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I30afefb3ddbe0e7e95f8d08b8f77724e13327e30
2023-04-21 18:35:09 -07:00
Bill Yi
a2f6cd0128 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bccc0be41675cf0653cdc42b8a11e30819ea554
2023-04-21 18:34:47 -07:00
Vinit Nayak
a15f39bc6d Merge "Unify split options into single option" into tm-qpr-dev am: 6fa1ab9441 am: 4e1c1faa37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074650

Change-Id: If7bdd0fe1a72d5e321933eb566e58f20fbfefcf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 07:09:18 +00:00
Vinit Nayak
4e1c1faa37 Merge "Unify split options into single option" into tm-qpr-dev am: 6fa1ab9441
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074650

Change-Id: I6a21549a20a8f90dcc35ed29285023e844e1e627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 06:36:19 +00:00
Vinit Nayak
5a6863f14a Unify split options into single option
* No more split left/right/top, only have
splitscreen and icon shows vertical or horizontal
split windows
* Replace existing split icon for FreeForm

Fixes: 264930810
Test: Tested landscape and portrait, workspace,
overview, allapps

Change-Id: I443f93b6b01760b726bf9f024fb1324fdf0ed03c
2023-02-01 17:27:57 -08:00
Bill Yi
ef6ec03345 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ee7d4e8b783c974f15524b54a5a456fa2fedd03
2023-01-15 20:53:18 -08:00
Bill Yi
bedb7f0698 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ecf9583583483180fbc02cef4a51ef7946067ad
2023-01-15 20:52:52 -08:00
Bill Yi
3832f9db3a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idc0ca401fe52b40500fad7ddec1871ddcf58e46f
2023-01-04 01:01:08 -08:00
Bill Yi
57c5f6b88d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icfba86a007a8ae92e62d4c860c239e48f05bc9ff
2022-12-29 21:37:41 -08:00
Bill Yi
4df6ef67bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11441ec480b0cba2244fa8a7ad9e3ac5f820e59e
2022-12-16 04:46:08 -08:00
Bill Yi
2eaba8e9da Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bf519996c9147d1f6d816d07eac85a7e0e3801e
2022-12-16 04:45:45 -08:00
Stefan Andonian
953a517765 Merge "Move SharedPreferences code to its own class." into tm-qpr-dev am: 3233010c5a am: b626411c99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20446860

Change-Id: Ibafb226c2bc6bd1ea425725920520540a8720351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-18 00:47:28 +00:00
Stefan Andonian
b626411c99 Merge "Move SharedPreferences code to its own class." into tm-qpr-dev am: 3233010c5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20446860

Change-Id: I397957b5d9584aebf4182930763a2c5ab6401073
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-18 00:17:45 +00:00
Stefan Andonian
146701ca3e Move SharedPreferences code to its own class.
Bug: 251502424
Test: Code compiled correctly.
Change-Id: Iea0d6ab2999504117546ee0f7adc0c7b8b45c065
2022-11-17 17:22:47 +00:00
Bill Yi
91235e9169 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6806240014abdb72e330a6c6041de01360ad6ec
2022-11-16 02:39:22 -08:00
Bill Yi
cfcb55b6f7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b5010c13a5e0a79c1ca8d900f0963595ee6e50c
2022-11-16 02:39:00 -08:00
Bill Yi
b3fef31ab7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6664251e87a9ab69de224ebec5b6f183afe2ed2b
2022-10-15 09:49:34 -07:00
Bill Yi
71873ccbf4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id3b44a295ea0b23167a3d0bc1f48a15d2109dea1
2022-10-15 09:49:12 -07:00
Bill Yi
72fd10fc21 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I831d74eb12eb04a22cd1d8b2747ea300d9dcb351
2022-08-25 11:19:56 -07:00
Bill Yi
ad6d6d404f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e7b9c26fbfd4f1334431f4882b0ec617749d39d
2022-08-21 23:17:25 -07:00
Bill Yi
cd79e4ed7b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6aff60edb2f1086c1c6ee47e8a442ce7e7b78def
2022-08-07 12:02:11 -07:00
Bill Yi
d71e842d9a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2348770adf43d252ca35151820ad9084b418f9c
2022-08-07 03:48:47 -07:00
Bill Yi
c3e0a4b963 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib42c3bf46341462f15fc15efa34a57944bcfcede
2022-07-21 20:01:58 -07:00
Bill Yi
68a73b6d18 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ief1a528305dbb9edd90c8473417ad4a8e2b8ec1e
2022-07-21 20:01:02 -07:00
Bill Yi
ef46825eb4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30d608b08e253a8757fd48beefa54e38a363e06
2022-07-13 21:20:20 -07:00
Bill Yi
7c74b797b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I275d1a61d58b6c7243c6cd87a976183e39dff005
2022-07-13 21:19:05 -07:00
Abhilasha Chahal
ee14d4761a Add LAUNCHER_SYSTEM_SHORTCUT_APP_SHARE_TAP event
Bug: 233224567
Test: Manually verified the event in logs
Change-Id: Ie81ca8774adb241f1c8635444dad884f34f3929d
2022-05-19 19:21:45 +00:00
kholoud mohamed
00f80ed1ae Add missing enterprise string
Bug: 231592687
Test: manual
Change-Id: I59e4d899084c965dfbca49f6c65c3b9809a89ed8
2022-05-09 19:48:40 +01:00
Tracy Zhou
7183e4b460 Merge "Add originalView of the menu to SystemShortcut" into tm-dev 2022-04-26 17:28:40 +00:00
Bill Yi
05e2272138 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30fb3d0870ddb6c69511b5200058dd3b4961479
2022-04-12 21:23:51 +00:00
Tracy Zhou
c2538d748a Add originalView of the menu to SystemShortcut
Split from home animation needs to originate from the app icon instead of the menu item icon. This can be useful for other animations in the future.

Bug: 226395821
Test: N/A
Change-Id: If45d80e347ba275bd550b6acd6ad81b319e753a3
2022-04-11 17:13:35 -07:00
Bill Yi
dffa0c3186 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia234a01c49be8012beba9944f28198a1a04d162a
2022-03-24 05:37:30 +00:00