Commit Graph

655530 Commits

Author SHA1 Message Date
TreeHugger Robot
274cdd4caf Merge "Provide IconProvider in sysui dagger" into sc-v2-dev 2021-10-12 03:21:12 +00:00
Shaowei Shen
152da31edf Merge "[Output Switcher] Update Ui layout to match with mertial next" into sc-v2-dev 2021-10-12 01:53:42 +00:00
TreeHugger Robot
59d7598b52 Merge "Animate QS alpha on split shade pull down" into sc-v2-dev 2021-10-12 01:06:09 +00:00
TreeHugger Robot
492bdf0074 Merge "Rename getSurfaceTransformHint API and switch to using NDK transform constants" into sc-v2-dev 2021-10-12 00:35:32 +00:00
Lucas Dupin
1ec71012d1 Animate QS alpha on split shade pull down
When pulling down the shade in split mode, the quick settings alpha
should be directly connected to the drag down gesture and the same that
we have for the notification shade.

Test: manual
Bug: 200804740
Fixes: 196722669
Change-Id: I6532c8a78826a5b60609dc66557abc49a3f140c5
Merged-In: I6532c8a78826a5b60609dc66557abc49a3f140c5
2021-10-12 00:08:39 +00:00
TreeHugger Robot
af816a74d6 Merge changes I2516e8d2,I6c4f5c93 into sc-v2-dev
* changes:
  Don't expand the keyguard if it's fading away.
  Don't play screen off animation if we are upside down unless that's allowed.
2021-10-11 23:50:51 +00:00
Vishnu Nair
8eb0c64cf4 Rename getSurfaceTransformHint API and switch to using NDK transform constants
NDK exposes ANativeWindowTransform/NATIVE_WINDOW_TRANSFORM_*. These
constants are aligned with HAL definitions and are used internally to
specify buffer transforms. Native consumers of the transform hint
 are expected to generate ANativeWindowTransform from the hint.

Aligning the SDK and the NDK transform values will make the API
less confusing.

Bug: 196167822
Test: atest AttachedSurfaceControlTest
Change-Id: Ib20be045f6c8c6d7befef93a839a27098da55ffa
2021-10-11 16:28:20 -07:00
Taran Singh
53a1d2e0e0 Merge "Remove binder tracing from IMS" into sc-v2-dev 2021-10-11 20:33:53 +00:00
Caitlin Cassidy
acf2a8d3d9 Merge "[Ongoing Call] Hide the status bar in immersive mode if the user has swiped it away." into sc-v2-dev 2021-10-11 20:32:00 +00:00
Beverly Tai
b0e7bac136 Merge "Ensure unlock icon animates" into sc-v2-dev 2021-10-11 20:05:14 +00:00
TreeHugger Robot
a06b166601 Merge "[Status Bar Refactor] Move PanelBar#updateScrimFraction into ScrimController." into sc-v2-dev 2021-10-11 19:55:46 +00:00
Taran Singh
70021e0f8a Remove binder tracing from IMS
Binder tracing can be very expensive. In dogfood builds its triggered
time to time and it should only be called manually when needed.

Fix: 202721321
Test: atest CtsInputMethodtestCases
      tested with winscope trace.

Change-Id: I0a4ee1b90e56ed1b20e44b5a0b42c17d565d05dd
2021-10-11 19:14:40 +00:00
Caitlin Cassidy
91ffa06bb2 [Status Bar Refactor] Move PanelBar#updateScrimFraction into
ScrimController.

No need for PanelBar to calculate scrim values and notify
ScrimController of them, when ScrimController can just calculate them
directly.

Test: Manually verifying scrim fraction is still updated correctly via
logs
Bug: 200063118

Change-Id: I37df95015002825adf7217c4144950e85485af84
Merged-In: I37df95015002825adf7217c4144950e85485af84
2021-10-11 18:32:27 +00:00
Matt Pietal
3dcea69858 Merge "More keyguard docs" into sc-v2-dev 2021-10-11 18:23:23 +00:00
Caitlin Cassidy
de8b2434bb [Ongoing Call] Hide the status bar in immersive mode if the user has
swiped it away.

