Searched refs:xThreshold (Results 1 – 3 of 3) sorted by relevance
104 public boolean processTouchEvent(MotionEvent ev, int dragMode, @Nullable Float xThreshold) { in processTouchEvent() argument129 if (xThreshold != null) { in processTouchEvent()131 passedThreshold = evX > xThreshold; in processTouchEvent()133 passedThreshold = evX < xThreshold; in processTouchEvent()
227 int xThreshold = mCellLayout.getCellWidth() + mCellLayout.getWidthGap(); in resizeWidgetIfNeeded() local233 float hSpanIncF = 1.0f * deltaX / xThreshold - mRunningHInc; in resizeWidgetIfNeeded()384 int xThreshold = mCellLayout.getCellWidth() + mCellLayout.getWidthGap(); in onTouchUp() local387 mDeltaXAddOn = mRunningHInc * xThreshold; in onTouchUp()
224 int xThreshold = mCellLayout.getCellWidth() + mCellLayout.getWidthGap(); in resizeWidgetIfNeeded() local230 float hSpanIncF = 1.0f * deltaX / xThreshold - mRunningHInc; in resizeWidgetIfNeeded()380 int xThreshold = mCellLayout.getCellWidth() + mCellLayout.getWidthGap(); in onTouchUp() local383 mDeltaXAddOn = mRunningHInc * xThreshold; in onTouchUp()