mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Migrate Interpolators from Launcher3 to the public animation library
Test: atest Bug: 271850966 Change-Id: Iba999f2e753764a37d35e508e707df02388432e9
This commit is contained in:
@@ -35,7 +35,7 @@ import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.launcher3.anim.Interpolators;
|
||||
import com.android.app.animation.Interpolators;
|
||||
import com.android.launcher3.dragndrop.DragController;
|
||||
import com.android.launcher3.dragndrop.DragLayer;
|
||||
import com.android.launcher3.dragndrop.DragOptions;
|
||||
@@ -258,7 +258,7 @@ public abstract class ButtonDropTarget extends TextView
|
||||
|
||||
dragLayer.animateView(d.dragView, to, scale, 0.1f, 0.1f,
|
||||
DRAG_VIEW_DROP_DURATION,
|
||||
Interpolators.DEACCEL_2, onAnimationEndRunnable,
|
||||
Interpolators.DECELERATE_2, onAnimationEndRunnable,
|
||||
DragLayer.ANIMATION_END_DISAPPEAR, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user