Commit Graph

47938 Commits

Author SHA1 Message Date
Alex Chau 65dd83817c Merge "Remove ENABLE_OVERVIEW_GRID feature flag" 2022-01-28 23:14:23 +00:00
Lucas Dupin b9f7e269a9 Be forgiving with accidental horizontal scroll
An accidental horizontal touch, due to vertical fling on the -1 screen
could lead to imperceptible change in zoom, and send a frame to client
composition. This CL adds extra padding to overlay scroll amount, to
avoid these accidental gestures.

Bug: 211245940
Test: https://ui.perfetto.dev/#!/viewer?trace_id=3260c116-c578-6dad-e047-0a327b7d346c
Change-Id: Id05e482c79c1dcc2e1ba73baf8a4a4101797bbd2
2022-01-28 14:58:02 -08:00
Brian Isganitis 25b2ac8527 Do not scale down taskbar all apps icons.
Test: Manual
Bug: 204696617
Change-Id: I2ede15d8beaef65661984fe63bd99d0e7e726774
2022-01-28 16:43:24 -05:00
Brian Isganitis 9e80fb355c Inflate taskbar all apps in abstract slide-in view.
All apps can now be dismissed via the scrim or swiping down. To properly
behave as an AFW, the apps view can no longer be within the taskbar's
layout, and will instead add and remove itself from the drag layer.

Test: Manual
Bug: 204696617
Change-Id: I86a0ffc06faa653c65b3797a57ba6512c6874221
2022-01-28 15:21:11 -05:00
Brian Isganitis 4edf1da6e2 Introduce initial A-Z app drawer to taskbar.
Invoking the drawer is currently hooked up to tapping empty space on the
taskbar. Apps can be launched, and drag-n-drop split screen works. The
drawer can only be dismissed by acting on an app icon or tapping the
taskbar again.

Test: Manual
Bug: 204696617
Change-Id: I7c5fdbc7d54d8209f6f15ef80bfeb5e9b80cf647
2022-01-28 15:20:00 -05:00
Schneider Victor-tulias b707aa2464 Add tracking for widget creation
Bug: 216416777
Test: checked logs
Change-Id: Ic30b9e24561b1b09c8d247bf0d7acd9791eb82ca
2022-01-28 10:53:21 -08:00
TreeHugger Robot 65ffe19260 Merge "Allow overriding enterprise related strings in Launcher" 2022-01-28 18:52:43 +00:00
kholoud mohamed c76b2035aa Allow overriding enterprise related strings in Launcher
Test: manual
Bug: 188414133
Bug: 211422509
Bug: 188410712
Change-Id: I75858cdcf2057e7c270da5893cd9a90c6753f182
2022-01-28 16:33:03 +00:00
TreeHugger Robot 790146d1d8 Merge "Do not translate taskbar icons in kids mode when IME present." 2022-01-28 15:05:15 +00:00
TreeHugger Robot 0cc131ffe7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-28 14:49:21 +00:00
Pat Manning 05ff09c52c Do not translate taskbar icons in kids mode when IME present.
Test: manual
Bug: 203749295
Change-Id: I6958ed95f1199c1178487134b92ff3ef0f15da2e
2022-01-28 12:22:17 +00:00
Alex Chau bc8a71153d Merge "Dismiss AllApps when scrim is clicked" 2022-01-28 11:58:26 +00:00
Pat Manning 2a0d1bed1a Include A11y timeout for taskbar icon dimming in kids mode.
Test: manual
Bug: 203748818
Change-Id: I3d3f325aa667a033bb32ab3b3cd2d0b794f6ea4b
2022-01-28 11:42:21 +00:00
Pat Manning e9a36099db Merge "Animate icon dimming in taskbar when force showing in immersive mode." 2022-01-28 10:24:07 +00:00
Alex Chau e9703705c3 Merge "Revert "Add ScreenRecord for a flaky test"" 2022-01-28 09:55:23 +00:00
TreeHugger Robot 6db903c27b Merge "Disable bulk icon loading" 2022-01-28 02:49:21 +00:00
Andy Wickham 38257ad086 [automerge] Utilities.trim never returns null. 2p: 5f0a5eb877
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Bug: 213931730
Change-Id: If167edb9f9d56ffdb6e94eee2f660c47dc331d94
2022-01-28 00:56:13 +00:00
Andy Wickham 5f0a5eb877 Utilities.trim never returns null.
This fixes a crash loop I was seeing on my device and also
preemptively fixes similar NullPointerExceptions.

