mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
All apps motion
Bug: 189970327 Test: manual TL;DR;; equation: settleVelocity = releaseVelocity + interpolator 2nd deritive * t Change-Id: I86fec339523fbc3bb347dec4affbd2d1c063d13d
This commit is contained in:
@@ -57,6 +57,8 @@ import com.android.launcher3.views.ScrimView;
|
||||
*/
|
||||
public class AllAppsTransitionController
|
||||
implements StateHandler<LauncherState>, OnDeviceProfileChangeListener {
|
||||
// This constant should match the second derivative of the animator interpolator.
|
||||
public static final float INTERP_COEFF = 1.7f;
|
||||
private static final float CONTENT_VISIBLE_MAX_THRESHOLD = 0.5f;
|
||||
|
||||
public static final FloatProperty<AllAppsTransitionController> ALL_APPS_PROGRESS =
|
||||
|
||||
Reference in New Issue
Block a user