Searched refs:mScrollDirections (Results 1 – 2 of 2) sorted by relevance
43 private int mScrollDirections; field in BothAxesSwipeDetector57 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()
103 private int mScrollDirections; field in SingleAxisSwipeDetector134 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()