Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java155 int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local
156 int y = (int) ev.getY(activePointerIndex); in onInterceptTouchEvent()
157 int x = (int) ev.getX(activePointerIndex); in onInterceptTouchEvent()
241 int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
242 int x = (int) ev.getX(activePointerIndex); in onTouchEvent()
243 int y = (int) ev.getY(activePointerIndex); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DScrollView.java629 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
630 if (activePointerIndex == -1) { in onTouchEvent()
635 final int y = (int) ev.getY(activePointerIndex); in onTouchEvent()
682 ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()
688 1.f - ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()
DHorizontalScrollView.java578 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
579 if (activePointerIndex == -1) { in onTouchEvent()
584 final int x = (int) ev.getX(activePointerIndex); in onTouchEvent()
621 1.f - ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()
627 ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()
DListPopupWindow.java1350 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId);
1351 if (activePointerIndex >= 0) {
1352 final float x = srcEvent.getX(activePointerIndex);
1353 final float y = srcEvent.getY(activePointerIndex);
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);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java1354 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId);
1355 if (activePointerIndex >= 0) {
1356 final float x = srcEvent.getX(activePointerIndex);
1357 final float y = srcEvent.getY(activePointerIndex);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java807 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onScrollTouch() local
808 if (activePointerIndex == -1) { in onScrollTouch()
813 final int y = (int) ev.getY(activePointerIndex); in onScrollTouch()
814 final int x = (int) ev.getX(activePointerIndex); in onScrollTouch()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1996 final int activePointerIndex = MotionEventCompat.findPointerIndex(
1998 final float x = MotionEventCompat.getX(ev, activePointerIndex);
2014 final int activePointerIndex =
2016 final float x = MotionEventCompat.getX(ev, activePointerIndex);