Commit Graph

13651 Commits

Author SHA1 Message Date
Jon Miranda
6ab0bc6d76 Merge "Fix window x-axis movement after gesture ends." into tm-qpr-dev am: 12053e958f am: fb6fe0ce82
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20590521

Change-Id: I8c2ae63af9a2c768e3cc586ce808775fbec62c15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 03:31:14 +00:00
Vinit Nayak
f8c0da187c Merge "Update for stashed taskbar animation" into tm-qpr-dev am: 18d5634176 am: a5bb63d39a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20470413

Change-Id: Icd28b632d9df39cca246024e76ca232b16492428
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 02:47:06 +00:00
TreeHugger Robot
4093307b87 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-02 00:50:40 +00:00
Jon Miranda
a4aaf1aced Add transient taskbar sizing for twoPanel devices.
Bug: 259712417
Test: on two panel device, on tablet device
Change-Id: Iae273b6bbfb254288c234aa5882f39eb0b6a88b1
2022-12-01 16:28:29 -08:00
Saumya Prakash
030f2fc7b7 Updated fonts to Google Sans in Setup screens.
This change migrates the "All set" and Gesture Nav Tutorial screens to
use Google Sans fonts as aligned with SUW's design.

Before:
"All set" screen: https://screenshot.googleplex.com/7ptWroSfRiZLcRT.png
Gesture Nav Tutorial screen: https://screenshot.googleplex.com/6SuYs67NSD2WRkU.png

After:
"All set" screen: https://screenshot.googleplex.com/6UGrdR43h8aDJzU.png
Gesture Nav Tutorial screen: https://screenshot.googleplex.com/45NxPH2ezQsHxL4.png

Fix: 258241930
Test: Manual
Change-Id: I21cc19383f78e3d9e84b0d892cbd977f20b91e86
2022-12-01 23:20:02 +00:00
Jon Miranda
fb6fe0ce82 Merge "Fix window x-axis movement after gesture ends." into tm-qpr-dev am: 12053e958f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20590521

Change-Id: Ia8007f6d5d36d59292cf53233f20c244322099aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 20:21:15 +00:00
Jon Miranda
12053e958f Merge "Fix window x-axis movement after gesture ends." into tm-qpr-dev 2022-12-01 20:03:57 +00:00
Vinit Nayak
a5bb63d39a Merge "Update for stashed taskbar animation" into tm-qpr-dev am: 18d5634176
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20470413

Change-Id: I641cdf68d3e3b58e9ce77a12d16082d55297d4b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 19:47:32 +00:00
Vinit Nayak
18d5634176 Merge "Update for stashed taskbar animation" into tm-qpr-dev 2022-12-01 19:26:11 +00:00
Alex Chau
cd76ac24b6 Fade in/out taskbar when launching apps from or back to AllApps/-1
- Added isHotseatIconTopWhenAligned to control both iconAlignment and stash animation to just fade in if hotseat icon isn't on top of the screen in the aligned state

Fix: 257355864
Fix: 213455090
Test: Launch apps from/back to home, taskbar animate from/to hotseat
Test: Launch apps from/back to AllApps/-1, taskbar fade in/out
Test: Repeat aboth with transient or persistent taskbar
Change-Id: I6bdae615ff9e199d23cbfe2d26c8d46a08fbc436
2022-12-01 18:56:30 +00:00
Brian Isganitis
deac0d529a Reduce top padding of Taskbar's All Apps tray.
The top padding looks too high because the code is assuming we have a
search bar at the top of the bottom sheet. Until we implement search, we
should temporarily reduce padding for the taskbar implementation.

Before:
  - No tabs: https://screenshot.googleplex.com/AAPdR5nbwepWQ82.png
  - Tabs: https://screenshot.googleplex.com/3DnQp6PKhqXyRag.png

