/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() 92 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 100 && Math.abs(h) > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent() 103 mInitialTouchX = x; in onInterceptTouchEvent()
|
D | PanelView.java | 101 private float mInitialTouchX; field in PanelView 308 && (Math.abs(h) > Math.abs(x - mInitialTouchX) in onTouchEvent() 354 float xDiff = x - mInitialTouchX; in isDirectionUpwards() 366 mInitialTouchX = newX; in startExpandMotion() 377 || Math.abs(x - mInitialTouchX) > mTouchSlop in endMotionEvent() 411 boolean expands = onEmptySpaceClick(mInitialTouchX); in endMotionEvent() 481 mInitialTouchX = x; in onInterceptTouchEvent() 500 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 519 && 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 | 130 private float mInitialTouchX; field in NotificationPanelView 604 mInitialTouchX = x; in onQsIntercept() 607 if (shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, 0)) { in onQsIntercept() 624 mInitialTouchX = event.getX(newIndex); in onQsIntercept() 642 if (Math.abs(h) > mTouchSlop && Math.abs(h) > Math.abs(x - mInitialTouchX) in onQsIntercept() 643 && shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, h)) { in onQsIntercept() 649 mInitialTouchX = x; in onQsIntercept() 776 mInitialTouchX = event.getY(); in handleQsTouch() 840 mInitialTouchX = event.getY(); in handleQsDown() 882 mInitialTouchX = x; in onQsTouch() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 47 private float mInitialTouchX; field in DragDownHelper 81 mInitialTouchX = x; in onInterceptTouchEvent() 86 if (h > mTouchSlop && h > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent() 89 captureStartingChild(mInitialTouchX, mInitialTouchY); in onInterceptTouchEvent() 91 mInitialTouchX = x; in onInterceptTouchEvent() 111 captureStartingChild(mInitialTouchX, mInitialTouchY); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 99 private float mInitialTouchX; field in ResolverDrawerLayout 246 mInitialTouchX = x; in onInterceptTouchEvent() 295 mInitialTouchX = x; in onTouchEvent() 298 final boolean hitView = findChildUnder(mInitialTouchX, mInitialTouchY) != null; in onTouchEvent() 311 mInitialTouchX = ev.getX(); in onTouchEvent() 336 mInitialTouchX = ev.getX(pointerIndex); in onTouchEvent() 349 if (!wasDragging && findChildUnder(mInitialTouchX, mInitialTouchY) == null && in onTouchEvent() 357 if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) < mTouchSlop && in onTouchEvent() 400 mInitialTouchX = ev.getX(newPointerIndex); 410 mInitialTouchX = mInitialTouchY = mLastTouchY = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 83 private float mInitialTouchX; field in ExpandHelper 297 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent() 323 mInitialTouchX = ev.getRawX(); in onInterceptTouchEvent() 419 mInitialTouchX = ev.getRawX(); in onTouchEvent() 425 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchHelper.java | 185 float mInitialTouchX; field in ItemTouchHelper 313 mInitialTouchX = event.getX(); 319 mInitialTouchX -= animation.mX; 354 "on touch: x:" + mInitialTouchX + ",y:" + mInitialTouchY + ", :" + event); 925 final float dx = motionEvent.getX(pointerIndex) - mInitialTouchX; in findSwipedView() 975 final float dx = x - mInitialTouchX; in checkSelectForSwipe() 1141 mDx = x - mInitialTouchX; in updateDxDy() 2284 mInitialTouchX = x; in onLongPress() 2289 "onlong press: x:" + mInitialTouchX + ",y:" + mInitialTouchY); in onLongPress()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 132 private float mInitialTouchX; field in NotificationStackScrollLayout 2293 || Math.abs(ev.getX() - mInitialTouchX) > mTouchSlop )) { in handleEmptySpaceClick() 2299 isBelowLastNotification(mInitialTouchX, mInitialTouchY)) { in handleEmptySpaceClick() 2300 mOnEmptySpaceClickListener.onEmptySpaceClicked(mInitialTouchX, mInitialTouchY); in handleEmptySpaceClick() 2313 mInitialTouchX = ev.getX(); in initDownStates()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 410 private int mInitialTouchX; field in RecyclerView 2582 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent() 2605 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent() 2620 final int dx = x - mInitialTouchX; in onInterceptTouchEvent() 2624 mLastTouchX = mInitialTouchX + mTouchSlop * (dx < 0 ? -1 : 1); in onInterceptTouchEvent() 2697 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent() 2712 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent() 2827 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
|