Commit Graph

1417 Commits

Author SHA1 Message Date
Jon Miranda
77685a2c73 New taskbar threhsolds 30/100/180/300
Test: manual
Bug: 266583202
Change-Id: Iebcc70aa2305d6ce915baa7f131fb0a623040d93
2023-01-25 16:55:33 -08:00
Schneider Victor-tulias
48f3ee9e06 Update the gesture nav tutorial to use a mock transient taskbar
These are temporary UI updates until the redesigned gesture nav tutorial is ready.

Fixes: 265857697
Test: ran tutorial on large screen device
Change-Id: I3e50de1b0f5cd9e84dccea17c7ac07d3668e1168
2023-01-25 11:12:04 -08:00
Bill Yi
3c65bf37cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idbc01117ecff8d5dd1f950039a6371db6465f0a0
2023-01-23 08:42:37 -08:00
Bill Yi
59f7368315 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4fb3882dff38c725d5718bf7f5477605afb7a45c
2023-01-23 08:42:04 -08:00
Brian Isganitis
9e14c53278 Merge "Add loopable EDU lottie files and convert to light theme manually." into tm-qpr-dev am: b28a810d55 am: 773c966da6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20992190

Change-Id: Ieb39ebc454c38b3208f07890ac35d4ab17306771
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-22 00:20:24 +00:00
Brian Isganitis
773c966da6 Merge "Add loopable EDU lottie files and convert to light theme manually." into tm-qpr-dev am: b28a810d55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20992190

Change-Id: I03ab374ab4049dc4a2376794ca14d6a8ff3f4ff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 23:34:45 +00:00
TreeHugger Robot
2cd37fb6fe Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev am: 654f714718 am: 4d7e4c4a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20795522

Change-Id: I70307a411262909945f44e7e3b58ff721ccc10d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 09:02:06 +00:00
TreeHugger Robot
4d7e4c4a8e Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev am: 654f714718
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20795522

Change-Id: Ie43422c362b180ca2d1124b1d7bf514276da101d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 08:10:03 +00:00
Brian Isganitis
4bcc9bc816 Add loopable EDU lottie files and convert to light theme manually.
These new assets are better at looping than the previous ones.

Followed go/sysui-illustration-eng to map from dark to light colors
programmatically. Handling the mapping in code is preferred over having
separate lottie assets for light and dark theme.

Test: Manual
Bug: 263157739
Change-Id: Ia3cd2a1e7d349188d182d796ba927f1c513d4716
2023-01-20 15:16:20 -08:00
Brian Isganitis
b21ad2da8c Implement initial transient Taskbar EDU tooltips.
Since this tooltip looks and behaves differently than the existing EDU
sheet, it has its own view and controller implementations (I also may
have wanted to write some Kotlin).

To keep transient taskbar open while on the second EDU step, another
autohide suspend flag is defined. Additionally, special casing is added
to avoid hiding transient taskbar if autohiding is currently suspended.

Tooltips use the same assets as the bottom sheet for now, and are scaled
down to fit the tooltip dimensions.

Reset `Taskbar Education` in Developer Options to try EDU again.

[Demos]
- First: https://screenshot.googleplex.com/ASBeGvrb2EA5wEF.png
- Second: https://screenshot.googleplex.com/7fnfcTh9bMYezDc.png

Test: Manual
Test: Open app, see swipe-up tooltip.
Test: Swipe up to show transient taskbar, see features tooltip.
Bug: 263157739
Fix: 258460203
Change-Id: I473f5fccbae279db0614763b640da0a120b6b7f7
2023-01-20 15:16:12 -08:00
Bill Yi
c084cd761e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I755d591028eba2dfa55fea32f1461472ec7da3d0
2023-01-15 20:52:29 -08:00
Bill Yi
4bcab37a84 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2accf6551252b4eb67da00030110922ca0a34b60
2023-01-15 20:51:58 -08:00
Alex Chau
958b8da658 Merge "Update overview actions top margin" into tm-qpr-dev am: 6367188b33 am: 7018435763
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20859638

Change-Id: I299772359dc374519b226ca46f375027a295787d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 21:49:11 +00:00
Alex Chau
7018435763 Merge "Update overview actions top margin" into tm-qpr-dev am: 6367188b33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20859638