After:
  - No tabs: https://screenshot.googleplex.com/A8enwnSs8r78ccj.png
  - Tabs: https://screenshot.googleplex.com/A3fAy2bXgmSPrG9.png

Test: Manual
Bug: 216683257
Change-Id: Ie0837acc3aed162b9428a209962be2a102c515c8
2022-12-01 00:21:28 +00:00
Vinit Nayak
3b1f5849ce Update for stashed taskbar animation
* Strangely if you swipe up with a split pair
and then tap on the live tile to go back to
fullscreen this animates fairly correctly.
However, if you drag the focused pair back to fullscreen
the bottom app does not unclip as expected

Bug: 219411750
Test: Swipe up w/ stashed taskbar in portrait.
Thumbnail cutout doesn't appear when dragging to
fullscreen

Change-Id: Ia6e7aae10389d9fefa4adbfce540171bbe0a9180
2022-11-30 11:56:40 -08:00
Sunny Goyal
9a616213e1 Removing SearchActionItemInfo
> Instead introducing an interface for handling click events
> Linking this interface to other UI which handle clicks

Bug: 259733681
Test: Presubmit and verified manually
Change-Id: I9cbf2d009d64254f513deb909a151e46e860d039
2022-11-30 10:59:07 -08:00
Bill Yi
687050a6c5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icc29007bba50bcceaaec8137968455017147d39e
2022-11-30 02:45:01 -08:00
Bill Yi
9b9f2a3aa6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6ab7df1e38c98de99ffbe48b4c714b14e405e493
2022-11-30 02:44:26 -08:00
Tracy Zhou
08d9e33a38 Animate split confirmation after second app selection from workspace am: c91ef50257 am: e69081984b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20556280

Change-Id: I2bc2597380955929566799b9d6a8a77ba00fe348
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 08:52:42 +00:00
Tracy Zhou
e69081984b Animate split confirmation after second app selection from workspace am: c91ef50257
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20556280

Change-Id: Id2591ad19fe0164027d514417457ca4b2bda97b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 08:23:30 +00:00
Tracy Zhou
c91ef50257 Animate split confirmation after second app selection from workspace
Fixes: 239824922
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/099acb31-1e05-4d00-a670-590c177a846e
Change-Id: Ifb769afcaf694a1157444f273da69331db15ab1a
2022-11-30 03:39:02 +00:00
Tracy Zhou
3f24a03df7 Merge "Correct onActionDown trackpad offset values" 2022-11-30 02:53:23 +00:00
Vinit Nayak
5b625f32ac Merge "Send corrent SUW insets for taskbar portrait vs landscape" into tm-qpr-dev am: 792a827309 am: 5d84ac3640
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546386

Change-Id: If3ffeb06fa79a1c6d135c2c6bd2cf4cba4a0ba48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 01:44:02 +00:00
Vinit Nayak
5d84ac3640 Merge "Send corrent SUW insets for taskbar portrait vs landscape" into tm-qpr-dev am: 792a827309
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546386

Change-Id: Ifb13e200987d1a3475c1116589d87c57376c8179
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 01:13:40 +00:00
Vinit Nayak
792a827309 Merge "Send corrent SUW insets for taskbar portrait vs landscape" into tm-qpr-dev 2022-11-30 00:50:51 +00:00
Jon Miranda
3d748c3a7f Merge "Allow touches on transient taskbar if ime is present." into tm-qpr-dev am: 912e6dd64d am: 1c96b6584c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544543

Change-Id: I3ef3c9ed96db3cb36f99d3dd465e88513a4c00ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 23:35:23 +00:00
Jon Miranda
1c96b6584c Merge "Allow touches on transient taskbar if ime is present." into tm-qpr-dev am: 912e6dd64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544543

