Commit Graph

45369 Commits

Author SHA1 Message Date
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
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
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
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
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
TreeHugger Robot
fea22ae7e9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-01-27 12:07:13 +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
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
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
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
Winson Chung
a0c451008a Merge "Add fallback for missing remote animation callbacks" 2022-01-24 18:13:47 +00:00
Tony Wickham
cd6abc19a8 Update taskbar resume alignment anim if launcher state changes in the middle
One way to reproduce this issue is to run `adb shell input keyevent KEYCODE_HOME`, which happens to pause and immediately resume launcher. For example, let's say we run this while in All Apps. Because the isResumed=true comes before the state transition to Normal, we behave as if we are still going to All Apps, specifically goingToUnstashedState = false (since we stash in All Apps). To fix this, we now listen to state changes while the resume alignment animation is playing, and update it if necessary.

Also did the same correction for the gesture alignment animation, though I don't have a specific repo for that.

Finally, because there are now more triggers for alignment animations to play, we add a check to only play them if it's not animating to the same value it's already animating towards. One notable experience this improves is swiping down from All Apps to home; if you do it quick enough, the state animation ends before the taskbar unstash animation, and thus the unstash animation would cancel and start again with the full duration, making it look laggy/disjointed (this behavior existed before this change as well).

Test: TaplTestsQuickstep
Test: Go to All Apps, run `adb shell input keyevent KEYCODE_HOME`, open an app and ensure taskbar icons are visible
Test: Quick switch from home when taskbar is present in apps, but instead go to overview; ensure no jump when taskbar stashes
Test: Swipe down quickly from All Apps, ensure taskbar unstashing doesn't slow down when reaching the end of the state transition
Fixes: 214562370
Change-Id: Ie0c6140e14186e41c7e4748dc745f87349b084fe
Merged-In: Ie0c6140e14186e41c7e4748dc745f87349b084fe
(cherry picked from commit 5fa2ed27bf)
2022-01-24 16:56:12 +00:00
Sunny Goyal
fcb9182336 Merge "Updating logic to check if icon needs badging" 2022-01-24 16:20:34 +00:00
Alex Chau
1a9ef83988 Add ScreenRecord for a flaky test
Bug: 215672979
Test: none
Change-Id: I3bfd0275a4d551c0b6d614a7a76d696f14ce3ca3
2022-01-24 15:16:24 +00:00