Loading quickstep/src/com/android/quickstep/views/RecentsView.java +10 −13 Original line number Diff line number Diff line Loading @@ -142,7 +142,6 @@ import com.android.quickstep.TaskThumbnailCache; import com.android.quickstep.TaskViewUtils; import com.android.quickstep.ViewUtils; import com.android.quickstep.util.LayoutUtils; import com.android.quickstep.util.MultiValueUpdateListener; import com.android.quickstep.util.RecentsOrientedState; import com.android.quickstep.util.SplitScreenBounds; import com.android.quickstep.util.SplitSelectStateController; Loading Loading @@ -825,9 +824,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T ValueAnimator appAnimator = ValueAnimator.ofFloat(0, 1); appAnimator.setDuration(RECENTS_LAUNCH_DURATION); appAnimator.setInterpolator(ACCEL_DEACCEL); appAnimator.addUpdateListener(new MultiValueUpdateListener() { @Override public void onUpdate(float percent) { appAnimator.addUpdateListener(valueAnimator -> { float percent = valueAnimator.getAnimatedFraction(); SurfaceParams.Builder builder = new SurfaceParams.Builder( apps[apps.length - 1].leash); Matrix matrix = new Matrix(); Loading @@ -836,7 +834,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T mActivity.getDeviceProfile().heightPx * (1 - percent) / 2); builder.withAlpha(percent).withMatrix(matrix); surfaceApplier.scheduleApply(builder.build()); } }); anim.play(appAnimator); anim.addListener(new AnimatorListenerAdapter() { Loading Loading
quickstep/src/com/android/quickstep/views/RecentsView.java +10 −13 Original line number Diff line number Diff line Loading @@ -142,7 +142,6 @@ import com.android.quickstep.TaskThumbnailCache; import com.android.quickstep.TaskViewUtils; import com.android.quickstep.ViewUtils; import com.android.quickstep.util.LayoutUtils; import com.android.quickstep.util.MultiValueUpdateListener; import com.android.quickstep.util.RecentsOrientedState; import com.android.quickstep.util.SplitScreenBounds; import com.android.quickstep.util.SplitSelectStateController; Loading Loading @@ -825,9 +824,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T ValueAnimator appAnimator = ValueAnimator.ofFloat(0, 1); appAnimator.setDuration(RECENTS_LAUNCH_DURATION); appAnimator.setInterpolator(ACCEL_DEACCEL); appAnimator.addUpdateListener(new MultiValueUpdateListener() { @Override public void onUpdate(float percent) { appAnimator.addUpdateListener(valueAnimator -> { float percent = valueAnimator.getAnimatedFraction(); SurfaceParams.Builder builder = new SurfaceParams.Builder( apps[apps.length - 1].leash); Matrix matrix = new Matrix(); Loading @@ -836,7 +834,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T mActivity.getDeviceProfile().heightPx * (1 - percent) / 2); builder.withAlpha(percent).withMatrix(matrix); surfaceApplier.scheduleApply(builder.build()); } }); anim.play(appAnimator); anim.addListener(new AnimatorListenerAdapter() { Loading