Test: Manual (see video in b/195839150#comment6)
Test: TODO unit tests if general structure is approved
Bug: 195839150
Change-Id: Iee58416973becf9d66db6f50c7512cf65722766b
2021-10-11 17:50:07 +00:00
Winson Chung
716a74a819 Merge "Apply the last recents animation transform on single-activity PIP tasks" into sc-qpr1-dev am: 731c558ec1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16019499

Change-Id: I79df8b973ae2336861556be8d85728a568d0ac17
2021-10-11 17:48:30 +00:00
Winson Chung
731c558ec1 Merge "Apply the last recents animation transform on single-activity PIP tasks" into sc-qpr1-dev 2021-10-11 17:31:18 +00:00
Matt Pietal
1c9e5a9952 More keyguard docs
Starting to set the template for docs, with much more coming.

Test: read the docs
Bug: 195430376
Change-Id: Ie0403bba608520d2be6a5b5d4555c6e8a3deb1ed
2021-10-11 12:46:06 -04:00
Selim Cinek
e81d0394f7 Merge "Fixed the performance of unlocking when dozing" into sc-v2-dev 2021-10-11 16:22:35 +00:00
Beverly
4ba84cbd01 Ensure unlock icon animates
- always update lock icon visibility if the state changes
(ie: fp running state or userUnlockedWithBiomtric)
- show the lock icon if mUserUnlockedWithBiometric is true so
that mShowLockIcon or mShowUnlockedIcon are converse (aside from
fingeprint listening state)

Test: manual, atest LockIconViewControllerTest
Fixes: 201264245
Change-Id: I5d4e2f7566bf724923f2f24808e96aa0d789ff07
2021-10-11 11:49:25 -04:00
TreeHugger Robot
f68d0b927f Merge "Make sure the color background is only cleared once" into sc-v2-dev 2021-10-11 15:36:07 +00:00
Jean-Michel Trivi
ee5419c367 Merge "AudioService: initialize sensors if head tracking supported" into sc-v2-dev 2021-10-11 15:24:37 +00:00
Beth Thibodeau
c91778d2e5 Merge "Add content description for seekbar" into sc-v2-dev 2021-10-11 15:20:40 +00:00
Alex Florescu
635fef18d6 Merge "Configure 720dp split shade similar to 600dp" into sc-v2-dev 2021-10-11 12:55:18 +00:00
Nataniel Borges
2a5d5da90c Merge "[DO NOT MERGE] Compatibilize flicker from master to sc-v2-dev" into sc-v2-dev 2021-10-11 11:47:10 +00:00
Nataniel Borges
2af16463ee [DO NOT MERGE] Compatibilize flicker from master to sc-v2-dev
This is necessary to fix  "Unable to save trace file /sdcard/flicker/startRotationServiceTest_layers_trace.winscope" in the library self tests

Bug: 202288112
Bug: 202366188
Bug: 188993244
Test: atest FlickerTests WMShellFlickerTests
Change-Id: I9d6d6025be8b659d2f062771cfbd2f6c0982c2be
2021-10-11 10:47:19 +00:00
Jordan Demeulenaere
d8b856ceae Merge "Fix SysUI crash when locking while showing the Media Output Group dialog" into sc-v2-dev 2021-10-11 09:39:17 +00:00
Jordan Demeulenaere
6076998bce Merge "Use Falsing Manager for media player taps" into sc-v2-dev 2021-10-11 09:39:09 +00:00
TreeHugger Robot
2aa3d92490 Merge "Fix non-protected broadcast NO_ACTION" into sc-v2-dev 2021-10-11 03:41:01 +00:00
Beverly Tai
bb72307118 Merge "Update face lockout co-ex message" into sc-v2-dev 2021-10-10 23:32:17 +00:00
Chris Li
c8ce41fa89 Merge "Fix unfreeze on unstarted freezer" into sc-v2-dev 2021-10-10 11:43:43 +00:00
Chris Li
df04e22915 Merge "Treat two TaskFragment leashes as one for TASK_FRAGMENT_OPEN/CLOSE" into sc-v2-dev 2021-10-10 11:14:28 +00:00
TreeHugger Robot
43ba88d749 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 3b55d6d9fd -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16022272

Change-Id: I983e2deec2bdb63ef8743c1c74ba77f7ce76d5b5
2021-10-10 05:55:39 +00:00
TreeHugger Robot
909efbeef5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 77ff793f66 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16010791

Change-Id: I846381c5fd410e99ed92448b08358711dab538c1
2021-10-10 05:54:50 +00:00
TreeHugger Robot
2e3d322593 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-10 05:37:53 +00:00
TreeHugger Robot
3b55d6d9fd Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-10-10 05:37:38 +00:00
TreeHugger Robot
77ff793f66 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-10-10 05:34:26 +00:00
TreeHugger Robot
0354fa34aa Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-10 05:34:05 +00:00
Bill Yi
fd357953dc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida32e69a1a2dd102d6f60bfb5e13790cdf0bcca9
2021-10-09 06:16:19 +00:00
Bill Yi
8c4d915e01 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88cafe31874b0dc86c8b912a00f8b4028fbd0deb
2021-10-09 06:13:57 +00:00
Chris Li
5b00d1426d Fix unfreeze on unstarted freezer
Before, when trigger change transition and screen freeze before the
previous transition is finished, it will cancel the animation and call
to unfreeze. However, it will then unfreeze the new snapshot instead of
the old one, which cause a client crash because of missing leash.

The fix contains two changes:
1. Let SurfaceAnimator to take the snapshot from the freezer as it does
   for animation leash.
2. When an animation leash needs to be removed, check if it is the
   current animation leash (parent of the window surface) before
   reparenting the window surface back to the parent window surface.

Bug: 201622511
Bug: 196173550
Test: atest WmTests:WindowContainerTests
      #testStartChangeTransitionWhenPreviousIsNotFinished
Test: click demo app launch spit before the previous one is finished
Change-Id: I58fb05a971b49981d168d00c9fb42014b4d3cd4d
2021-10-09 14:06:59 +08:00
Joanne Chung
094b2085be Merge "Fix not show translation if call startTranslation after pauseTranslation" into sc-qpr1-dev am: e82a38a8ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16001112

Change-Id: Iaad1e9005b2442bd88a6f767fd774fea94bb26d9
2021-10-09 02:42:24 +00:00
Bill Yi
6572495b1e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If64090e638c3cbbd46b737a3705d245108c2c89a
2021-10-09 02:29:58 +00:00
Bill Yi
e615b75ab8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibdf0e8b92b536f9848d3fcd7595929e652211692
2021-10-09 02:27:31 +00:00
Joanne Chung
e82a38a8ee Merge "Fix not show translation if call startTranslation after pauseTranslation" into sc-qpr1-dev 2021-10-09 02:26:10 +00:00
Winson Chung
54d481deda Apply the last recents animation transform on single-activity PIP tasks
- When swiping up to enter PIP w/ auto-enter, SysUI applies a transform
  on the leash which is seamlessly applied to the task (to prevent jumps
  when the leash is removed).  This was intended to be applied in both
  single and multiple activity PIP cases, but if that doesn't happen,
  then when the transform is later cleared, it will inadvertently reset
  the task's crop and matrix.

Bug: 201127015
Test: atest PinnedStackTests
Test: Open YT, enter PIP, turn screen off, turn screen back on
Change-Id: I0d6d46c7c52f7a43058902b50a26131f626ae92d
2021-10-08 23:26:03 +00:00
Josh Tsuji
088de9ff5a Don't expand the keyguard if it's fading away.
Bug: 196364593
Test: run an app that is locked in landscape, lock the screen, unlock it
Change-Id: I2516e8d2b5b7da0056eeec0b85ed33362f7f3503
2021-10-08 17:36:10 -04:00
Vishnu Nair
d54349db7c Merge "WM: Track focus changes in AccessibilityController" into sc-v2-dev 2021-10-08 21:15:05 +00:00
Nader Jawad
58745e540e Merge "Update RenderEffectCache capability query" into sc-v2-dev 2021-10-08 20:27:12 +00:00
Eino-Ville Talvala
fed7243e56 Merge "Camera: Fix wrong wasImageCaptured flag" into sc-qpr1-dev am: 0f6c1c9d24
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16009383

Change-Id: I086f7400f1a7faba2eacb6e05c61a927ef768ce9
2021-10-08 20:26:18 +00:00