Commit Graph

46858 Commits

Author SHA1 Message Date
Jon Miranda 81840c00a5 Merge "Avoid closing PopUpContainer immediately after view is clicked." into tm-dev am: 39055bebc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17477449

Change-Id: I82d03c4b9eb389f000d5458d665e2fbf5f340710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:32:32 +00:00
Sebastián Franco 0a6b19b5f9 Merge "Fix widget drop animation in 4x5 grid" into tm-dev am: 89804c42d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17491543

Change-Id: Icee6ea4283c21a10c4ca90875d9c30435cca2d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:31:48 +00:00
Jon Miranda 39055bebc9 Merge "Avoid closing PopUpContainer immediately after view is clicked." into tm-dev 2022-03-31 17:08:33 +00:00
Sebastián Franco 89804c42d4 Merge "Fix widget drop animation in 4x5 grid" into tm-dev 2022-03-31 17:05:16 +00:00
Alex Chau dbb6b413df Merge "Use Chrome instead of Camera for TwoPanelWorkspaceTest" into tm-dev am: e681a1cbd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523003

Change-Id: I83659f5e77b2b7daccd780fa1c8ffa2c1914776d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 16:31:43 +00:00
Alex Chau e681a1cbd5 Merge "Use Chrome instead of Camera for TwoPanelWorkspaceTest" into tm-dev 2022-03-31 16:15:55 +00:00
Alex Chau bc772ba533 Merge "Update overview scrim color to system_neutral2_200" into tm-dev am: 537552d55d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17504356

Change-Id: Icf20d067f720f47a6401dce7ad65dd861f3ccb4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 15:02:44 +00:00
Alex Chau 72c4de8c13 Use Chrome instead of Camera for TwoPanelWorkspaceTest
Fix: 227540753
Test: atest -c NexusLauncherTests:com.android.launcher3.ui.workspace.TwoPanelWorkspaceTest#testEmptyPagesGetRemovedIfBothPagesAreEmpty
Change-Id: Ia00e243ef9d56e094da0e23511cc8d62fa606df6
2022-03-31 14:40:20 +00:00
Alex Chau 537552d55d Merge "Update overview scrim color to system_neutral2_200" into tm-dev 2022-03-31 14:39:52 +00:00
Alex Chau 35daa8d180 Merge "Using the WindowMetrics API instead of display.getRealSize" into tm-dev am: 5f8386cf26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17326029

Change-Id: I75528d40dcdc9a77ad5f91e02fc21b64d5aeeac0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 11:11:17 +00:00
Alex Chau 5f8386cf26 Merge "Using the WindowMetrics API instead of display.getRealSize" into tm-dev 2022-03-31 10:58:40 +00:00
Thales Lima 563030d5ac Merge "Make inline qsb part of grid attrs" into tm-dev am: c1ea50a43d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17399991

Change-Id: I776f8cf88d2da5d5818ac75fa904f4549a1fe1bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 08:50:52 +00:00
Thales Lima c1ea50a43d Merge "Make inline qsb part of grid attrs" into tm-dev 2022-03-31 08:30:10 +00:00
Vinit Nayak 1c2074924f Merge "Fix translation for secondary split thumbnail in RTL" into tm-dev am: 254c77e279
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17489781

Change-Id: Ie0178c43d1a377d7c62fcdd15187d3e2c7f421f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 04:25:18 +00:00
Jerry Chang 43234d9058 Merge "Fix wrong split percentage after split layout been pushed up" into tm-dev am: 8eba01dca3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17505943

Change-Id: I6fb3036f3848112a4f37eae6134a76a98b6b3eea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 04:25:00 +00:00
Vinit Nayak 254c77e279 Merge "Fix translation for secondary split thumbnail in RTL" into tm-dev 2022-03-31 04:19:42 +00:00
Jerry Chang 8eba01dca3 Merge "Fix wrong split percentage after split layout been pushed up" into tm-dev 2022-03-31 04:07:15 +00:00
Hongwei Wang edcccb95d1 Merge "Handle shadow radius for auto-pip in Launcher" into tm-dev am: fe43ca95da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17456665

