Searched refs:xThreshold (Results 1 – 2 of 2) 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()
276 float xThreshold = mCellLayout.getCellWidth(); in resizeWidgetIfNeeded() local279 int hSpanInc = getSpanIncrement((mDeltaX + mDeltaXAddOn) / xThreshold - mRunningHInc); in resizeWidgetIfNeeded()389 int xThreshold = mCellLayout.getCellWidth(); in onTouchUp() local392 mDeltaXAddOn = mRunningHInc * xThreshold; in onTouchUp()