Change-Id: Iae04cd9d776e25d9665e005af237b260d7967621
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 18:15:09 +00:00
Alex Chau
7351218fab Update overview actions top margin
Bug: 260596114
Test: manual
Change-Id: Ic5f51a8d0505571272e5ad03bd16db2b903fd697
2023-01-11 15:41:52 +00:00
Bill Yi
e6bc4f394d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2a7ae96952c7ae4eb491671c7cfe0b0511a518d
2023-01-08 03:45:38 -08:00
TreeHugger Robot
29e345e3ed Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-01-06 01:58:26 +00:00
Bill Yi
6f5ae3635d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75ef387d8a3b8da1239b8ca39372a75a77435acd
2023-01-05 17:41:08 -08:00
Ikram Gabiyev
f12179232b Merge "Turn off filter ui if flag is off" into tm-qpr-dev am: 4835519ccb am: ec6a7b6469
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861034

Change-Id: I74a30f8911f25a0fbb3e8198d9078b6316afdf0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 20:40:40 +00:00
Ikram Gabiyev
ec6a7b6469 Merge "Turn off filter ui if flag is off" into tm-qpr-dev am: 4835519ccb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861034

Change-Id: I38f2653dbb9d18351f0395554b4c26613f7b5975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 20:06:25 +00:00
Bill Yi
4ffa31e8b1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibacc8c88992e2d58792c98b1ea65c15bfe55e90a
2023-01-04 01:00:16 -08:00
Ikram Gabiyev
6d3ad6820d Turn off filter ui if flag is off
Fix a bug in a condition determining when to show
filter ui for a certain taskview, making sure
that the ui is off when the feature flag for
multi-instance is off.

Test: reproduced the steps laid out in the bug

Bug: 264218764
Change-Id: Ie745789ad834d56b79de47e5196737eb08b081fa
2023-01-04 00:16:34 +00:00
TreeHugger Robot
0e2236fe95 Merge "Update taskbar to spec" into tm-qpr-dev am: 39688d2d61 am: da62f09da6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20815395

Change-Id: Ifebcd13e1a030037fc51881fff76537109be3dda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 23:35:59 +00:00
TreeHugger Robot
da62f09da6 Merge "Update taskbar to spec" into tm-qpr-dev am: 39688d2d61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20815395

Change-Id: I5d5cf3caadc6081d728948bb1674344714126363
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 23:01:45 +00:00
TreeHugger Robot
39688d2d61 Merge "Update taskbar to spec" into tm-qpr-dev 2023-01-03 17:42:41 +00:00
Bill Yi
57ed3cb095 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I47d0aa4b3f6fdab4a9bb52a7707ad7e83294a4ed
2022-12-29 21:37:16 -08:00
Ikram Gabiyev
cbf9be3015 Merge "Filter recents view instances by package name" into tm-qpr-dev am: 231e061ae1 am: de88fbb252
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342914

Change-Id: I6e847c620e20be97194184ee9cfe94c07752c322
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-29 02:29:08 +00:00
Ikram Gabiyev
de88fbb252 Merge "Filter recents view instances by package name" into tm-qpr-dev am: 231e061ae1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342914

Change-Id: Ie221571adf3a3ce537e50de97ecc010d4795e272
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-29 01:58:17 +00:00
Ikram Gabiyev
231e061ae1 Merge "Filter recents view instances by package name" into tm-qpr-dev 2022-12-29 01:17:42 +00:00
Tony Wickham
2a058f5be1 Update taskbar to spec
- Space between icons is 24dp in all cases (transient, persistent,
  small tablet, large tablet)
- Persistent taskbar icon size remains 44dp, but transient taskbar icon
  sizes have changed slightly: 57dp -> 52dp for large tablets and
  50dp -> 48dp for small tablets
- Also moved all values to quickstep package to avoid confusion

Test: manual, visual
Fixes: 263465844
Change-Id: I563d64dca2d920762233dd6147395c5bba3ffcf3
2022-12-28 18:56:43 +00:00
Ikram Gabiyev
448e0ade10 Filter recents view instances by package name
Filter instances of GroupTasks based on package name
as a part of support for multi-instance

Add a feature flag to toggle multi-instance features

See the video below for how to use the demo.
Note: some extra UI elements were added since video
was recorded, but the filtering process is the same.
http://recall/-/da585DRwKRZK3S2xxcQrSm/gW9HZnbCvGyH1DQiVizOW2

See go/multi-instance for more info about the feature

Bug: 253520408

Test: manually tested the instance filtering

