Searched refs:deltaXAbs (Results 1 – 4 of 4) sorted by relevance
99 float deltaXAbs = Math.abs(deltaX);101 if (deltaXAbs > mSwipeSlop) {109 v.setAlpha(1 - deltaXAbs / v.getWidth());119 float deltaXAbs = Math.abs(deltaX);124 if (deltaXAbs > v.getWidth() / 4) {126 fractionCovered = deltaXAbs / v.getWidth();132 fractionCovered = 1 - (deltaXAbs / v.getWidth());
78 float deltaXAbs = Math.abs(deltaX); in getSwipeInAnimator() local80 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); in getSwipeInAnimator()102 float deltaXAbs = Math.abs(deltaX); in getSwipeOutAnimator() local104 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); in getSwipeOutAnimator()
110 float deltaXAbs = Math.abs(deltaX);113 boolean remove = deltaXAbs > v.getWidth() / 4 && !isFixedView(v);300 float deltaXAbs = Math.abs(deltaX); in swipeView() local301 float fractionCovered = deltaXAbs / (float) child.getWidth(); in swipeView()
123 float deltaXAbs = Math.abs(deltaX);125 if (deltaXAbs > mSwipeSlop) {148 float deltaXAbs = Math.abs(deltaX);152 if (deltaXAbs > v.getWidth() / 4) {154 fractionCovered = deltaXAbs / v.getWidth();159 fractionCovered = 1 - (deltaXAbs / v.getWidth());