Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DForwardingListener.java182 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); in onTouchObserved() local
183 if (activePointerIndex >= 0) { in onTouchObserved()
184 final float x = srcEvent.getX(activePointerIndex); in onTouchObserved()
185 final float y = srcEvent.getY(activePointerIndex); in onTouchObserved()
DHorizontalScrollView.java699 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
700 if (activePointerIndex == -1) { in onTouchEvent()
705 final int x = (int) ev.getX(activePointerIndex); in onTouchEvent()
742 1.f - ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()
748 ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()
DStackView.java768 final int activePointerIndex = ev.getActionIndex();
769 final int pointerId = ev.getPointerId(activePointerIndex);
782 if (index != activePointerIndex) {
789 float oldX = ev.getX(activePointerIndex);
790 float oldY = ev.getY(activePointerIndex);
DScrollView.java761 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
762 if (activePointerIndex == -1) { in onTouchEvent()
767 final int y = (int) ev.getY(activePointerIndex); in onTouchEvent()
814 ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()
820 1.f - ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java259 int activePointerIndex = ev.findPointerIndex(mActivePointerId); in handleTouchEvent() local
260 if (activePointerIndex == -1) { in handleTouchEvent()
263 int y = (int) ev.getY(activePointerIndex); in handleTouchEvent()
264 int x = (int) ev.getX(activePointerIndex); in handleTouchEvent()
336 int activePointerIndex = ev.findPointerIndex(mActivePointerId); in handleTouchEvent() local
337 int y = (int) ev.getY(activePointerIndex); in handleTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java357 final int activePointerIndex = event.findPointerIndex(mActivePointerId);
358 if (activePointerIndex >= 0) {
359 checkSelectForSwipe(action, event, activePointerIndex);
368 if (activePointerIndex >= 0) {
369 updateDxDy(event, mSelectedFlags, activePointerIndex);
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2010 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
2011 final float x = ev.getX(activePointerIndex);
2034 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
2035 final float x = ev.getX(activePointerIndex);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3807 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
3808 if (activePointerIndex == -1) {
3813 final int y = (int) ev.getY(activePointerIndex);
3814 final int x = (int) ev.getX(activePointerIndex);