Loading quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java +4 −3 Original line number Original line Diff line number Diff line Loading @@ -259,10 +259,11 @@ public class ClipAnimationHelper { taskHeight = taskHeight / 2 - halfDividerSize; taskHeight = taskHeight / 2 - halfDividerSize; } } // Align the task to bottom left/right edge (closer to nav bar). int left = activity.getDeviceProfile().isSeascape() ? insets.left : (insets.left + fullDp.availableWidthPx - taskWidth); mSourceStackBounds.set(0, 0, taskWidth, taskHeight); mSourceStackBounds.set(0, 0, taskWidth, taskHeight); // Align the task to bottom right (probably not true for seascape). mSourceStackBounds.offset(left, insets.top + fullDp.availableHeightPx - taskHeight); mSourceStackBounds.offset(insets.left + fullDp.availableWidthPx - taskWidth, insets.top + fullDp.availableHeightPx - taskHeight); } } public void drawForProgress(TaskThumbnailView ttv, Canvas canvas, float progress) { public void drawForProgress(TaskThumbnailView ttv, Canvas canvas, float progress) { Loading Loading
quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java +4 −3 Original line number Original line Diff line number Diff line Loading @@ -259,10 +259,11 @@ public class ClipAnimationHelper { taskHeight = taskHeight / 2 - halfDividerSize; taskHeight = taskHeight / 2 - halfDividerSize; } } // Align the task to bottom left/right edge (closer to nav bar). int left = activity.getDeviceProfile().isSeascape() ? insets.left : (insets.left + fullDp.availableWidthPx - taskWidth); mSourceStackBounds.set(0, 0, taskWidth, taskHeight); mSourceStackBounds.set(0, 0, taskWidth, taskHeight); // Align the task to bottom right (probably not true for seascape). mSourceStackBounds.offset(left, insets.top + fullDp.availableHeightPx - taskHeight); mSourceStackBounds.offset(insets.left + fullDp.availableWidthPx - taskWidth, insets.top + fullDp.availableHeightPx - taskHeight); } } public void drawForProgress(TaskThumbnailView ttv, Canvas canvas, float progress) { public void drawForProgress(TaskThumbnailView ttv, Canvas canvas, float progress) { Loading