/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 38 private float mInitialTouchX; field in HeadsUpTouchHelper 76 mInitialTouchX = x; in onInterceptTouchEvent() 100 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 108 && Math.abs(h) > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent() 111 mInitialTouchX = x; in onInterceptTouchEvent()
|
D | PanelView.java | 121 private float mInitialTouchX; field in PanelView 357 && (Math.abs(h) > Math.abs(x - mInitialTouchX) in onTouchEvent() 431 float xDiff = x - mInitialTouchX; in isDirectionUpwards() 447 mInitialTouchX = newX; in startExpandMotion() 458 || Math.abs(x - mInitialTouchX) > mTouchSlop in endMotionEvent() 502 boolean expands = onEmptySpaceClick(mInitialTouchX); in endMotionEvent() 582 mInitialTouchX = x; in onInterceptTouchEvent() 601 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 620 && hAbs > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent()
|
D | KeyguardAffordanceHelper.java | 51 private float mInitialTouchX; field in KeyguardAffordanceHelper 144 mInitialTouchX = x; in onTouchEvent() 157 float xDist = x - mInitialTouchX; in onTouchEvent() 490 float bX = lastX - mInitialTouchX; in getCurrentVelocity()
|
D | NotificationPanelView.java | 159 private float mInitialTouchX; field in NotificationPanelView 726 mInitialTouchX = x; in onQsIntercept() 729 if (shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, 0)) { in onQsIntercept() 746 mInitialTouchX = event.getX(newIndex); in onQsIntercept() 764 if (Math.abs(h) > mTouchSlop && Math.abs(h) > Math.abs(x - mInitialTouchX) in onQsIntercept() 765 && shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, h)) { in onQsIntercept() 771 mInitialTouchX = x; in onQsIntercept() 906 mInitialTouchX = event.getY(); in handleQsTouch() 971 mInitialTouchX = event.getY(); in handleQsDown() 1013 mInitialTouchX = x; in onQsTouch() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 48 private float mInitialTouchX; field in DragDownHelper 82 mInitialTouchX = x; in onInterceptTouchEvent() 87 if (h > mTouchSlop && h > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent() 90 captureStartingChild(mInitialTouchX, mInitialTouchY); in onInterceptTouchEvent() 92 mInitialTouchX = x; in onInterceptTouchEvent() 112 captureStartingChild(mInitialTouchX, mInitialTouchY); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 102 private float mInitialTouchX; field in ResolverDrawerLayout 274 mInitialTouchX = x; in onInterceptTouchEvent() 323 mInitialTouchX = x; in onTouchEvent() 326 final boolean hitView = findChildUnder(mInitialTouchX, mInitialTouchY) != null; in onTouchEvent() 339 mInitialTouchX = ev.getX(); in onTouchEvent() 364 mInitialTouchX = ev.getX(pointerIndex); in onTouchEvent() 377 if (!wasDragging && findChildUnder(mInitialTouchX, mInitialTouchY) == null && in onTouchEvent() 385 if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) < mTouchSlop && in onTouchEvent() 437 mInitialTouchX = ev.getX(newPointerIndex); 447 mInitialTouchX = mInitialTouchY = mLastTouchY = 0;
|
D | RecyclerView.java | 422 private int mInitialTouchX; field in RecyclerView 2648 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent() 2671 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent() 2686 final int dx = x - mInitialTouchX; in onInterceptTouchEvent() 2690 mLastTouchX = mInitialTouchX + mTouchSlop * (dx < 0 ? -1 : 1); in onInterceptTouchEvent() 2763 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent() 2778 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent() 2893 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 84 private float mInitialTouchX; field in ExpandHelper 304 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent() 330 mInitialTouchX = ev.getRawX(); in onInterceptTouchEvent() 426 mInitialTouchX = ev.getRawX(); in onTouchEvent() 432 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 180 float mInitialTouchX; field in ItemTouchHelper 307 mInitialTouchX = event.getX(); 313 mInitialTouchX -= animation.mX; 348 "on touch: x:" + mInitialTouchX + ",y:" + mInitialTouchY + ", :" + event); 919 final float dx = motionEvent.getX(pointerIndex) - mInitialTouchX; in findSwipedView() 969 final float dx = x - mInitialTouchX; in checkSelectForSwipe() 1135 mDx = x - mInitialTouchX; in updateDxDy() 2264 mInitialTouchX = x; in onLongPress() 2269 "onlong press: x:" + mInitialTouchX + ",y:" + mInitialTouchY); in onLongPress()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | ItemTouchHelper.java | 183 private float mInitialTouchX; field in ItemTouchHelper 317 mInitialTouchX = event.getX(); 323 mInitialTouchX -= animation.mX; 358 "on touch: x:" + mInitialTouchX + ",y:" + mInitialTouchY + ", :" + event); 941 final float dx = motionEvent.getX(pointerIndex) - mInitialTouchX; in findSwipedView() 991 final float dx = x - mInitialTouchX; in checkSelectForSwipe() 1156 mDx = x - mInitialTouchX; in updateDxDy() 2333 mInitialTouchX = x; in onLongPress() 2338 "onlong press: x:" + mInitialTouchX + ",y:" + mInitialTouchY); in onLongPress()
|
D | RecyclerView.java | 481 private int mInitialTouchX; field in RecyclerView 2958 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent() 2981 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent() 2996 final int dx = x - mInitialTouchX; in onInterceptTouchEvent() 3073 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent() 3088 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent() 3203 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 163 private float mInitialTouchX; field in NotificationStackScrollLayout 2723 || Math.abs(ev.getX() - mInitialTouchX) > mTouchSlop )) { 2729 isBelowLastNotification(mInitialTouchX, mInitialTouchY)) { 2730 mOnEmptySpaceClickListener.onEmptySpaceClicked(mInitialTouchX, mInitialTouchY); 2743 mInitialTouchX = ev.getX();
|