Loading quickstep/recents_ui_overrides/src/com/android/quickstep/BaseSwipeUpHandlerV2.java +8 −8 Original line number Diff line number Diff line Loading @@ -540,14 +540,6 @@ public abstract class BaseSwipeUpHandlerV2<T extends StatefulActivity<?>, Q exte @Override public void updateFinalShift() { if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { if (mRecentsAnimationTargets != null) { LiveTileOverlay.INSTANCE.update( mTaskViewSimulator.getCurrentCropRect(), mTaskViewSimulator.getCurrentCornerRadius()); } } final boolean passed = mCurrentShift.value >= MIN_PROGRESS_FOR_OVERVIEW; if (passed != mPassedOverviewThreshold) { mPassedOverviewThreshold = passed; Loading @@ -558,6 +550,14 @@ public abstract class BaseSwipeUpHandlerV2<T extends StatefulActivity<?>, Q exte updateSysUiFlags(mCurrentShift.value); applyWindowTransform(); if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { if (mRecentsAnimationTargets != null) { LiveTileOverlay.INSTANCE.update( mTaskViewSimulator.getCurrentRect(), mTaskViewSimulator.getCurrentCornerRadius()); } } updateLauncherTransitionProgress(); } Loading quickstep/recents_ui_overrides/src/com/android/quickstep/util/TaskViewSimulator.java +9 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,15 @@ public class TaskViewSimulator implements TransformParams.BuilderProxy { return mTempRectF; } /** * Returns the current task bounds in the Launcher coordinate space. */ public RectF getCurrentRect() { RectF result = getCurrentCropRect(); mMatrix.mapRect(result); return result; } public RecentsOrientedState getOrientationState() { return mOrientationState; } Loading Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/BaseSwipeUpHandlerV2.java +8 −8 Original line number Diff line number Diff line Loading @@ -540,14 +540,6 @@ public abstract class BaseSwipeUpHandlerV2<T extends StatefulActivity<?>, Q exte @Override public void updateFinalShift() { if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { if (mRecentsAnimationTargets != null) { LiveTileOverlay.INSTANCE.update( mTaskViewSimulator.getCurrentCropRect(), mTaskViewSimulator.getCurrentCornerRadius()); } } final boolean passed = mCurrentShift.value >= MIN_PROGRESS_FOR_OVERVIEW; if (passed != mPassedOverviewThreshold) { mPassedOverviewThreshold = passed; Loading @@ -558,6 +550,14 @@ public abstract class BaseSwipeUpHandlerV2<T extends StatefulActivity<?>, Q exte updateSysUiFlags(mCurrentShift.value); applyWindowTransform(); if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { if (mRecentsAnimationTargets != null) { LiveTileOverlay.INSTANCE.update( mTaskViewSimulator.getCurrentRect(), mTaskViewSimulator.getCurrentCornerRadius()); } } updateLauncherTransitionProgress(); } Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/util/TaskViewSimulator.java +9 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,15 @@ public class TaskViewSimulator implements TransformParams.BuilderProxy { return mTempRectF; } /** * Returns the current task bounds in the Launcher coordinate space. */ public RectF getCurrentRect() { RectF result = getCurrentCropRect(); mMatrix.mapRect(result); return result; } public RecentsOrientedState getOrientationState() { return mOrientationState; } Loading