Searched refs:activeIndex (Results 1 – 2 of 2) 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()
667 int activeIndex; in beginGestureIfNeeded()669 activeIndex = (swipeGestureType == GESTURE_SLIDE_DOWN) ? 0 : 1; in beginGestureIfNeeded()671 activeIndex = (swipeGestureType == GESTURE_SLIDE_DOWN) ? 1 : 0; in beginGestureIfNeeded()684 } else if (mCurrentWindowStartUnbounded + activeIndex == -1 || beginningOfStack) { in beginGestureIfNeeded()685 activeIndex++; in beginGestureIfNeeded()687 … } else if (mCurrentWindowStartUnbounded + activeIndex == adapterCount - 1 || endOfStack) { in beginGestureIfNeeded()695 View v = getViewAtRelativeIndex(activeIndex); in beginGestureIfNeeded()