Bug: 213931730
Test: Manually verified crash loop stopped with this change.
Change-Id: I8d2fc8475d42ac60b7fdc9219421a8c9733c7b9f
(cherry picked from commit 56be73be80)
2022-01-28 00:56:08 +00:00
Andy Wickham 8e3131898f Merge "Utilities.trim never returns null." 2022-01-28 00:35:50 +00:00
Schneider Victor-tulias c4ae75d7b5 Disable bulk icon loading
Temporarily disabling bulk icon loading until a fix to b/216529986 and b/216590478 is ready.

Bug: 216590478
Bug: 216529986
Test: manual
Change-Id: I590ebb501a9ed6f017661b32b6e0d59fa911d7d7
2022-01-27 16:26:31 -08:00
Tony Wickham 470f4591c3 Merge "Don't add IME back and switcher buttons if IME renders them" 2022-01-28 00:05:23 +00:00
Alex Chau 4185089847 Revert "Add ScreenRecord for a flaky test"
This reverts commit 1a9ef83988.

Reason for revert: Remove ScreenRecord to see if it resolves stale input event problem
Bug: 215672979

Change-Id: Ia7b7cd992c79af34b11d17becde98f253ab778ac
2022-01-27 21:48:59 +00:00
Tony Wickham f6e98fdc9c Don't add IME back and switcher buttons if IME renders them
- Also cache InputMethodService.canImeRenderGesturalNavButtons() since it doesn't change at runtime

Test: Enable persist.sys.ime.can_render_gestural_nav_buttons setprop, then ensure we don't draw IME back button or switcher button when gesture nav is enabled
Test: We still show back button in setup, regardless of nav mode
Bug: 205803355
Change-Id: Iab8c47521ab9e561881e4ffb45142888e4c427e4
2022-01-27 20:15:19 +00:00
Pat Manning 900ef936ad Animate icon dimming in taskbar when force showing in immersive mode.
Test: manual
Bug: 203748818
Change-Id: Iab3c65db502e7dbde3141429e9ae70eec1fabde1
2022-01-27 17:59:35 +00:00
Hilary Huo c8c3d20cdf [settings-pixel-search] Turn off slice timeout logging
Test: m
Bug: 191297465
Change-Id: I6acf5e71b08f4090f0c00657483a554d42c82bc7
2022-01-27 17:57:27 +00:00
Alex Chau 8a10e63be7 Dismiss AllApps when scrim is clicked
Bug: 208599118
Test: In tablet, clicking scrim dismisses AllApps bottom sheet. Scrolling AllApps won't dismiss the bottom sheet.
Test: In non-tablet, clicking scrim do nothing.
Test: Workspace touch isn't affected
Change-Id: Ia93c6573efa8577c41251ddec56a8f75f1df32d0
2022-01-27 17:24:27 +00:00
Winson Chung 41e2824bfa Revert "Temporarily disable SUW specific insets logic"
This reverts commit 361f82b237.

Reason for revert: Latest SUW update ensures AOSP layout is same as Pixel

Bug: 204384193
Change-Id: I4eaa8e6045232c2897d97e49d532939c838dbce0
2022-01-27 17:21:48 +00:00
Pat Manning 2718fd6767 Merge "Adjust margins for kids mode back button." 2022-01-27 13:00:00 +00:00
TreeHugger Robot 0d9756280e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fea22ae7e9 -s ours am: 09a91f3e53 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If2690f2acecf9b787adaf9897fc975d61e3aa5dd
2022-01-27 12:27:05 +00:00
TreeHugger Robot 09a91f3e53 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fea22ae7e9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I47ed9919f5f588a2133c91abecbb3442c68fa574
2022-01-27 12:21:31 +00:00
TreeHugger Robot 69d15d64bd Merge changes from topic "presubmit-am-6bd3c47be92a487ca1fb9007131b59ff" into sc-v2-dev-plus-aosp am: 5c8132970e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16718625

Change-Id: Ifd6ee8c39e8d92bb7cd86ca5c3c958ac5a3599c2
2022-01-27 12:21:07 +00:00
Bill Yi f714e22e61 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d97da07a54 am: 2ffffeca0a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I06e237fa941f798f99504e55ef03cdc201541c49
2022-01-27 12:21:05 +00:00
TreeHugger Robot fea22ae7e9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-01-27 12:07:13 +00:00
TreeHugger Robot 5c8132970e Merge changes from topic "presubmit-am-6bd3c47be92a487ca1fb9007131b59ff" into sc-v2-dev-plus-aosp
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d97da07a54
  Import translations. DO NOT MERGE ANYWHERE