Change-Id: Iacec57ccb2a9a0a58d1462221d8c9101f859e1aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 22:25:39 +00:00
Hongwei Wang fe43ca95da Merge "Handle shadow radius for auto-pip in Launcher" into tm-dev 2022-03-30 22:23:51 +00:00
Sebastian Franco b6b4069aa4 Fix widget drop animation in 4x5 grid
For the 4x5 grid we add insets to the widget and the
 animation wasn't accounting for it.

I'm using this shell function to quickly change the
animation speed

```
function anim-speed() {
	adb shell settings put global window_animation_scale $1
	adb shell settings put global transition_animation_scale $1
	adb shell settings put global animator_duration_scale $1
}
```

anim-speed 1 # for regular speed
anim-speed 10 # for really slow speed

Fix: 194227752
Test: Put down a widget in 4x5 and the animation should match,
sometimes is to fast but you can slow the animations with adb and see
the difference

Change-Id: I182729de39c0d0b12231d07e337dddca6fccf5c0
2022-03-30 21:18:18 +00:00
Sunny Goyal 36c0f76e21 Using the WindowMetrics API instead of display.getRealSize
Bug: 221961069
Bug: 195408476
Bug: 198965093
Test: Verified locally and presubmit
Change-Id: I4dac9c19df4c43e6a38ba5c05f27d25f4cfcb071
2022-03-30 21:07:23 +00:00
Sihua Ma ab7ec42053 Merge "Updating font to Google Sans for widget dialog when work profile is paused" into tm-dev am: f8c9905eae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17476926

Change-Id: I97499d417df1dc16d6b2a5a85a4d3ab75c74863c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 20:03:13 +00:00
Thales Lima 12d0eff037 Make inline qsb part of grid attrs
This should make it more configurable, and be independent of the screen size set by the user.

Fix: 223726518
Test: atest Launcher3Tests:HotseatSizeTest
Test: atest Launcher3Tests:InlineQsbTest
Change-Id: If04f3fb0f556103f60b580c757a9fc06da561516
2022-03-30 20:57:57 +01:00
Sihua Ma f8c9905eae Merge "Updating font to Google Sans for widget dialog when work profile is paused" into tm-dev 2022-03-30 19:49:41 +00:00
TreeHugger Robot 3217c4e160 Merge "Moving away from obsolete Display#getRealSize()." into tm-dev am: dc4dad8ec4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17452405

Change-Id: Icf1892ea0f2312aefb2e8f6c8606c2cd3b266a02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 18:04:36 +00:00
TreeHugger Robot dc4dad8ec4 Merge "Moving away from obsolete Display#getRealSize()." into tm-dev 2022-03-30 17:44:44 +00:00
Vinit Nayak 1322fc3710 Fix translation for secondary split thumbnail in RTL
Fix: 225157531
Test: Swipe up in RTL shows both thumbnails
were expected.

Change-Id: I87d286b6ce6542c7cffadf86e3d4d99a3618f984
2022-03-30 10:32:51 -07:00
Alex Chau 013a85e926 Update overview scrim color to system_neutral2_200
Fix: 227344452
Test: manual
Change-Id: I2a101cbfbdea56144fa09ccb06f904018b35e80a
2022-03-30 18:15:57 +01:00
András Klöczl e882bfc53e Merge "Separate workspace item finding logic" into tm-dev am: aa35c39167
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968685

Change-Id: I744cb7faa64fe55171aec50fbe31d421ede1f0f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 17:01:41 +00:00
Thales Lima dadc605273 Merge "Add border space to all apps cells" into tm-dev am: ececa893b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17399999

Change-Id: I60c3a1ad82f7cb7f38dcd09d36161cd4af0b6501
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 17:01:32 +00:00
András Klöczl aa35c39167 Merge "Separate workspace item finding logic" into tm-dev 2022-03-30 16:43:32 +00:00
Thales Lima ececa893b7 Merge "Add border space to all apps cells" into tm-dev 2022-03-30 16:42:46 +00:00
Jerry Chang f5d90b9ec2 Fix wrong split percentage after split layout been pushed up
The task thumbnails of splitting task might not start with (0, 0), like
the case when IME panel pushing up split layout. Updated to consider
different start position while calculating split percentage.