Change-Id: I783620f7e1644d344fc66f59cb78a88dfc9b3488
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 23:06:16 +00:00
Jon Miranda
912e6dd64d Merge "Allow touches on transient taskbar if ime is present." into tm-qpr-dev 2022-11-29 22:42:03 +00:00
Jon Miranda
6811fe8ab0 Fix window x-axis movement after gesture ends.
Previously we setClamp to false right after the gesture ends.
So when the page settle animation gets the page offset, it would
get the unclamped version which would cause the window to move
in the x-axis movement even if the window didn't actually move
during the gesture.

Now we ensure that we setClamp to false after the page transition
ends so that the scroll offset is consistent all the way until
the end of the animation.

Bug: 258851206
Test: 1. swipe a bit diagonally to bring up taskbar with
         no x-axis window movement
      2. release
      3. there should be no x-axis movement on window

Change-Id: Ic9949d11f2e8bc7ccbd737555a3d5551f09456da
2022-11-29 21:15:32 +00:00
Jon Miranda
106cc895e9 Allow touches on transient taskbar if ime is present.
Bug: 260101467
Test: open chrome, enter url to pull up ime, swipe up to show taskbar,
      tap on taskbar icon

Change-Id: Ic8be6c2bb82fc9b8ab83572cb8622ac157078ea9
2022-11-29 11:30:39 -08:00
TreeHugger Robot
8e6fcd867f Merge "Fixing shortcuts not getting theme icons" into tm-qpr-dev am: 1330244f0a am: d813bddf99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546011

Change-Id: I72835e139741384fe31bad16920c46dcabe9ee99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 01:44:06 +00:00
TreeHugger Robot
d813bddf99 Merge "Fixing shortcuts not getting theme icons" into tm-qpr-dev am: 1330244f0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546011

Change-Id: Iec0c682a4f1a81a4093a4971929603fc4dc32f21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 01:12:21 +00:00
TreeHugger Robot
1330244f0a Merge "Fixing shortcuts not getting theme icons" into tm-qpr-dev 2022-11-29 01:10:38 +00:00
Brian Isganitis
4f15197b1e Merge changes Idae0c3d8,I8c599912 into tm-qpr-dev am: 39768edb67 am: 9ec55062c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20537774

Change-Id: Ib7e987348ae653dc434bee29d35e5d6c19375e35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 23:26:53 +00:00
Brian Isganitis
9ec55062c2 Merge changes Idae0c3d8,I8c599912 into tm-qpr-dev am: 39768edb67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20537774

Change-Id: I174c7ba634ba205d6a8b904124349bdeae89e929
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 22:35:48 +00:00
Brian Isganitis
39768edb67 Merge changes Idae0c3d8,I8c599912 into tm-qpr-dev
* changes:
  Stash taskbar while EDU is open.
  Remove Taskbar EDU icon wave animation.
2022-11-28 22:14:42 +00:00
Tracy Zhou
602291053f Correct onActionDown trackpad offset values
Offsets are increments and the start values on down do not matter

Bug: 254783214
Test: manual
Change-Id: Ie16f583500069f4677f96ccb2a59c823074d82bd
2022-11-28 13:23:59 -08:00
TreeHugger Robot
c04d1344fd Merge "Disallow transient taskbar to un/stash in certain sys ui states" into tm-qpr-dev am: c04120e61e am: d214a581bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20552584

Change-Id: I630642cbfa571e009d2a2c2f520eaa9ec50801e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 20:00:40 +00:00
Alex Chau
70574349ed Merge "Allow 3p launchers to use swipe proxy in AllSetActivity" into tm-qpr-dev am: 735c016bef am: 0bb736df75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20562094

Change-Id: Ic6f08b7c50c47d4508b555d1554169dc74b74109
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 19:59:33 +00:00
TreeHugger Robot
d214a581bd Merge "Disallow transient taskbar to un/stash in certain sys ui states" into tm-qpr-dev am: c04120e61e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20552584

Change-Id: Ie78637b99c552d9c37b90345ad8dcfce4cab2f67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 19:29:32 +00:00
Alex Chau
0bb736df75 Merge "Allow 3p launchers to use swipe proxy in AllSetActivity" into tm-qpr-dev am: 735c016bef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20562094