Change-Id: I19c947ca353699096388b9fbbdca6d75cb0041a7
2022-12-28 00:10:48 +00:00
Bill Yi
c8cec8e93d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45bd8694fd2f0387ed0f071bf7159ea474978bbf
2022-12-21 00:14:42 -08:00
Alex Chau
c8f4d71590 Merge "Add transientTaskbarMargin above taskbar in overview" into tm-qpr-dev am: d79e53a5c8 am: 8d18eba59e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782488

Change-Id: I4cd29254cc2f45de9956bd8aa3a626724b3ec8a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 19:36:22 +00:00
Alex Chau
8d18eba59e Merge "Add transientTaskbarMargin above taskbar in overview" into tm-qpr-dev am: d79e53a5c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782488

Change-Id: Ie66dbeb2b3219b5036554a0ec89ace2187124387
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 18:53:30 +00:00
Alex Chau
d79e53a5c8 Merge "Add transientTaskbarMargin above taskbar in overview" into tm-qpr-dev 2022-12-20 18:40:48 +00:00
Bill Yi
c326b7849f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-20 06:00:39 +00:00
Sihua Ma
45149d9036 Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev am: 04c89fe38e am: f8ab32a8bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20418248

Change-Id: I8cc2d48f94aaa415fb7b9bd8137502b27de33d5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 19:55:49 +00:00
Sihua Ma
f8ab32a8bc Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev am: 04c89fe38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20418248

Change-Id: Ibe09a5d1ab53070bc6a4b797f95e9d853f86fbc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 19:15:29 +00:00
Sihua Ma
04c89fe38e Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev 2022-12-19 18:22:38 +00:00
Alex Chau
1b276a1ba7 Add transientTaskbarMargin above taskbar in overview
- Also removed transient_taskbar_two_panels_size and use sw720dp override instead, to be consistent with how we handle small vs large tablet in overview
- Also made isTransientTaskbar mockable so we can test that in DeviceProfileDumpTest

Bug: 260596114
Test: DeviceProfileDumpTest
Change-Id: I3c2236b95d91246e9581531478e3c97601cfb2ec
2022-12-19 17:23:27 +00:00
Alex Chau
e13b1a22f9 Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev am: 4537638dfd am: 0d5ca5fe6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20533919

Change-Id: I37921b47514fc4823b2c6ee7d61fbf1ff6ca7c67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 12:26:25 +00:00
Alex Chau
0d5ca5fe6f Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev am: 4537638dfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20533919

Change-Id: I23b86a2c2588e8b22c717626fcf345cf32d1f7a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 11:46:31 +00:00
Alex Chau
4537638dfd Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev 2022-12-19 11:37:39 +00:00
Bill Yi
10d62429ab Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I29e6fce19e6e759d5d837d28c77a1adb282588eb
2022-12-19 01:42:12 -08:00
Thales Lima
6a59006592 Polish hotseat and taskbar with 3 buttons
Change margin spaces and logic of how many items the hotseat and taskbar should show.

Fix: 246424857
Test: DeviceProfileDumpTest
Test: HotseatWidthCalculationTest
Change-Id: I8ec71c56a0aa362483c43d6400c762d12cf45f5b
2022-12-17 11:20:21 +00:00
Sihua Ma
1db8bc2467 Add QuickstepWidgetHolder for widget handling
Fix: 235358918
Test: Manual
1. Rebooted the device and verified that widgets are still updating properly
2. Changed the theme from dark to daylight, then from daylight back to dark and verified that widgets are working
3. Kept the device on for several days and verified that widgets are still updating
4. Turn on auto-rotate for the launcher, open any app then exit, verified that widgets will not vanish and reappear
5. Add & remove widgets from the screen, added widgets are still updating

Change-Id: I98ee902f7d16b47bd77626201a4fefc897ba17a0
2022-12-16 11:56:36 -08:00
Bill Yi
1885c489fc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib1739767f90d758017acc10481fcac0bb0fffcc9
2022-12-16 04:45:21 -08:00
Bill Yi
0cd317cd08 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5b1e77bfbf2f911da92bb4bc14fbdf93ffe303b7
2022-12-16 04:44:51 -08:00
Bill Yi
3e7a6d9b74 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-16 02:18:14 +00:00
Sunny Goyal
8591bbc892 Merge "Unifying multiple all-apps implementations" into tm-qpr-dev am: 09fab7ee7d am: 37dd2e6691
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20713205

Change-Id: I073f6cb4d3a912b585cd1cd0e57f1ced1b0ed3a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:48:58 +00:00