Home
last modified time | relevance | path

Searched refs:mScrollDirections (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBothAxesSwipeDetector.java43 private int mScrollDirections; field in BothAxesSwipeDetector
57 mScrollDirections = scrollDirectionFlags; in setDetectableScrollConditions()
64 boolean canScrollUp = (mScrollDirections & DIRECTION_UP) > 0 in shouldScrollStart()
66 boolean canScrollRight = (mScrollDirections & DIRECTION_RIGHT) > 0 in shouldScrollStart()
68 boolean canScrollDown = (mScrollDirections & DIRECTION_DOWN) > 0 in shouldScrollStart()
70 boolean canScrollLeft = (mScrollDirections & DIRECTION_LEFT) > 0 in shouldScrollStart()
DSingleAxisSwipeDetector.java103 private int mScrollDirections; field in SingleAxisSwipeDetector
134 mScrollDirections = scrollDirectionFlags; in setDetectableScrollConditions()
163 return (mScrollDirections & DIRECTION_NEGATIVE) > 0 && mDir.isNegative(displacement); in canScrollNegative()
167 return (mScrollDirections & DIRECTION_POSITIVE) > 0 && mDir.isPositive(displacement); in canScrollPositive()