Add depth to -1 screen

Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
This commit is contained in:
Lucas Dupin committed 2021-07-28 12:36:31 -07:00
1 parent 646f804627
commit 87d752062e
3 files changed
+39 -8

No files matched your search

@@ -210,6 +210,17 @@ public abstract class BaseQuickstepLauncher extends Launcher
}
}
/**
* {@code LauncherOverlayCallbacks} scroll amount.
* Indicates transition progress to -1 screen.
* @param progress From 0 to 1.
*/
@Override
public void onScrollChanged(float progress) {
super.onScrollChanged(progress);
mDepthController.onOverlayScrollChanged(progress);
}
@Override
public void startIntentSenderForResult(IntentSender intent, int requestCode,
Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) {