2022-01-27 12:07:13 +00:00
Alex Chau 635b3abcf1 Remove ENABLE_OVERVIEW_GRID feature flag
- Use isTablet directly instead of overviewShowAsGrid
- Tablet/landscape resoruces can now be overriden via xml
- Use Landscape resources in tablet in additional to vertical bar layout
  - For resources overwritten in values-land that was intended for vertical bar layout, override them in sw600dp for tablet landscape

Bug: 210597891
Test: manual
Change-Id: I19eac935a5fb1a420485408aa8b4774632726af1
2022-01-27 11:28:35 +00:00
TreeHugger Robot 1d502c295a Merge "Don't update everything when only refreshrate changes" 2022-01-27 03:07:21 +00:00
Evan Rosky 52ab94bf17 Don't update everything when only refreshrate changes
This was going through the whole display-info-changed flow
when only the refreshrate changed. This was causing updates
with outdated information (where displaymanager callback
happens before configurationchanged). The result is that
things like touch-monitors (based on display info) were
out-of-sync with view content (which is based on configuration).

This change just updates the local record of screenrefresh
when it changes.

Bug: 179308296
Test: With fixed-rotation-in-config, open recents and repeatedly
      rotate the device. Make sure touch regions stay aligned
      with recents content.
Change-Id: I9a8c553dfa55ec4402edcecac44bc87cb51c75fc
2022-01-26 12:11:02 -08:00
Vadim Tryshev 56153bbc89 Merge "Revert "Revert "Removing unused tracing""" 2022-01-26 18:43:19 +00:00
Alex Chau 38b48557e0 Merge "Manually apply nav bar insets in DeviceProfile for tablets" 2022-01-26 18:02:23 +00:00
Pat Manning a46ba689f3 Adjust margins for kids mode back button.
Test: manual
Bug: 203749295
Change-Id: I3374fad84de0e6d39bec26761a9ea70a5a3d6375
2022-01-26 16:45:07 +00:00
TreeHugger Robot d7757f5aed Merge "Enable bulk icon loading on master" 2022-01-26 09:04:40 +00:00
Jon Miranda 5a8b62b38f Avoid sending FirstScreenBroadcast if there is nothing to send.
Bug: 216389279
Test: manual
Change-Id: I1c30f02cbb287c25a140cb4801d6b66b07cec3a7
2022-01-25 18:06:10 -08:00
Tracy Zhou 3007a91b5e Merge "Delay showing task bar until the user releases their finger dragging from all apps to normal" 2022-01-25 21:44:48 +00:00
Schneider Victor-tulias 1702a0ea90 Enable bulk icon loading on master
Bug: 195674813
Test: none
Change-Id: I01fb4b77e652b2fd71e8a7a0edf5ddbe024f9d48
2022-01-25 13:03:37 -08:00
Tony Wickham c4f2560b0f Merge "Don't create new nav bar layer when IME is rendering nav buttons" 2022-01-25 20:17:43 +00:00
Schneider Victor-tulias bce63e06ed Merge "Fix taskbar icon dragging issues" 2022-01-25 19:03:06 +00:00
TreeHugger Robot 48fb939966 Merge "Don't start dragging widget below bottom gesture margin" 2022-01-25 18:47:18 +00:00
TreeHugger Robot 454fbb35dd [automerger skipped] Merge "Update taskbar resume alignment anim if launcher state changes in the middle" into sc-v2-dev am: a9a7d9b5d9 -s ours am: dbfb75806e -s ours
am skip reason: Merged-In Ie0c6140e14186e41c7e4748dc745f87349b084fe with SHA-1 cd6abc19a8 is already in history

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

Change-Id: Ic779ea0775e2915fe739fc3837d57bc9268032be
2022-01-25 18:36:23 +00:00
TreeHugger Robot 54aabc1898 [automerger skipped] Merge changes from topic "presubmit-am-7ba50c92d19c455d8266daf2c96ec31b" into sc-v2-dev-plus-aosp am: 1d3b256eff -s ours
am skip reason: Merged-In Ie0c6140e14186e41c7e4748dc745f87349b084fe with SHA-1 5fa2ed27bf is already in history

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

Change-Id: Ia44618aaff3298907abc19c5f99a93680f3826a0
2022-01-25 18:36:14 +00:00
Presubmit Automerger Backend 7119a3d0c2 [automerger skipped] [automerge] Add fallback for missing remote animation callbacks 2p: bb530e9058 am: acbd4852b9 -s ours
am skip reason: Merged-In I1b1296fab316b979f441ebb474d1475e3fa68f95 with SHA-1 3f40a17e54 is already in history

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

Change-Id: I6c8951b3864a94f76da5aa731b30ec918b8ef675
2022-01-25 18:36:00 +00:00