Commit Graph

60459 Commits

Author SHA1 Message Date
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
Rajat Jain 79acf64316 Merge "Low contrast for Personal and Work Tab in launcher" am: 63717ff856 am: ae7609e76d am: 0ae105a5c2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2227818

Change-Id: If53cd34080dd8826cc21fc9360a994feefcb6230
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 19:45:48 +00:00
Vinit Nayak 18d5634176 Merge "Update for stashed taskbar animation" into tm-qpr-dev 2022-12-01 19:26:11 +00:00
Rajat Jain 0ae105a5c2 Merge "Low contrast for Personal and Work Tab in launcher" am: 63717ff856 am: ae7609e76d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2227818

Change-Id: I1160426b17b70d9a5dd17e7fa98cf901fe94eea3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 19:10:24 +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
Rajat Jain ae7609e76d Merge "Low contrast for Personal and Work Tab in launcher" am: 63717ff856
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2227818

Change-Id: I22f136da4b4f575ea3eb09177693c0c8bb6c78b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 18:08:26 +00:00
Rajat Jain 63717ff856 Merge "Low contrast for Personal and Work Tab in launcher" 2022-12-01 16:31:49 +00:00
TreeHugger Robot 926a0b85ad Merge "Refactor all_apps.xml contents to all_apps_content.xml" into tm-qpr-dev am: 42faae4a49 am: a8126841f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20584068

Change-Id: I197d8a071ee406caa4eeab61b71d9d01742f20f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:30:29 +00:00
Rajat Jain 10c30b060b Low contrast for Personal and Work Tab in launcher
There is low contrast between font and background of
Personal and Work Tab in Launcher which makes it
difficult to read text

Bug: 235573969
Test: manual test
Change-Id: Idfbb7a27cc48de145cf2962facad06bf34ac35f8
2022-12-01 07:16:43 +00:00
TreeHugger Robot a8126841f8 Merge "Refactor all_apps.xml contents to all_apps_content.xml" into tm-qpr-dev am: 42faae4a49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20584068

Change-Id: Ib3068d204441c7eb609f9686872d8f1a0e2c73c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:04:37 +00:00
TreeHugger Robot 42faae4a49 Merge "Refactor all_apps.xml contents to all_apps_content.xml" into tm-qpr-dev 2022-12-01 06:09:49 +00:00
Becky Qiu 5e0b0f8a37 Merge "[Toast] Remove feature flag for rich answer, use all apps flag instead." into tm-qpr-dev am: 5c46bea3bc am: 955026def5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20590316

Change-Id: I56f0858812b351ffdda1601efefcb1409cb8167d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 03:04:48 +00:00
Becky Qiu 955026def5 Merge "[Toast] Remove feature flag for rich answer, use all apps flag instead." into tm-qpr-dev am: 5c46bea3bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20590316

Change-Id: Ica8801008593b2fb430ace79e78524e596303b63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 02:32:56 +00:00
Becky Qiu 5c46bea3bc Merge "[Toast] Remove feature flag for rich answer, use all apps flag instead." into tm-qpr-dev 2022-12-01 02:00:31 +00:00
Federico Baron 32828ecefd Set the ENABLE_DOWNLOAD_APP_UX_V2 flag to true
We will split the feature into two parts. The part that is guarded under ENABLE_DOWNLOAD_APP_UX_V2 is feature complete (everything except for the skeleton motion). The skeleton motion will be guarded by another flag (ENABLE_DOWNLOAD_APP_UX_V3). This is so that we have an improvement over the current version of restore icon treatment prior to release that we can start testing

Bug: 254858049
Test: Download an app and check how it looks when pending/donwloading/installing
Change-Id: I711f9d8acdb40689e71782acff6ef43907bb7435
2022-12-01 00:48:01 +00:00
Android Build Coastguard Worker 3bafdba70f Snap for 9354090 from ed882317da to tm-qpr2-release
Change-Id: I52fd07310076a24dbbd2afe3543c8fe9fe08c3df
2022-12-01 00:26:44 +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
TreeHugger Robot 69c1eb4a28 Merge "Adding screenrecord to debug themeIconTest" into tm-qpr-dev am: ed882317da am: 897a8d8e71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20590312

