Commit Graph

58436 Commits

Author SHA1 Message Date
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
Android Build Coastguard Worker 6dafbc1532 Snap for 8120673 from 56153bbc89 to tm-release
Change-Id: I123d3bfb5f6e1d37b3f93fd9af33fade087355ba
2022-01-27 02:09:33 +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
Android Build Coastguard Worker f364fe5e74 Snap for 8115127 from 78cac51636 to tm-release
Change-Id: Ie292c38899df667370eae75dca9932ca2140dfcf
2022-01-26 02:08:59 +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
Android Build Coastguard Worker 4df81465da Snap for 8116027 from a9a7d9b5d9 to sc-qpr3-release
Change-Id: Ief948c02b3d4c720ddfc94833c0e8bed349bf074
2022-01-26 00:07:37 +00: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
TreeHugger Robot dbfb75806e [automerger skipped] Merge "Update taskbar resume alignment anim if launcher state changes in the middle" into sc-v2-dev am: a9a7d9b5d9 -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: I3a79196f66bfcdbd83129ebc31171311f757de55
2022-01-25 18:35:50 +00:00
Brian Isganitis c19b51e1f3 Merge "Refactor all apps to depend on activity context." 2022-01-25 18:34:30 +00:00
TreeHugger Robot a9a7d9b5d9 Merge "Update taskbar resume alignment anim if launcher state changes in the middle" into sc-v2-dev 2022-01-25 18:31:32 +00:00
TreeHugger Robot 1d3b256eff Merge changes from topic "presubmit-am-7ba50c92d19c455d8266daf2c96ec31b" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Update taskbar resume alignment anim if launcher state changes in the middle 2p: cd6abc19a8
  Update taskbar resume alignment anim if launcher state changes in the middle
2022-01-25 18:31:32 +00:00
Bill Yi 4e18c410bf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I54fc1393608a503daf9e549fb61e92e7a58e7867
2022-01-25 18:13:32 +00:00
Bill Yi 2ffffeca0a [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d97da07a54
Blank merge reason: commit message contains skip directive

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

Change-Id: I65c034c9766fbe9f8b1133d8099c5eff3f9f1ba2
2022-01-25 18:09:46 +00:00
Bill Yi d97da07a54 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9829ed62bfe1ab6f6cdaf011e8b1c75d43b68625
2022-01-25 18:09:35 +00:00
Alex Chau f7f4f4d7ed Don't start dragging widget below bottom gesture margin
Bug: 215672979
Test: AddConfigWidgetTest
Change-Id: I8121c0662249ec019f4f47a402f7f78655a6b930
2022-01-25 15:18:12 +00:00
TreeHugger Robot 78cac51636 Merge "Remove ADAPTIVE_ICON_WINDOW_ANIM feature flag." 2022-01-25 14:21:24 +00:00
Alex Chau dfc8ddff87 Manually apply nav bar insets in DeviceProfile for tablets
- With flexible inset changes in T, taskbar is no longer inseted in getCurrentSizeRange, i.e. DeviceProfile.availableHeight no longer inset nav bar size
- In order for home screen sizes to be calcualted correctly, inset nav bar manually in DeviceProfile

Bug: 215528237
Test: maual in tablet gesture nav and 3 buttons
Change-Id: Ia7d518613eb843f4c45ed77cefc906d7124cb367
2022-01-25 14:11:07 +00:00
Thales Lima ec951f7f2c Merge "Make hotseat fit one line on tablets" 2022-01-25 14:03:34 +00:00
TreeHugger Robot 5d534c807a Merge "Cleanup dead code from old all close prototype." 2022-01-25 13:15:01 +00:00
TreeHugger Robot 90b6d5f452 Merge "Add ScreenRecord for a flaky test" 2022-01-25 04:27:51 +00:00
Android Build Coastguard Worker db40cdb086 Snap for 8112519 from 46728f6481 to tm-release
Change-Id: Ic671bc2881cee6c6fc1581158485c3d4b0b9727a
2022-01-25 02:09:11 +00:00
Jon Miranda 78d0d4f832 Remove ADAPTIVE_ICON_WINDOW_ANIM feature flag.
Has been enabled for past few releases, no longer needed
as a debug flag.

Bug: 209856611
Test: manual
Change-Id: Id25e36522636e5c5d8ee60cdec49b3ee3f4d4251
2022-01-24 18:00:04 -08:00
Jon Miranda 3ad2e4e350 Cleanup dead code from old all close prototype.
Bug: 209856611
Test: compiled
Change-Id: Ie94587467442ea00f949241fec41d10fb8c5a527
2022-01-24 17:56:44 -08:00
Brian Isganitis 1664c9f418 Refactor all apps to depend on activity context.
The current AllAppsContainerView has been split into a base class and a
subclass for activities. The base class allows using all apps with an
activity context. A-Z and work profile tabs are supported, but search
and the hotseat still require an Activity.

Test: Manual. All apps should work the same.
Bug: 204696617
Change-Id: I3b146714bc11b3b3555d97623aab5d78ac836482
2022-01-24 20:24:20 -05:00
Presubmit Automerger Backend 714c0bf1d6 [automerge] Update taskbar resume alignment anim if launcher state changes in the middle 2p: cd6abc19a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16693156

Change-Id: I5fe6e2e1492df3467ae3bc6880ff308e03a401dd
Merged-In: Ie0c6140e14186e41c7e4748dc745f87349b084fe
2022-01-24 23:25:36 +00:00
Presubmit Automerger Backend acbd4852b9 [automerge] Add fallback for missing remote animation callbacks 2p: bb530e9058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16688543

Bug: 194011186
Change-Id: I975ca18ca54c2ee061b0e8259e4091dc5b999e21
Merged-In: I1b1296fab316b979f441ebb474d1475e3fa68f95
2022-01-24 22:25:30 +00:00
Josh Tsuji 46728f6481 Merge "Adds Launcher in-window animations, and reworks how the unlock flow works." 2022-01-24 20:34:44 +00:00
Winson Chung bb530e9058 Add fallback for missing remote animation callbacks
- In some cases WM won't callback the remote animation callbacks (neither
  start nor cancel) and Launcher never finishes executing the pending
  command (preventing the subsequent commands from running).  For the time
  being, just cancel the current state to allow the commands to be
  processed.

Bug: 194011186
Test: Mash on overview and home buttons with a 3p launcher

Signed-off-by: Winson Chung <winsonc@google.com>
Change-Id: I1b1296fab316b979f441ebb474d1475e3fa68f95
Merged-In: I1b1296fab316b979f441ebb474d1475e3fa68f95
2022-01-24 20:11:04 +00:00
Alex Chau 0a1f7d5de5 Add ScreenRecord for a flaky test
Bug: 215673732
Test: none
Change-Id: I175031be50e37f7c14643475e3b44bfc514022e4
2022-01-24 18:56:40 +00:00
Alex Chau a42f658afa Merge "Add ScreenRecord for a flaky test" 2022-01-24 18:18:46 +00:00