Commit Graph

53916 Commits

Author SHA1 Message Date
Holly Jiuyu Sun 770e65305f Merge "Add flag to control show/hide keyboard suggestion strip." into tm-qpr-dev am: 0c7d83bb14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20029264

Change-Id: I6d3b94b50bc2747df873413216b84cacb34ba87d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 00:25:54 +00:00
Holly Jiuyu Sun 0c7d83bb14 Merge "Add flag to control show/hide keyboard suggestion strip." into tm-qpr-dev 2022-09-27 23:49:53 +00:00
Brian Isganitis c7c2e8d7e6 Avoid syncing voice interaction background window for skipAnim=true.
Test: Manual
Fix: 236924161
Change-Id: Iaf95221678d36f9b5782fd8c4bda626b946565a9
2022-09-27 23:36:24 +00:00
Android Build Coastguard Worker 1cde8ddd7b Snap for 9111705 from d8b78523ca to tm-qpr1-release
Change-Id: I0b2665d83be388ec57face595d0b3126846d029c
2022-09-27 23:25:18 +00:00
Sebastian Franco fa37a0ad9b Fix repeated empty workspaces after changing the grid size.
There are specific scenarios when you can force an extra empty
workspace after changing the grid, fortunately there is a
function that removes empty workspaces.

Fix:229349287
Test: Add a widget in a new empty workspace page, change the
grid then remove the widget in the new grid size then return
to the previous grid and it shouldn't have an empty workspace.