Change-Id: I8ea6ff7c9a30d96a46757adcf56774e41150ff5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 08:54:06 +00: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
TreeHugger Robot 897a8d8e71 Merge "Adding screenrecord to debug themeIconTest" into tm-qpr-dev am: ed882317da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20590312

Change-Id: Iace23ca364fa60fb0357b9586746be78d57cb63f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 08:25:00 +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
TreeHugger Robot ed882317da Merge "Adding screenrecord to debug themeIconTest" into tm-qpr-dev 2022-11-30 08:17:13 +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
Brandon Dayauon c531a94992 Merge "Searching for Golden Gate Bridge should show three queries and check if predicted app row and web suggest exists" into tm-qpr-dev am: 8267b7625f am: d203100fec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544528

Change-Id: I000e1623d0871c781ab694d194664734678b5e80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 03:21:44 +00:00
Tracy Zhou 3f24a03df7 Merge "Correct onActionDown trackpad offset values" 2022-11-30 02:53:23 +00:00
Brandon Dayauon d203100fec Merge "Searching for Golden Gate Bridge should show three queries and check if predicted app row and web suggest exists" into tm-qpr-dev am: 8267b7625f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544528

Change-Id: I626dd32e32a52e4f95954c26459d8d46dfa8b0d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 02:49:53 +00:00
Brandon Dayauon 8267b7625f Merge "Searching for Golden Gate Bridge should show three queries and check if predicted app row and web suggest exists" into tm-qpr-dev 2022-11-30 02:30:18 +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
Android Build Coastguard Worker 0012eb61cf Snap for 9348344 from 575048df99 to tm-qpr2-release
Change-Id: I21e6325c2748961c50d6f7c3d5ead3f8ea7c5131
2022-11-30 00:25:43 +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
TreeHugger Robot 51198f17fd Merge "Catch exception to prevent crash." into tm-qpr-dev am: a7fafd6976 am: 44e31ece66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544536

Change-Id: I429d12287a78c57b53097ba4ee1a4590cb48a04e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 23:34:46 +00:00
Xin Li 48fd208e07 Merge TQ1A.221205.012
Bug: 255404110

Merged-In: Ie9c62c0ee81086801942328c8770f37d5bf622c3
Change-Id: Idcdacb61af6501d7de45b725534fb227846262f7
2022-11-29 15:18:44 -08: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
TreeHugger Robot 44e31ece66 Merge "Catch exception to prevent crash." into tm-qpr-dev am: a7fafd6976
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544536

Change-Id: I56c0ee67cd286dea30b2ecac4bda93486145231f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 23:04:05 +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
TreeHugger Robot a7fafd6976 Merge "Catch exception to prevent crash." into tm-qpr-dev 2022-11-29 22:40:00 +00:00
Brandon Dayauon 7b53004999 Searching for Golden Gate Bridge should show three queries and check if predicted app row and web suggest exists
Add a method that checks if three web suggests exist and another method to check for
predicted app row and web suggest exists.

bug: 225583735
test: Manual - photo: https://screenshot.googleplex.com/3NoSUm7nzTvf3gX
Change-Id: I7f9340229aaf4a0a3928933035f193a576995525
2022-11-29 13:35:56 -08:00
TreeHugger Robot a18f9f93b5 Merge "Add flags for new restore icon treatment" into tm-qpr-dev am: 575048df99 am: 90b1e17819
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20536220

Change-Id: If31bd391b6b69e039a7b9c4c926efe4dfc022e66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 21:26:28 +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
TreeHugger Robot 90b1e17819 Merge "Add flags for new restore icon treatment" into tm-qpr-dev am: 575048df99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20536220

Change-Id: I740acb63fd51a6ada4d696a4d3ab5e6a6982effb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 20:56:58 +00:00
TreeHugger Robot 575048df99 Merge "Add flags for new restore icon treatment" into tm-qpr-dev 2022-11-29 20:11:11 +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
Jon Miranda 6f5062e64c Turn flag on by default: ENABLE_TASKBAR_REVISED_THRESHOLDS
Bug: 260002412
Test: manual
Change-Id: I2b5f2a434f5768c1834fa15d814f001e13b719da
2022-11-29 11:14:12 -08:00