Fix: 218704243
Test: enter split in portrait, toggle on IME panel, observed task
      thumbnails been placed properly after swiped up to overview.
Change-Id: I5b0d9710b56e9d77b86369c7fff4bc3ca75d9c7e
2022-03-30 14:03:55 +00:00
Luca Zuccarini c650930265 Merge "Refactor the floating header's positioning." into tm-dev am: 4e813d37c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17252654

Change-Id: I5275d16e46124c2338d11c59e88220f115ece7ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 13:29:40 +00:00
Luca Zuccarini 4e813d37c0 Merge "Refactor the floating header's positioning." into tm-dev 2022-03-30 13:03:48 +00:00
Thales Lima 080d890383 Add border space to all apps cells
Also remove tablet condition, phones should also follow the workspace size.

Fix: 218638090
Test: visual and HSV
Change-Id: Ib201011391c28c0f1dcd0ce8645c3191655a7227
2022-03-30 11:56:27 +01:00
Sihua Ma 59cfcd0946 Updating font to Google Sans for widget dialog when work profile is paused
Changing the font family of no_widgets_text to Google Sans.

Test: Manual
Fix: 226612140
Change-Id: I70d98c9571aa3a62bb61685b10ae46530630bf97
2022-03-30 00:23:44 +00:00
Vinit Nayak a448235246 Merge "Always look for MODE_OPENING during task launch from overview" into tm-dev am: db2c726560
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17463979

Change-Id: Idba1440fba5a86ec262424f316e1e8aec17c1b36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 21:32:42 +00:00
Vinit Nayak db2c726560 Merge "Always look for MODE_OPENING during task launch from overview" into tm-dev 2022-03-29 21:11:26 +00:00
Bill Yi f8c7af03f0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 58c4f43629 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id6015261a848009fd65cff0e04601255ac8315b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 18:53:46 +00:00
Bill Yi 58c4f43629 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 18:22:38 +00:00
Bill Yi b594368bc7 Merge changes from topic "presubmit-am-2340518a30a2408a984a3d78b00c29e0" into tm-mainline-prod
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9779a95364
  Import translations. DO NOT MERGE ANYWHERE
2022-03-29 18:22:38 +00:00
TreeHugger Robot a46828796f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: c248d6f005 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I650ae972ec87cbefc46dc40537453f852dc6c844
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 18:19:03 +00:00
TreeHugger Robot 38f4c50173 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: efd738090c -s ours
am skip reason: subject contains skip directive

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

Change-Id: If63445c1702aaf06ab23ff0b2f0469836ffa848b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 18:17:54 +00:00
Jon Miranda 10b5d68045 Avoid closing PopUpContainer immediately after view is clicked.
When an item is clicked, we start an app launch animation
from the icon in the container to the full app. The issue is that
we close the container too early, which causes a janky experience.

Tested that we already handle closing the container in all click
instances (ie. when launcher is in background).

Bug: 185510490
Test: click on all the different view types within PopupContainer
      ensure that the container does get closed via logs

Change-Id: I4fef24b911137d0abd24746fa49f466f5183176c
2022-03-29 11:12:48 -07:00
TreeHugger Robot c248d6f005 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 17:53:29 +00:00
TreeHugger Robot e7e3f2b57c Merge changes from topic "presubmit-am-3f24c96dff24487f8268a2b84e6ee0a8" into tm-mainline-prod
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c84b58beda
  Import translations. DO NOT MERGE ANYWHERE
2022-03-29 17:53:29 +00:00
TreeHugger Robot efd738090c Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 17:53:26 +00:00
TreeHugger Robot 4d061fe0b9 Merge changes from topic "presubmit-am-4c87facc90f845b68d23f88c21c888dc" into tm-mainline-prod
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 0d6db09676
  Import translations. DO NOT MERGE ANYWHERE
2022-03-29 17:53:26 +00:00
TreeHugger Robot 7fc675efab Merge "Close system windows when toggling overview" into tm-dev am: 4cb55616e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454593

Change-Id: Ic468259c3765a6d4711014129f33914d6ded868a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 17:05:13 +00:00