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