Commit Graph

13725 Commits

Author SHA1 Message Date
Presubmit Automerger Backend 4e6b8cfcf5 [automerge] Make the text for the drop target buttons fit if it's too long. 2p: d2d8e97a65 2p: 080bd76ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454967

Change-Id: I64c463eaa8338e068aed174ea1a90e0db194d93a
2022-04-07 16:39:50 +00:00
Sebastian Franco d2d8e97a65 Make the text for the drop target buttons fit if it's too long.
The text "Don't suggest app" is too long when the device language
is GE or JA, or if you make the text bigger in settings.

Before truncating the text completely we are going to try to make
the text smaller until it gets to a predefined value
(button_drop_target_min_text_size).

Test: Change the language to German (Deutch) and install a new app and drag it to the workspace to see the button "App nicht vorschlagen"
Test: Also, a nice way to test is to go to SecondaryDropTarget#setupUi and hardcode the option to always show "Don't suggest app"
Fix: 221480721
Change-Id: I99def4e23cd17109a297aecaa620cef7a0d137e7
2022-04-07 16:39:29 +00:00
TreeHugger Robot 0e508ba727 Merge changes from topic "presubmit-am-6e7b87d8c6594f9d9d7fb9f70b2a9861"
* changes:
  [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
  [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
  Clone mInsets when copying DeviceProfile to taskbar
2022-04-07 13:44:14 +00:00
TreeHugger Robot 833c210550 Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev 2022-04-07 13:44:14 +00:00
Alex Chau 9e9dd8fa43 Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev 2022-04-07 09:50:04 +00:00
Alex Chau 51bf7af3df Merge changes from topic "presubmit-am-91d9a2708d3b405695b3a3a0998b8f6e"
* changes:
  [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
  [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
  Make AllApps bottom sheet follow finger and snap after 30% progress
2022-04-07 09:50:04 +00:00
TreeHugger Robot c0c1276197 Merge changes from topic "presubmit-am-d97629e947434fe09a62af1bca34a360" into tm-mainline-prod am: 7cc9dcf664
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Change-Id: Ide8fd1d4ebe9b8abc8261ce5bdd24fc922f4fd5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:54:44 +00:00
TreeHugger Robot e633cca3bc Merge "Adding finish signal to GestureNavContract." into tm-dev 2022-04-07 03:24:01 +00:00
TreeHugger Robot 7cc9dcf664 Merge changes from topic "presubmit-am-d97629e947434fe09a62af1bca34a360" into tm-mainline-prod
* changes:
  [automerge] Adding finish signal to GestureNavContract. 2p: 5c20fdd73f
  Adding finish signal to GestureNavContract.
2022-04-07 03:24:01 +00:00
Thiru Ramasamy aa49200100 Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev 2022-04-07 01:07:28 +00:00
Presubmit Automerger Backend 3d696ee841 [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde 2p: ea8d7ce46b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Bug: 210792253
Change-Id: I4ccabfd43a260403c22c4a0833b782dd57ddbfc6
2022-04-06 21:33:02 +00:00
Presubmit Automerger Backend ea8d7ce46b [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Bug: 210792253
Change-Id: Ib59d79d10e3b745bb275439c435e5ca8edfd1578
2022-04-06 21:32:56 +00:00
Thiru Ramasamy d66f433cde Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event.
Test: Manual - wwdebug && wwlogcat - http://gpaste/5690465669087232
Bug: 210792253
Change-Id: Ibe0c762a9e40e1af85a4d18051ba2a74e9f6106a
2022-04-06 14:32:34 -07:00
Presubmit Automerger Backend 3e6259671d [automerge] Adding finish signal to GestureNavContract. 2p: 5c20fdd73f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Bug: 228260232
Change-Id: Iaac9f45042aff84fab7232672cec522bacaac902
2022-04-06 20:43:30 +00:00
Sunny Goyal 5c20fdd73f Adding finish signal to GestureNavContract.
Also fixing also-closing behavior for FloatingSurfaceView for Android S

Bug: 228260232
Test: Verified manually on device
Change-Id: I83f6417a756c1459533294d681e83abba6ea58aa
2022-04-06 13:42:59 -07:00
Brandon Dayauon e3589debfd Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev 2022-04-06 20:41:24 +00:00
Brandon Dayauon ad98954534 Merge changes from topic "clean2" into tm-mainline-prod
* changes:
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
  Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
2022-04-06 20:41:24 +00:00
Brandon Dayauon 25425eb49e Merge changes from topic "clean2"
* changes:
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15 2p: 771acac97d
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
  Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
2022-04-06 20:41:24 +00:00
Alex Chau ef7b504bef [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id9f6f9eb9f50bd4d2d07e979f1b90c500f75e2eb
2022-04-06 18:45:32 +00:00
Alex Chau 3d3b263bf0 [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: I3caf1b56cb39c2cf5dbf88a379bec8d955c0c080
2022-04-06 18:45:25 +00:00
Alex Chau e0227551cf Clone mInsets when copying DeviceProfile to taskbar
- Set mInsets with windowBounds.insets when initialized, and set windowBounds.insets when cloning DeviceProfile
- Added more bottom sheet / all apps in DeviceProfile dump
- Also dump taskbar's device profile in dumpsys

Fix: 226968237
Test: Taskbar AllApps should have correct top padding
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: I7739c699fb16544b92dc820354a643f745694c25
2022-04-06 19:44:43 +01:00
Presubmit Automerger Backend 21833871cb [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521 2p: afeb386645
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: If2f11aa645c865be2b21388e724fa04660f2e8b1
2022-04-06 17:22:59 +00:00
Stefan Andonian 510a818521 Show an 'Undo' snackbar when users dismiss a predicted hotseat item.
Bug: 200841778
Test: Hard-coded the flag to be true, and verified that the snack bar
is shown with the correct text. Also verified that talkback announces
"Item Removed" properly and that the correct log event is produced by
the AppEventProducer which AiAi needs to process the user action.

Change-Id: Ifbb9cf7aecf26cd4bcebf48d4fb07fb3d5af46bb
2022-04-06 17:22:40 +00:00
Alex Chau dee631c221 [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: If1a5da4570f79d5ab1bd6281d8a90ee31877fead
2022-04-06 12:31:15 +00:00
Alex Chau 49520d892d [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: I0e9fa83437dafb91ba22e929b31f55cbf88c3189
2022-04-06 12:31:08 +00:00
Alex Chau c83ea5f8fb Make AllApps bottom sheet follow finger and snap after 30% progress
Bug: 220336617
Test: manual
Change-Id: I0b6296cf5abf0f0a5f34fc2a0b5be93dc93ebf3f
2022-04-06 13:30:41 +01:00
Presubmit Automerger Backend 8c8b3260f4 [automerge] Adjust workspace grid and cellLayout paddings. 2p: 08610ca583 2p: 3de743eba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586931

Bug: 202971709
Change-Id: Id7afdac9afa747f598f0d7271f4df5f8470aeb30
2022-04-06 12:11:46 +00:00
Pat Manning 08610ca583 Adjust workspace grid and cellLayout paddings.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: Ia49e48f336bcca906aae6b014d88f10421b83d0c
2022-04-06 13:10:50 +01:00
Presubmit Automerger Backend 07317defcf [automerge] Adjust edit state drop targets and workspace scaling per device type and orientation. 2p: 5dadc92d7b 2p: 1447be8f6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586929

Bug: 202971709
Change-Id: I69adc6d0f1b0c1d3f28bd3d8737c6b391d7bf5d1
2022-04-05 20:56:12 +00:00
Pat Manning de25c0db36 Adjust edit state drop targets and workspace scaling per device type and orientation.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: I0a642f932afd75e47ce11a2c1ee94643d1a67e0c
2022-04-05 20:56:03 +00:00
Brandon Dayauon df63b26114 [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15 2p: 771acac97d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Bug: 224731116
Bug: 224731300
Change-Id: Idcc3bc32c0fd634d513e10ab6e9115f0b584a4e2
2022-04-05 18:56:22 +00:00
Brandon Dayauon 771acac97d [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Bug: 224731116
Bug: 224731300
Change-Id: Ib8ea272353a89061e318b4a0a9766f05f4497138
2022-04-05 18:56:14 +00:00
Brandon Dayauon d20011be15 Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
Fixed the button to show on Portrait mode..streamline added for work_mode_fab.
Took out unneccessary attributes such as textColor for the button and took out background.

How it looks in landscape: https://screenshot.googleplex.com/AVaUEztqsXYA28N
How it looks in portrait: https://screenshot.googleplex.com/3oTG3j7yZLCxkLz
Apk: https://drive.google.com/file/d/1qLeiJSF3lHf7tZzoHWwBHGxDgbveTIYX/view?usp=sharing

Test: Manual - Tested on local Pixel device (Raven)
Bug: 224731116
Bug: 224731300
Change-Id: If1392806adecf1ce02723d20686ca6bf524f6464
2022-04-05 11:50:18 -07:00
Alex Chau 0a0bf5b0e8 Merge "Override statusBar top inset in Launcher" into tm-dev am: f9aa367324 am: 2bb27e2280
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570025

Change-Id: Ie249e6bae2306b48eb6b8f293f3706866548378b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 11:44:21 +00:00
Alex Chau f9aa367324 Merge "Override statusBar top inset in Launcher" into tm-dev 2022-04-05 10:19:26 +00:00
Stefan Andonian b0fd9cd2ce Merge "Show correct drop targets for All-apps predicted item drags." into tm-dev am: bae4a72d30 am: 464562ae8a am: d18b80656f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17513162

Change-Id: I69f2c9e760f993b3489eb2841da7241df4be2e5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 20:52:28 +00:00
Brian Isganitis ffaf4dafa3 Merge "Add utility for isWallpaperSupported." into tm-dev am: 9417012064 am: 3eed932247
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17303344

Change-Id: I0f2491bebd36fff1c85834f5986e09c2ae5f1f28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 20:24:43 +00:00
Stefan Andonian bae4a72d30 Merge "Show correct drop targets for All-apps predicted item drags." into tm-dev 2022-04-04 20:13:29 +00:00
Brian Isganitis 9417012064 Merge "Add utility for isWallpaperSupported." into tm-dev 2022-04-04 19:57:25 +00:00
Stefan Andonian c62a4dae5f Show correct drop targets for All-apps predicted item drags.
This change fixes a bug where, after a user drags and drops a
predicted app from the all apps page once, dragging that item again
results in the "Remove" drop target being shown rather than the
"Do Not Suggest" drop target.

Bug: 221057278
Test: Verified correct drop down targets were present after fix when
dropping all apps prediction item on workspace multiple times in a row.

Change-Id: I95940eeebbd547861fcdfbb5d02769b82446184d
2022-04-04 17:32:32 +00:00
Alex Chau 20af9304cb Override statusBar top inset in Launcher
Fix: 227600170
Test: manual on small and large screen devices
Change-Id: I1b0dacaf555db966d1e2a837310d9cebe3e60d7a
2022-04-04 17:39:31 +01:00
Sunny Goyal 18e0838421 Merge "Adding a feature flag to disable icon overrides" into tm-dev am: 59c535bb71 am: 01e40862e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17359924

Change-Id: I34dc87556728defe033135e7e9c2f6267b1debea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 17:58:07 +00:00
Sunny Goyal 59c535bb71 Merge "Adding a feature flag to disable icon overrides" into tm-dev 2022-04-01 17:26:09 +00:00
Pat Manning 94bdc131c3 Merge "Revert "Adjust edit state drop targets, workspace scaling, and m..."" into tm-dev am: 5575dfeaad am: a202345353
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17400564

Change-Id: I2a6d7994a21526e8f0901989d432bc3ae8e60168
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 02:24:21 +00:00
Pat Manning 5575dfeaad Merge "Revert "Adjust edit state drop targets, workspace scaling, and m..."" into tm-dev 2022-04-01 02:05:41 +00:00
Vinit Nayak c8b2fdbc6a Merge "Add metrics for taskbar 3 button nav" into tm-dev 2022-03-31 23:22:33 +00:00
Kholoud Mohamed e98a6d2fc8 Merge "Fix newAPI lint error" 2022-03-31 21:11:34 +00:00
Vinit Nayak 26b6b577b9 Add metrics for taskbar 3 button nav
Fixes: 221075063
Test: wwlogcat shows right events,
new events show up on aster dashboard

Change-Id: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
Merged-In: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
2022-03-31 19:36:47 +00:00
TreeHugger Robot 697a168260 Merge "Add metrics for taskbar 3 button nav" 2022-03-31 19:19:24 +00:00
Jon Miranda 19a1fc932f 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: I724a4061df211b583dc18b90a93c5f441ba931f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:33:04 +00:00