/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 48 private float mInitialTouchX; field in DragDownHelper 83 mInitialTouchX = x; in onInterceptTouchEvent() 88 if (h > mTouchSlop && h > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent() 91 captureStartingChild(mInitialTouchX, mInitialTouchY); in onInterceptTouchEvent() 93 mInitialTouchX = x; in onInterceptTouchEvent() 113 captureStartingChild(mInitialTouchX, mInitialTouchY); in onTouchEvent()
|
D | PulseExpansionHandler.kt | 71 private var mInitialTouchX: Float = 0.0f in <lambda>() variable 148 mInitialTouchX = x in <lambda>() 153 if (h > mTouchSlop && h > Math.abs(x - mInitialTouchX)) { in <lambda>() 156 captureStartingChild(mInitialTouchX, mInitialTouchY) in <lambda>() 158 mInitialTouchX = x in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 37 private float mInitialTouchX; field in HeadsUpTouchHelper 75 mInitialTouchX = x; in onInterceptTouchEvent() 99 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 107 && Math.abs(h) > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent() 110 mInitialTouchX = x; in onInterceptTouchEvent()
|
D | PanelView.java | 126 private float mInitialTouchX; field in PanelView 362 && (Math.abs(h) > Math.abs(x - mInitialTouchX) in onTouchEvent() 440 float xDiff = x - mInitialTouchX; in isDirectionUpwards() 456 mInitialTouchX = newX; in startExpandMotion() 467 || Math.abs(x - mInitialTouchX) > mTouchSlop in endMotionEvent() 508 boolean expands = onEmptySpaceClick(mInitialTouchX); in endMotionEvent() 582 mInitialTouchX = x; in onInterceptTouchEvent() 600 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 616 && hAbs > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent()
|
D | KeyguardAffordanceHelper.java | 50 private float mInitialTouchX; field in KeyguardAffordanceHelper 140 mInitialTouchX = x; in onTouchEvent() 153 float xDist = x - mInitialTouchX; in onTouchEvent() 483 float bX = lastX - mInitialTouchX; in getCurrentVelocity()
|
D | NotificationPanelView.java | 260 private float mInitialTouchX; field in NotificationPanelView 1061 mInitialTouchX = x; in onQsIntercept() 1064 if (shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, 0)) { in onQsIntercept() 1081 mInitialTouchX = event.getX(newIndex); in onQsIntercept() 1099 if (Math.abs(h) > mTouchSlop && Math.abs(h) > Math.abs(x - mInitialTouchX) in onQsIntercept() 1100 && shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, h)) { in onQsIntercept() 1106 mInitialTouchX = x; in onQsIntercept() 1291 mInitialTouchX = event.getY(); in handleQsTouch() 1356 mInitialTouchX = event.getY(); in handleQsDown() 1445 mInitialTouchX = x; in onQsTouch() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 111 private float mInitialTouchX; field in ResolverDrawerLayout 289 mInitialTouchX = x; in onInterceptTouchEvent() 345 mInitialTouchX = x; in onTouchEvent() 348 final boolean hitView = findChildUnder(mInitialTouchX, mInitialTouchY) != null; in onTouchEvent() 361 mInitialTouchX = ev.getX(); in onTouchEvent() 390 mInitialTouchX = ev.getX(pointerIndex); in onTouchEvent() 403 if (!wasDragging && findChildUnder(mInitialTouchX, mInitialTouchY) == null && in onTouchEvent() 411 if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) < mTouchSlop && in onTouchEvent() 466 mInitialTouchX = ev.getX(newPointerIndex); 476 mInitialTouchX = mInitialTouchY = mLastTouchY = 0;
|
D | RecyclerView.java | 423 private int mInitialTouchX; field in RecyclerView 2649 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent() 2672 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent() 2687 final int dx = x - mInitialTouchX; in onInterceptTouchEvent() 2691 mLastTouchX = mInitialTouchX + mTouchSlop * (dx < 0 ? -1 : 1); in onInterceptTouchEvent() 2764 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent() 2779 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent() 2894 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 219 private float mInitialTouchX; field in NotificationStackScrollLayout 4011 || Math.abs(ev.getX() - mInitialTouchX) > mTouchSlop)) { 4017 isBelowLastNotification(mInitialTouchX, mInitialTouchY)) { 4018 mOnEmptySpaceClickListener.onEmptySpaceClicked(mInitialTouchX, mInitialTouchY); 4032 mInitialTouchX = ev.getX();
|