Searched refs:activeIndex (Results 1 – 3 of 3) sorted by relevance
186 final int activeIndex = event.findPointerIndex(activePointerId); in onForwardedEvent() local187 if (activeIndex < 0) { in onForwardedEvent()192 final int x = (int) event.getX(activeIndex); in onForwardedEvent()193 final int y = (int) event.getY(activeIndex); in onForwardedEvent()
665 int activeIndex; in beginGestureIfNeeded()667 activeIndex = (swipeGestureType == GESTURE_SLIDE_DOWN) ? 0 : 1; in beginGestureIfNeeded()669 activeIndex = (swipeGestureType == GESTURE_SLIDE_DOWN) ? 1 : 0; in beginGestureIfNeeded()682 } else if (mCurrentWindowStartUnbounded + activeIndex == -1 || beginningOfStack) { in beginGestureIfNeeded()683 activeIndex++; in beginGestureIfNeeded()685 … } else if (mCurrentWindowStartUnbounded + activeIndex == adapterCount - 1 || endOfStack) { in beginGestureIfNeeded()693 View v = getViewAtRelativeIndex(activeIndex); in beginGestureIfNeeded()
494 final int activeIndex = event.findPointerIndex(activePointerId); in onForwardedEvent() local495 if (activeIndex < 0) { in onForwardedEvent()500 final int x = (int) event.getX(activeIndex); in onForwardedEvent()501 final int y = (int) event.getY(activeIndex); in onForwardedEvent()