Searched refs:dirFlag (Results 1 – 1 of 1) sorted by relevance
1206 final int dirFlag = mDx > 0 ? RIGHT : LEFT; in checkHorizontalSwipe() local1216 if ((velDirFlag & flags) != 0 && dirFlag == velDirFlag && in checkHorizontalSwipe()1226 if ((flags & dirFlag) != 0 && Math.abs(mDx) > threshold) { in checkHorizontalSwipe()1227 return dirFlag; in checkHorizontalSwipe()1235 final int dirFlag = mDy > 0 ? DOWN : UP; in checkVerticalSwipe() local1245 if ((velDirFlag & flags) != 0 && velDirFlag == dirFlag && in checkVerticalSwipe()1254 if ((flags & dirFlag) != 0 && Math.abs(mDy) > threshold) { in checkVerticalSwipe()1255 return dirFlag; in checkVerticalSwipe()