Show all TaskViews when doing seamless overview rotation am: 6434f8eae5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849 Change-Id: Ia3c470af6bcd42d20e692589ddd9b52c54d18199
This commit is contained in:
commit
ddd5a6ec3c
|
@ -1729,10 +1729,10 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||||
int runningIndex = getCurrentPage();
|
int runningIndex = getCurrentPage();
|
||||||
AnimatorSet as = new AnimatorSet();
|
AnimatorSet as = new AnimatorSet();
|
||||||
for (int i = 0; i < getTaskViewCount(); i++) {
|
for (int i = 0; i < getTaskViewCount(); i++) {
|
||||||
if (runningIndex == i) {
|
View taskView = getTaskViewAt(i);
|
||||||
|
if (runningIndex == i && taskView.getAlpha() != 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
View taskView = getTaskViewAt(i);
|
|
||||||
as.play(ObjectAnimator.ofFloat(taskView, View.ALPHA, fadeInChildren ? 0 : 1));
|
as.play(ObjectAnimator.ofFloat(taskView, View.ALPHA, fadeInChildren ? 0 : 1));
|
||||||
}
|
}
|
||||||
return as;
|
return as;
|
||||||
|
|
Loading…
Reference in New Issue