Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java48 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()
DPulseExpansionHandler.kt71 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/
DHeadsUpTouchHelper.java37 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()
DPanelView.java126 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()
DKeyguardAffordanceHelper.java50 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()
DNotificationPanelView.java260 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/
DResolverDrawerLayout.java111 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;
DRecyclerView.java423 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/
DExpandHelper.java84 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/
DItemTouchHelper.java180 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/
DNotificationStackScrollLayout.java219 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();