Lines Matching refs:deltaX
238 float deltaX = Math.abs(currX - mInitialTouchPosX);
239 if (deltaY > SWIPE_SCROLL_SLOP && deltaY > (FACTOR * deltaX)) {
360 float deltaX = ev.getX() - mInitialTouchPosX;
365 if (!mDragging && deltaY > MIN_VERT && (Math.abs(deltaX)) < MIN_LOCK
366 && deltaY > (FACTOR * Math.abs(deltaX))) {
371 if (Math.abs(deltaX) < minDistance) {
381 if (Math.abs(deltaX) >= size) {
382 deltaX = deltaX > 0 ? maxScrollDistance : -maxScrollDistance;
384 deltaX = maxScrollDistance
385 * (float) Math.sin((deltaX / size) * (Math.PI / 2));
388 setTranslation(mCurrAnimView, deltaX);