Loading quickstep/src/com/android/launcher3/taskbar/overlay/TaskbarOverlayContext.java +1 −11 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ import com.android.launcher3.taskbar.BaseTaskbarContext; import com.android.launcher3.taskbar.TaskbarActivityContext; import com.android.launcher3.taskbar.TaskbarControllers; import com.android.launcher3.taskbar.TaskbarDragController; import com.android.launcher3.taskbar.TaskbarStashController; import com.android.launcher3.taskbar.TaskbarUIController; import com.android.launcher3.taskbar.allapps.TaskbarAllAppsContainerView; import com.android.launcher3.util.SplitConfigurationOptions.SplitSelectSource; Loading @@ -45,8 +44,6 @@ public class TaskbarOverlayContext extends BaseTaskbarContext { private final TaskbarDragController mDragController; private final TaskbarOverlayDragLayer mDragLayer; // We automatically stash taskbar when All Apps is opened in gesture navigation mode. private final boolean mWillTaskbarBeVisuallyStashed; private final int mStashedTaskbarHeight; private final TaskbarUIController mUiController; Loading @@ -60,18 +57,11 @@ public class TaskbarOverlayContext extends BaseTaskbarContext { mDragController = new TaskbarDragController(this); mDragController.init(controllers); mDragLayer = new TaskbarOverlayDragLayer(this); TaskbarStashController taskbarStashController = controllers.taskbarStashController; mWillTaskbarBeVisuallyStashed = taskbarStashController.supportsVisualStashing(); mStashedTaskbarHeight = taskbarStashController.getStashedHeight(); mStashedTaskbarHeight = controllers.taskbarStashController.getStashedHeight(); mUiController = controllers.uiController; } boolean willTaskbarBeVisuallyStashed() { return mWillTaskbarBeVisuallyStashed; } int getStashedTaskbarHeight() { return mStashedTaskbarHeight; } Loading quickstep/src/com/android/launcher3/taskbar/overlay/TaskbarOverlayDragLayer.java +2 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import androidx.annotation.NonNull; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.shared.TestProtocol; import com.android.launcher3.util.DisplayController; import com.android.launcher3.util.TouchController; import com.android.launcher3.views.BaseDragLayer; Loading Loading @@ -185,7 +186,7 @@ public class TaskbarOverlayDragLayer extends * 2) Sets tappableInsets bottom inset to 0. */ private WindowInsets updateInsetsDueToStashing(WindowInsets oldInsets) { if (!mActivity.willTaskbarBeVisuallyStashed()) { if (!DisplayController.isTransientTaskbar(mActivity)) { return oldInsets; } WindowInsets.Builder updatedInsetsBuilder = new WindowInsets.Builder(oldInsets); Loading Loading
quickstep/src/com/android/launcher3/taskbar/overlay/TaskbarOverlayContext.java +1 −11 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ import com.android.launcher3.taskbar.BaseTaskbarContext; import com.android.launcher3.taskbar.TaskbarActivityContext; import com.android.launcher3.taskbar.TaskbarControllers; import com.android.launcher3.taskbar.TaskbarDragController; import com.android.launcher3.taskbar.TaskbarStashController; import com.android.launcher3.taskbar.TaskbarUIController; import com.android.launcher3.taskbar.allapps.TaskbarAllAppsContainerView; import com.android.launcher3.util.SplitConfigurationOptions.SplitSelectSource; Loading @@ -45,8 +44,6 @@ public class TaskbarOverlayContext extends BaseTaskbarContext { private final TaskbarDragController mDragController; private final TaskbarOverlayDragLayer mDragLayer; // We automatically stash taskbar when All Apps is opened in gesture navigation mode. private final boolean mWillTaskbarBeVisuallyStashed; private final int mStashedTaskbarHeight; private final TaskbarUIController mUiController; Loading @@ -60,18 +57,11 @@ public class TaskbarOverlayContext extends BaseTaskbarContext { mDragController = new TaskbarDragController(this); mDragController.init(controllers); mDragLayer = new TaskbarOverlayDragLayer(this); TaskbarStashController taskbarStashController = controllers.taskbarStashController; mWillTaskbarBeVisuallyStashed = taskbarStashController.supportsVisualStashing(); mStashedTaskbarHeight = taskbarStashController.getStashedHeight(); mStashedTaskbarHeight = controllers.taskbarStashController.getStashedHeight(); mUiController = controllers.uiController; } boolean willTaskbarBeVisuallyStashed() { return mWillTaskbarBeVisuallyStashed; } int getStashedTaskbarHeight() { return mStashedTaskbarHeight; } Loading
quickstep/src/com/android/launcher3/taskbar/overlay/TaskbarOverlayDragLayer.java +2 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import androidx.annotation.NonNull; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.testing.TestLogging; import com.android.launcher3.testing.shared.TestProtocol; import com.android.launcher3.util.DisplayController; import com.android.launcher3.util.TouchController; import com.android.launcher3.views.BaseDragLayer; Loading Loading @@ -185,7 +186,7 @@ public class TaskbarOverlayDragLayer extends * 2) Sets tappableInsets bottom inset to 0. */ private WindowInsets updateInsetsDueToStashing(WindowInsets oldInsets) { if (!mActivity.willTaskbarBeVisuallyStashed()) { if (!DisplayController.isTransientTaskbar(mActivity)) { return oldInsets; } WindowInsets.Builder updatedInsetsBuilder = new WindowInsets.Builder(oldInsets); Loading