Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 328099b0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Extract NotificationSwipeHelper and related state from NSSL."

parents a2cdb1bf 45d20bed
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -61,13 +61,14 @@ public class SwipeHelper implements Gefingerpoken {
    public static final float SWIPED_FAR_ENOUGH_SIZE_FRACTION = 0.6f;
    static final float MAX_SCROLL_SIZE_FRACTION = 0.3f;

    protected final Handler mHandler;

    private float mMinSwipeProgress = 0f;
    private float mMaxSwipeProgress = 1f;

    private final FlingAnimationUtils mFlingAnimationUtils;
    private float mPagingTouchSlop;
    private final Callback mCallback;
    private final Handler mHandler;
    private final int mSwipeDirection;
    private final VelocityTracker mVelocityTracker;
    private final FalsingManager mFalsingManager;