/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 48 private float mInitialTouchY; field in DragDownHelper 80 mInitialTouchY = y; in onInterceptTouchEvent() 85 final float h = y - mInitialTouchY; in onInterceptTouchEvent() 89 captureStartingChild(mInitialTouchX, mInitialTouchY); in onInterceptTouchEvent() 90 mInitialTouchY = y; in onInterceptTouchEvent() 110 mLastHeight = y - mInitialTouchY; in onTouchEvent() 111 captureStartingChild(mInitialTouchX, mInitialTouchY); in onTouchEvent() 131 (int) (y - mInitialTouchY))) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 39 private float mInitialTouchY; field in HeadsUpTouchHelper 75 mInitialTouchY = y; in onInterceptTouchEvent() 93 mInitialTouchY = event.getY(newIndex); in onInterceptTouchEvent() 98 final float h = y - mInitialTouchY; in onInterceptTouchEvent() 104 mInitialTouchY = y; in onInterceptTouchEvent()
|
D | PanelView.java | 99 private float mInitialTouchY; field in PanelView 302 float h = y - mInitialTouchY; in onTouchEvent() 354 float yDiff = y - mInitialTouchY; in isDirectionUpwards() 364 mInitialTouchY = newY; in startExpandMotion() 377 || Math.abs(y - mInitialTouchY) > mTouchSlop in endMotionEvent() 397 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent() 479 mInitialTouchY = y; in onInterceptTouchEvent() 500 mInitialTouchY = event.getY(newIndex); in onInterceptTouchEvent() 513 final float h = y - mInitialTouchY; in onInterceptTouchEvent()
|
D | NotificationPanelView.java | 130 private float mInitialTouchY; field in NotificationPanelView 604 mInitialTouchY = y; in onQsIntercept() 608 if (shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, 0)) { in onQsIntercept() 626 mInitialTouchY = event.getY(newIndex); in onQsIntercept() 631 final float h = y - mInitialTouchY; in onQsIntercept() 644 && shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, h)) { in onQsIntercept() 649 mInitialTouchY = y; in onQsIntercept() 704 (int) ((y - mInitialTouchY) / mStatusBar.getDisplayDensity()), in logQsSwipeDown() 776 mInitialTouchY = event.getX(); in handleQsTouch() 840 mInitialTouchY = event.getX(); in handleQsDown() [all …]
|
D | KeyguardAffordanceHelper.java | 52 private float mInitialTouchY; field in KeyguardAffordanceHelper 145 mInitialTouchY = y; in onTouchEvent() 158 float yDist = y - mInitialTouchY; in onTouchEvent() 491 float bY = lastY - mInitialTouchY; in getCurrentVelocity()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 100 private float mInitialTouchY; field in ResolverDrawerLayout 247 mInitialTouchY = mLastTouchY = y; in onInterceptTouchEvent() 255 final float dy = y - mInitialTouchY; in onInterceptTouchEvent() 296 mInitialTouchY = mLastTouchY = y; in onTouchEvent() 298 final boolean hitView = findChildUnder(mInitialTouchX, mInitialTouchY) != null; in onTouchEvent() 312 mInitialTouchY = mLastTouchY = ev.getY(); in onTouchEvent() 317 final float dy = y - mInitialTouchY; in onTouchEvent() 337 mInitialTouchY = mLastTouchY = ev.getY(pointerIndex); in onTouchEvent() 349 if (!wasDragging && findChildUnder(mInitialTouchX, mInitialTouchY) == null && in onTouchEvent() 358 Math.abs(ev.getY() - mInitialTouchY) < mTouchSlop) { in onTouchEvent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 84 private float mInitialTouchY; field in ExpandHelper 296 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent() 304 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent() 322 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent() 418 mInitialTouchY = ev.getRawY(); in onTouchEvent() 422 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent() 429 mInitialTouchY = ev.getRawY(); in onTouchEvent() 481 mInitialTouchY += mSGD.getFocusY() - mLastFocusY; in onTouchEvent()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchHelper.java | 187 float mInitialTouchY; field in ItemTouchHelper 314 mInitialTouchY = event.getY(); 320 mInitialTouchY -= animation.mY; 354 "on touch: x:" + mInitialTouchX + ",y:" + mInitialTouchY + ", :" + event); 926 final float dy = motionEvent.getY(pointerIndex) - mInitialTouchY; in findSwipedView() 976 final float dy = y - mInitialTouchY; in checkSelectForSwipe() 1142 mDy = y - mInitialTouchY; in updateDxDy() 2282 mInitialTouchY = y; in onLongPress() 2286 "onlong press: x:" + mInitialTouchX + ",y:" + mInitialTouchY); in onLongPress()
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 220 private float mInitialTouchY; field in FastScroller 1401 mInitialTouchY = ev.getY(); in onInterceptTouchEvent() 1411 final float pos = getPosFromMotionEvent(mInitialTouchY); in onInterceptTouchEvent() 1488 if (mPendingDrag >= 0 && Math.abs(me.getY() - mInitialTouchY) > mScaledTouchSlop) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 136 private float mInitialTouchY; field in NotificationStackScrollLayout 2249 if (mTouchIsClick && (Math.abs(ev.getY() - mInitialTouchY) > mTouchSlop in handleEmptySpaceClick() 2256 isBelowLastNotification(mInitialTouchX, mInitialTouchY)) { in handleEmptySpaceClick() 2257 mOnEmptySpaceClickListener.onEmptySpaceClicked(mInitialTouchX, mInitialTouchY); in handleEmptySpaceClick() 2271 mInitialTouchY = ev.getY(); in initDownStates()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 393 private int mInitialTouchY; field in RecyclerView 2538 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f); in onInterceptTouchEvent() 2561 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onInterceptTouchEvent() 2576 final int dy = y - mInitialTouchY; in onInterceptTouchEvent() 2583 mLastTouchY = mInitialTouchY + mTouchSlop * (dy < 0 ? -1 : 1); in onInterceptTouchEvent() 2653 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f); in onTouchEvent() 2668 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onTouchEvent() 2780 mInitialTouchY = mLastTouchY = (int) (e.getY(newIndex) + 0.5f); in onPointerUp()
|