Change-Id: I7b73ae2ca058bc84b3b361930e3dc856c045281b
2022-09-27 21:51:17 +00:00
Bill Yi 5fb4baf917 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours am: 0f57d8fb0c -s ours am: 93105ebf75 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4fef08f335458efbe510bffdabab4af00905d76e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 19:17:33 +00:00
Bill Yi d3902030d6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours am: 0f57d8fb0c -s ours am: 986c1a40ca -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie8b591e60baed84b9942e5fd6a93b5ab1e97a42b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 18:56:31 +00:00
Bill Yi 7172f1d73f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours am: 30604f70f0 -s ours am: 9d7aff403e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id0fcc0eb2fd1d7310e371864fa6ab0db642740ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 18:46:11 +00:00
Bill Yi 986c1a40ca [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours am: 0f57d8fb0c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id8ad16f13213048b22241af3e2a8b251f4199dc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 18:36:37 +00:00
Bill Yi 93105ebf75 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours am: 0f57d8fb0c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I276a147555bf8b2c8ecc22aa1621fdd37eb3b071
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 18:33:45 +00:00
Bill Yi 9d7aff403e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours am: 30604f70f0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2da259684f97348f0f89c52d02377b0d639ff6e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 18:25:10 +00:00
Bill Yi 30604f70f0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7bc8861adc55d5788de051b3bac3270ad31907ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 17:58:38 +00:00
Bill Yi 0f57d8fb0c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4eec0f689d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie3d12f728b291d1c51645379ffef763ab1a3578c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 17:57:40 +00:00
Saumya Prakash 96bed75d9f Updated overview exit animation for 3 button navigation
Changed overview exit animation so that tiles don't slide off and only fade/scale in place for 3 button navigation. Previously, tiles would slide off when exiting for both gesture navigation and 3 button navigation. Now 3 button navigation exits with tiles staying in place.

Test: Manual
Fix: 245745939
Change-Id: I4144ed7e3ff29419df7fb13b6417ccc0a1f9dd45
2022-09-27 15:46:05 +00:00
Jeremy Sim ba7324e2b8 Update animations for phones: Overview > OverviewSplitSelect transition
This change updates the animation for initiating a split from the Overview screen on phones. Includes new timings and interpolators, and extends timing data classes related to SplitAnimationTimings.

Fixes a noticeable issue where the split animation appeared slow on phones.

Outstanding issues (fixes in progress):
- Repeated invocations of split on phones cause an erroneous animation to play. (b/249154347)
- Thumbnail corners do not match placeholder corners; the transition between the two is slightly janky. (b/236761794)
- Placeholder icons should be 72dp. (b/236761794)

Bug: 236761794
Test: Manual
Change-Id: Ibb97ef54498b0aa9556df531d8084799259c06e2
2022-09-27 11:45:02 -04:00
Sebastian Franco a44d255c8f Fix ReorderWidgets by removing faulty 4x4 cases
Fix: 242323136
Test: atest ReorderWidgets (the device has to be cf_x86_64_phone-userdebug)
Change-Id: Ic545409ecc20420be6c7377513c704822dbaf75e
2022-09-27 09:37:54 -05:00
Federico Baron b4388e3ef2 Merge "Replace drawRect with drawable for delightful pagination" into tm-qpr-dev am: d8b78523ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20017949

Change-Id: I3e3a3afb0f5e2733d77e653e706eb579cb3c2a51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 04:01:32 +00:00
Federico Baron d8b78523ca Merge "Replace drawRect with drawable for delightful pagination" into tm-qpr-dev 2022-09-27 03:31:09 +00:00
Ats Jenk 98b79c3e11 Merge "Set up a place holder tile for desktop" into tm-qpr-dev am: aeea6768e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19914914

Change-Id: I97e4df052f43d0b6dfef5b3a04c0013c5133adca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 00:10:20 +00:00
Ats Jenk aeea6768e6 Merge "Set up a place holder tile for desktop" into tm-qpr-dev 2022-09-26 23:43:19 +00:00
Android Build Coastguard Worker 32ba589c4d Snap for 9107440 from cdadbaa225 to tm-qpr1-release
Change-Id: Ie48be3438f6b471cf20ec4bb77f7451eeeb936ee
2022-09-26 23:29:20 +00:00
Brian Isganitis 7fc8bf0c25 Merge "Properly color taskbar nav buttons when slide-in view is shown." into tm-qpr-dev am: 815018be9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040590

Change-Id: I8a55315e04ee588298f13c3b053a906bffd5e9c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 23:07:12 +00:00
Brian Isganitis 815018be9a Merge "Properly color taskbar nav buttons when slide-in view is shown." into tm-qpr-dev 2022-09-26 22:56:06 +00:00
Federico Baron 4f5e573d3a Replace drawRect with drawable for delightful pagination
In order to eventually use the shape referenced in the task (https://docs.google.com/presentation/d/1V9-1C3mJ3zRGsuzzzYExisr9vLYecgADa1FucMoW_aw/edit#slide=id.g14256d0c614_0_311) we need to use a drawable. This CL adds the drawable that will be changed to that shape and uses it in PageIndicatorDots.java instead of using drawRect.

Bug: 247561880
Test: manual
Change-Id: I01e10bd9ddc7e378f2dcfdee0f84ba7443c3b9d3
2022-09-26 15:51:33 -07:00
Brian Isganitis 731ef0c301 Properly color taskbar nav buttons when slide-in view is shown.
Supports overriding the current nav bar color with one that would be
visible over a slide-in view.

Demo:
https://drive.google.com/file/d/1MB26QM5qeeyVB6Bj14IGoPCWVT_P7K-3/view?usp=sharing&resourcekey=0-wnMgciNrUXC_l7gI3JFm8A

Test: Manually with light and dark themes, as well as All Apps and EDU
views.
Fix: 248359789

Change-Id: I134ae719b10f3de78ea18220a835de56a82ecb02
2022-09-26 11:41:38 -07:00
Federico Baron b5ed62b8fc Rename alpha and refactor the way alpha is set in PageIndicator am: cdadbaa225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20010024

Change-Id: I233cc6a35ee4ac7d3f3b0d3f8339479e0dd1e15c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 17:45:27 +00:00
Federico Baron cdadbaa225 Rename alpha and refactor the way alpha is set in PageIndicator
Here we rename DOT_INACTIVE_ALPHA and DOT_ACTIVE_ALPHA to reflect the new code, and we also use mPaginationPaint.setAlpha a bit differently

Bug: 247561880
Test: Manual
Change-Id: I5ee25ee3fb36715d54f9ed86c0d59448829d7260
2022-09-26 09:34:11 -07:00
Bill Yi a98e89ac30 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f7996b3695 -s ours am: aadeae74f0 -s ours am: 21839a4b5d -s ours am: 021115ea2d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0dacdeea5da60443574f91ea4df9b2c2a568f1dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 04:08:00 +00:00
Bill Yi ce4cf923e4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 601cf30cf6 -s ours am: c310a45799 -s ours am: dc481b658a -s ours am: 79d7667950 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic65e63ee2ac5e63990077fd3b4a052aac64a8800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 04:07:39 +00:00
Bill Yi 021115ea2d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f7996b3695 -s ours am: aadeae74f0 -s ours am: 21839a4b5d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5d6ceb679b8f05ce689383672ce2779039065cdb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 04:02:06 +00:00
Bill Yi 79d7667950 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 601cf30cf6 -s ours am: c310a45799 -s ours am: dc481b658a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I12874a92b553370145580e875a92ad03d2e62a74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 04:01:47 +00:00
Bill Yi 21839a4b5d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f7996b3695 -s ours am: aadeae74f0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I21e9cc25e385cfade7e8f9afdacbca4b9045d8e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 03:40:47 +00:00
Bill Yi dc481b658a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 601cf30cf6 -s ours am: c310a45799 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0b9a05b1c6e93d9e7e1d3af2780034ec91650bbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 03:40:26 +00:00
Bill Yi aadeae74f0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f7996b3695 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3b799093c0babc1b869cc8daec3c302bbcb5a68d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 03:23:58 +00:00
Bill Yi c310a45799 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 601cf30cf6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I406f41958286c50da1af9697d465de310cbeece9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 03:23:37 +00:00
Bill Yi f7996b3695 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-09-26 03:07:24 +00:00
Android Build Coastguard Worker a9b799c0c7 Snap for 9103983 from c5b3b75f83 to tm-qpr1-release
Change-Id: If053d318532b6364621072a8403e7dc66d196885
2022-09-25 21:29:32 +00:00
Bill Yi f7a7c018be [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fd4edc0c8a -s ours am: e870413167 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7666fe2ad741c8e6f6183fc5958fb414ca507d99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-25 05:32:11 +00:00
Bill Yi 7e32935683 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fd4edc0c8a -s ours am: c5b3b75f83 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iab2884e190e5999b0f5f20010bec7b6987b4b2a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-25 05:16:16 +00:00
Bill Yi c5b3b75f83 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fd4edc0c8a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia55ebdbe4a0b7c6cb8e6887f814f7755a1bb521f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-25 04:55:02 +00:00
Bill Yi e870413167 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fd4edc0c8a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4bbf10ecf06387d93cbd05fbad50dc6453c90208
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-25 04:53:49 +00:00
Android Build Coastguard Worker e048da9b95 Snap for 9102950 from 59cd0e0228 to tm-qpr1-release
Change-Id: I9c691b49c6ddf70644849d92b695e2daaa1a69d5
2022-09-24 21:29:16 +00:00
Andy Wickham 914aae1860 Merge "Reduces search clipping when work profile is not present." into tm-qpr-dev am: 59cd0e0228
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19981474

Change-Id: I4f82692c2979f38c941f8ae61cd50931b5cf9610
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-24 18:24:36 +00:00
Andy Wickham 59cd0e0228 Merge "Reduces search clipping when work profile is not present." into tm-qpr-dev 2022-09-24 18:04:52 +00:00
Tony Wickham 7092878a57 Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev am: 34461ba303
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040404

Change-Id: Ifc7d9c45214c3f79a1c19a031741a3ab2a48ed86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-24 07:09:33 +00:00
Tony Wickham 34461ba303 Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev 2022-09-24 06:44:17 +00:00
Android Build Coastguard Worker 7f44a6ae98 Snap for 9101843 from 178a45a5ab to tm-qpr1-release
Change-Id: I7c61c97a1cd4d84a436d9ab17871950c38607f63
2022-09-24 05:20:24 +00:00
Andy Wickham 14101659f7 Reduces search clipping when work profile is not present.
Basically, adds the spacing that is otherwise included by
the tab protection (which is about 4dp less than the spacing
that was previously being added).

Adds a compile-time flag to render the header at all times to
help visualize issues like this in the future. Check the
screenshots below to see some examples of this.

Screenshots: https://drive.google.com/drive/folders/1n4wwtjMwOR-eDIE1xAoG3oLXO7txpoT_?resourcekey=0-WP0RNbp7vFh2Yw1wUBZTaA&usp=sharing

Bug: 240672593
Bug: 243728487
Test: Manually checked search transition, scrolling behavior, and
highlight of the search results with and without a work profile.

Change-Id: I166d136e568c5621c81378fa09021666d95f0ffc
2022-09-23 19:36:44 -07:00
Ats Jenk 919ddf19f3 Set up a place holder tile for desktop
Create a placeholder tile in recents for desktop.
It is based on launcher task information. With extra flag indicating it
is for desktop.
When it is clicked, it will call sysui to show apps on desktop.

Test: manually verify that desktop tasks do not show up separately in
recents
Bug: 244348395

Change-Id: I8535a54e1545841cd988d4770e6fc5e857277cda
2022-09-23 16:28:48 -07:00
Federico Baron 8349c1f027 Merge "Add rotation to folder pagination for delightful pagination" into tm-qpr-dev am: 178a45a5ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19993513

Change-Id: Id9b8aaaaba8c4d58ab3598f4967bc4163a052949
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 22:00:23 +00:00