Using edge effect to trigger spring animation for all apps.

Bug: 72811152
Bug: 72059944

Change-Id: Ied7b51caa2fb48a2fda126d59e4eaf6a35edded3
This commit is contained in:
Mario Bertschler committed 2018-03-08 11:16:53 -08:00
1 parent 865ee02d20
commit 14a89262f1
10 files changed
+166 -694

No files matched your search

@@ -31,7 +31,6 @@ import com.android.launcher3.DeviceProfile;
import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherState;
import com.android.launcher3.anim.SpringAnimationHandler;
import com.android.launcher3.dragndrop.DragLayer;
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Touch;
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
@@ -142,11 +141,6 @@ public class EdgeSwipeController extends VerticalSwipeController implements
}
}
@Override
protected void initSprings() {
mSpringHandlers = new SpringAnimationHandler[0];
}
@Override
protected float getShiftRange() {
return getShiftRange(mLauncher);