Home
last modified time | relevance | path

Searched refs:xThreshold (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DGmailDragHelper.java104 public boolean processTouchEvent(MotionEvent ev, int dragMode, @Nullable Float xThreshold) { in processTouchEvent() argument
129 if (xThreshold != null) { in processTouchEvent()
131 passedThreshold = evX > xThreshold; in processTouchEvent()
133 passedThreshold = evX < xThreshold; in processTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java276 float xThreshold = mCellLayout.getCellWidth(); in resizeWidgetIfNeeded() local
279 int hSpanInc = getSpanIncrement((mDeltaX + mDeltaXAddOn) / xThreshold - mRunningHInc); in resizeWidgetIfNeeded()
389 int xThreshold = mCellLayout.getCellWidth(); in onTouchUp() local
392 mDeltaXAddOn = mRunningHInc * xThreshold; in onTouchUp()