Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java255 final int currentRawX = (int) event.getRawX(); in onInterceptTouchEvent() local
262 mDownX = currentRawX; in onInterceptTouchEvent()
270 || hasExceededTouchSlop(mDownX, mDownY, currentRawX, currentRawY)) { in onInterceptTouchEvent()
278 isMovingTowardsScreenEdge(mAlignment, currentRawX, mDownX) in onInterceptTouchEvent()
281 final int newWindowX = currentRawX + mRelativeToPointerDownX; in onInterceptTouchEvent()
518 private boolean isMovingTowardsScreenEdge(@Alignment int side, int currentRawX, int downX) { in isMovingTowardsScreenEdge() argument
519 return (side == Alignment.RIGHT && currentRawX > downX) in isMovingTowardsScreenEdge()
520 || (side == Alignment.LEFT && downX > currentRawX); in isMovingTowardsScreenEdge()