Change-Id: Ib2cab4e40f0b7ad671a212303e925bed8911e736
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 19:29:06 +00:00
Stefan Andonian
677978c8ab Fix for bug where expensive launcher animations were being paused and never resumed.
Bug: 240623130
Test: Verified on device that the issue is not reproducible after fix.
Change-Id: I7b1e2f70fd75b1eddf340a4f85465cc6d5b65f73
(cherry picked from commit 8b336195a6)
2022-11-28 19:05:03 +00:00
TreeHugger Robot
c04120e61e Merge "Disallow transient taskbar to un/stash in certain sys ui states" into tm-qpr-dev 2022-11-28 18:54:40 +00:00
Alex Chau
735c016bef Merge "Allow 3p launchers to use swipe proxy in AllSetActivity" into tm-qpr-dev 2022-11-28 18:53:59 +00:00
Sunny Goyal
ce4896cff5 Fixing shortcuts not getting theme icons
Bug: 238650110
Test: Updated ThemeIconsTest
Change-Id: I803cd6eefa4e393bf19901a44712622adac7f4b1
2022-11-28 09:48:50 -08:00
Brian Isganitis
84633c1a9d Stash taskbar while EDU is open.
The stashing behavior is consistent with the All Apps overlay.

Test: Manual
Bug: 217261955
Change-Id: Idae0c3d829e806be6c18f00455f7ddd0d60f0efb
2022-11-28 16:02:40 +00:00
Brian Isganitis
92400681a9 Remove Taskbar EDU icon wave animation.
As per the latest mocks, the taskbar will be stashed during EDU to
prevent taskbar interactions that inadvertently close the EDU sheet.
Thus, this animation is no longer needed.

Test: Manual
Bug: 217261955
Change-Id: I8c5999121b7bb927b748d6163575dc4555ece84c
2022-11-28 15:46:17 +00:00
Vinit Nayak
209dd03b69 Send corrent SUW insets for taskbar portrait vs landscape
* There were two separate blocks of code for sending insets
for Taskbar during SUW, consolidate those
* We also weren't changing Taskbar window height corresponding
to the added insets/change of height for different
orientations in SUW

Fixes: 253538830
Test: Went through SUW and switched orientations,
no back button overlap

Change-Id: Ifb3bc1c20a793ef062bf338a3bdf933b8ae98c28
2022-11-24 10:29:16 -08:00
Pat Manning
bc75ac55fd Allow 3p launchers to use swipe proxy in AllSetActivity
Bug: 257926371
Test: manual
Change-Id: If70412ecaa81481d8147abb3c52859ae4ea54a11
2022-11-24 14:57:08 +00:00
Jon Miranda
923e6eead5 Merge "Check for isTaskbarPresent in addition to isTransientTaskbar when the method is called outside of taskbar." into tm-qpr-dev am: 3535426bea am: 01dae31db7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544533

Change-Id: I40d80d5c41243ff383c156112966769232765cd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 03:15:09 +00:00
Jon Miranda
01dae31db7 Merge "Check for isTaskbarPresent in addition to isTransientTaskbar when the method is called outside of taskbar." into tm-qpr-dev am: 3535426bea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544533

Change-Id: I8d77fb2ef6f2a7572627f8cbcdd8b4102c3b78f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 01:59:25 +00:00
Jon Miranda
3535426bea Merge "Check for isTaskbarPresent in addition to isTransientTaskbar when the method is called outside of taskbar." into tm-qpr-dev 2022-11-24 01:28:18 +00:00
Vinit Nayak
adc426bd71 Merge "Prevent empty recents going home when splitting with taskbar present" into tm-qpr-dev am: dba5a396b0 am: 87d546e94a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20545270

Change-Id: Iced00f7a660c58ee6547c9faa795c45226919c17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 23:35:13 +00:00