From 13f4b8a158683c9f8b91146e9d0fad6424f6a369 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Wed, 19 Feb 2020 13:41:52 -0800 Subject: Implement wallpaper zoom hooking it to the shade This adds a notion of per caller wallpaper zoom, in order to support simultaneous clients. The shade might be pulled down while in overview, for example, and we must coordinate between launcher and systemui. Bug: 149792636 Bug: 146387434 Test: atest NotificationShadeWindowViewTest Test: atest WallpaperControllerTests Test: manual Change-Id: I588ba56d3d2704845d033ea2a5890ce812b9ee07 --- core/java/android/view/ViewRootImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/view/ViewRootImpl.java') diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index 8d3cffc512c3..86696860036d 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -9054,7 +9054,7 @@ public final class ViewRootImpl implements ViewParent, @Override public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, - boolean sync) { + float zoom, boolean sync) { if (sync) { try { mWindowSession.wallpaperOffsetsComplete(asBinder()); -- cgit v1.2.3