Loading quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +2 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ import com.android.launcher3.util.ViewCache; import com.android.launcher3.views.ActivityContext; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.SysUINavigationMode.Mode; import com.android.quickstep.SystemUiProxy; import com.android.quickstep.util.ScopedUnfoldTransitionProgressProvider; import com.android.systemui.shared.recents.model.Task; import com.android.systemui.shared.system.ActivityManagerWrapper; Loading Loading @@ -343,6 +344,7 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ * Updates the TaskbarContainer to MATCH_PARENT vs original Taskbar size. */ public void setTaskbarWindowFullscreen(boolean fullscreen) { SystemUiProxy.INSTANCE.getNoCreate().notifyTaskbarAutohideSuspend(fullscreen); mIsFullscreen = fullscreen; setTaskbarWindowHeight(fullscreen ? MATCH_PARENT : mLastRequestedNonFullscreenHeight); } Loading quickstep/src/com/android/quickstep/SystemUiProxy.java +16 −0 Original line number Diff line number Diff line Loading @@ -418,6 +418,22 @@ public class SystemUiProxy implements ISystemUiProxy, } } /** * NOTE: If called to suspend, caller MUST call this method to also un-suspend * @param suspend should be true to stop auto-hide, false to resume normal behavior */ @Override public void notifyTaskbarAutohideSuspend(boolean suspend) { if (mSystemUiProxy != null) { try { mSystemUiProxy.notifyTaskbarAutohideSuspend(suspend); } catch (RemoteException e) { Log.w(TAG, "Failed call notifyTaskbarAutohideSuspend with arg: " + suspend, e); } } } @Override public void handleImageBundleAsScreenshot(Bundle screenImageBundle, Rect locationInScreen, Insets visibleInsets, Task.TaskKey task) { Loading Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +2 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ import com.android.launcher3.util.ViewCache; import com.android.launcher3.views.ActivityContext; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.SysUINavigationMode.Mode; import com.android.quickstep.SystemUiProxy; import com.android.quickstep.util.ScopedUnfoldTransitionProgressProvider; import com.android.systemui.shared.recents.model.Task; import com.android.systemui.shared.system.ActivityManagerWrapper; Loading Loading @@ -343,6 +344,7 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ * Updates the TaskbarContainer to MATCH_PARENT vs original Taskbar size. */ public void setTaskbarWindowFullscreen(boolean fullscreen) { SystemUiProxy.INSTANCE.getNoCreate().notifyTaskbarAutohideSuspend(fullscreen); mIsFullscreen = fullscreen; setTaskbarWindowHeight(fullscreen ? MATCH_PARENT : mLastRequestedNonFullscreenHeight); } Loading
quickstep/src/com/android/quickstep/SystemUiProxy.java +16 −0 Original line number Diff line number Diff line Loading @@ -418,6 +418,22 @@ public class SystemUiProxy implements ISystemUiProxy, } } /** * NOTE: If called to suspend, caller MUST call this method to also un-suspend * @param suspend should be true to stop auto-hide, false to resume normal behavior */ @Override public void notifyTaskbarAutohideSuspend(boolean suspend) { if (mSystemUiProxy != null) { try { mSystemUiProxy.notifyTaskbarAutohideSuspend(suspend); } catch (RemoteException e) { Log.w(TAG, "Failed call notifyTaskbarAutohideSuspend with arg: " + suspend, e); } } } @Override public void handleImageBundleAsScreenshot(Bundle screenImageBundle, Rect locationInScreen, Insets visibleInsets, Task.TaskKey task) { Loading