Loading quickstep/src/com/android/quickstep/QuickScrubController.java +4 −0 Original line number Diff line number Diff line Loading @@ -267,6 +267,10 @@ public class QuickScrubController implements OnAlarmListener { return mWaitingForTaskLaunch; } public boolean hasFinishedTransitionToQuickScrub() { return mFinishedTransitionToQuickScrub; } /** * Attempts to go to normal overview or back to home, so UI doesn't prevent user interaction. */ Loading quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +3 −1 Original line number Diff line number Diff line Loading @@ -700,7 +700,9 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> } if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { if (mRecentsAnimationWrapper.getController() != null && mLayoutListener != null) { if (mRecentsAnimationWrapper.getController() != null && mLayoutListener != null && (mInteractionType == INTERACTION_NORMAL || !mQuickScrubController.hasFinishedTransitionToQuickScrub())) { mLayoutListener.open(); mLayoutListener.update(mCurrentShift.value > 1, mLongSwipeMode, mClipAnimationHelper.getCurrentRectWithInsets(), Loading quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +5 −1 Original line number Diff line number Diff line Loading @@ -216,8 +216,12 @@ public class LauncherRecentsView extends RecentsView<Launcher> { int offsetY = (int) (mTaskHeight * taskView.getScaleY() * getScaleY() - mTempRect.height()); if (((mCurrentPage != 0) || mightNeedToRefill) && offsetX > 0) { if (mTempRect.left - offsetX < 0) { mTempRect.left -= offsetX; } else { mTempRect.right += offsetX; } } if (mightNeedToRefill && offsetY > 0) { mTempRect.top -= offsetY; } Loading Loading
quickstep/src/com/android/quickstep/QuickScrubController.java +4 −0 Original line number Diff line number Diff line Loading @@ -267,6 +267,10 @@ public class QuickScrubController implements OnAlarmListener { return mWaitingForTaskLaunch; } public boolean hasFinishedTransitionToQuickScrub() { return mFinishedTransitionToQuickScrub; } /** * Attempts to go to normal overview or back to home, so UI doesn't prevent user interaction. */ Loading
quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +3 −1 Original line number Diff line number Diff line Loading @@ -700,7 +700,9 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> } if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { if (mRecentsAnimationWrapper.getController() != null && mLayoutListener != null) { if (mRecentsAnimationWrapper.getController() != null && mLayoutListener != null && (mInteractionType == INTERACTION_NORMAL || !mQuickScrubController.hasFinishedTransitionToQuickScrub())) { mLayoutListener.open(); mLayoutListener.update(mCurrentShift.value > 1, mLongSwipeMode, mClipAnimationHelper.getCurrentRectWithInsets(), Loading
quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +5 −1 Original line number Diff line number Diff line Loading @@ -216,8 +216,12 @@ public class LauncherRecentsView extends RecentsView<Launcher> { int offsetY = (int) (mTaskHeight * taskView.getScaleY() * getScaleY() - mTempRect.height()); if (((mCurrentPage != 0) || mightNeedToRefill) && offsetX > 0) { if (mTempRect.left - offsetX < 0) { mTempRect.left -= offsetX; } else { mTempRect.right += offsetX; } } if (mightNeedToRefill && offsetY > 0) { mTempRect.top -= offsetY; } Loading