commit | dffbdf861c8d382e2a46417f4c0f04960bafc96d | [log] [tgz] |
---|---|---|
author | Becky Qiu <xuqiu@google.com> | Tue Feb 09 12:27:37 2021 -0800 |
committer | Becky Qiu <xuqiu@google.com> | Wed Feb 10 03:07:40 2021 +0000 |
tree | a9b7c5922bc6d0a01baf6a4a3ad183101e3f57ef | |
parent | aafa8a44a3c8f014219c115049a229a39dc98de1 [diff] |
[Overview Sharing] Pass the full screen progress to task overlay. This is to change the alpha value of the suggest view when user swipe down. Bug: 179514465 Test: local Change-Id: Idfa66ff6d9bb43f35f859df828a19e3b47abcd65
diff --git a/quickstep/src/com/android/quickstep/TaskOverlayFactory.java b/quickstep/src/com/android/quickstep/TaskOverlayFactory.java index 93ebd5a..844d6f5 100644 --- a/quickstep/src/com/android/quickstep/TaskOverlayFactory.java +++ b/quickstep/src/com/android/quickstep/TaskOverlayFactory.java
@@ -222,6 +222,12 @@ } /** + * Sets full screen progress to the task overlay. + */ + public void setFullscreenProgress(float progress) { + } + + /** * Gets the system shortcut for the screenshot that will be added to the task menu. */ public SystemShortcut getScreenshotShortcut(BaseDraggingActivity activity,
diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index 0654ab1..f420de6 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java
@@ -1080,6 +1080,7 @@ progress = Utilities.boundToRange(progress, 0, 1); mFullscreenProgress = progress; mIconView.setVisibility(progress < 1 ? VISIBLE : INVISIBLE); + getThumbnail().getTaskOverlay().setFullscreenProgress(progress); updateTaskScaling();