Home
last modified time | relevance | path

Searched refs:mInitialTouchY (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java48 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/
DHeadsUpTouchHelper.java39 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()
DPanelView.java99 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()
DNotificationPanelView.java130 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 …]
DKeyguardAffordanceHelper.java52 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/
DResolverDrawerLayout.java100 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/
DExpandHelper.java84 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/
DItemTouchHelper.java187 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/
DFastScroller.java220 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/
DNotificationStackScrollLayout.java136 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/
DRecyclerView.java393 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()