Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java41 private float mInitialTouchX; field in HeadsUpTouchHelper
81 mInitialTouchX = x; in onInterceptTouchEvent()
108 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent()
116 && Math.abs(h) > Math.abs(x - mInitialTouchX)) { in onInterceptTouchEvent()
119 mInitialTouchX = x; in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt78 private var mInitialTouchX: Float = 0.0f in <lambda>() variable
159 mInitialTouchX = x in <lambda>()
164 if (h > touchSlop && h > Math.abs(x - mInitialTouchX)) { in <lambda>()
166 captureStartingChild(mInitialTouchX, mInitialTouchY) in <lambda>()
168 mInitialTouchX = x in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java126 private float mInitialTouchX; field in ResolverDrawerLayout
340 mInitialTouchX = x; in onInterceptTouchEvent()
405 mInitialTouchX = x; in onTouchEvent()
408 final boolean hitView = findChildUnder(mInitialTouchX, mInitialTouchY) != null; in onTouchEvent()
421 mInitialTouchX = ev.getX(); in onTouchEvent()
451 mInitialTouchX = ev.getX(pointerIndex); in onTouchEvent()
464 if (!wasDragging && findChildUnder(mInitialTouchX, mInitialTouchY) == null && in onTouchEvent()
472 if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) < mTouchSlop && in onTouchEvent()
536 mInitialTouchX = ev.getX(newPointerIndex);
546 mInitialTouchX = mInitialTouchY = mLastTouchY = 0;
DRecyclerView.java423 private int mInitialTouchX; field in RecyclerView
2669 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent()
2692 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent()
2707 final int dx = x - mInitialTouchX; in onInterceptTouchEvent()
2711 mLastTouchX = mInitialTouchX + mTouchSlop * (dx < 0 ? -1 : 1); in onInterceptTouchEvent()
2816 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent()
2831 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent()
3015 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java104 private float mInitialTouchX; field in ExpandHelper
335 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent()
361 mInitialTouchX = ev.getRawX(); in onInterceptTouchEvent()
457 mInitialTouchX = ev.getRawX(); in onTouchEvent()
463 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java203 private float mInitialTouchX; field in QuickSettingsControllerImpl
1630 mInitialTouchX = event.getX(); in handleTouch()
1689 mInitialTouchX = event.getX(); in handleDown()
1714 mInitialTouchX = x; in onTouch()
1731 mInitialTouchX = newX; in onTouch()
1780 mInitialTouchX = x; in onIntercept()
1793 && shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, 0)) { in onIntercept()
1816 mInitialTouchX = event.getX(newIndex); in onIntercept()
1839 && Math.abs(h) > Math.abs(x - mInitialTouchX) in onIntercept()
1841 mInitialTouchX, mInitialTouchY, h)) { in onIntercept()
[all …]
/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.java196 private float mInitialTouchX; field in NotificationStackScrollLayout
3449 mInitialTouchX, mInitialTouchY, true, true, false) == null) { in onTouchEvent()
3791 logEmptySpaceClick(ev, isBelowLastNotification(mInitialTouchX, mInitialTouchY), in handleEmptySpaceClick()
3797 || Math.abs(ev.getX() - mInitialTouchX) > touchSlop)) { in handleEmptySpaceClick()
3803 isBelowLastNotification(mInitialTouchX, mInitialTouchY)) { in handleEmptySpaceClick()
3805 mOnEmptySpaceClickListener.onEmptySpaceClicked(mInitialTouchX, mInitialTouchY); in handleEmptySpaceClick()
3839 mInitialTouchX = ev.getX(); in initDownStates()