Searched refs:fractionCovered (Results 1 – 4 of 4) sorted by relevance
81 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); in getSwipeInAnimator() local82 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); in getSwipeInAnimator()105 float fractionCovered = 1.f - (deltaXAbs / view.getWidth()); in getSwipeOutAnimator() local106 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); in getSwipeOutAnimator()
302 float fractionCovered = deltaXAbs / (float) child.getWidth(); in swipeView() local305 child.setAlpha(1.f - fractionCovered); in swipeView()308 child.setRotationY(-15.f * fractionCovered); in swipeView()310 child.setRotationY(15.f * fractionCovered); in swipeView()
120 float fractionCovered;126 fractionCovered = deltaXAbs / v.getWidth();132 fractionCovered = 1 - (deltaXAbs / v.getWidth());142 long duration = (int) ((1 - fractionCovered) * SWIPE_DURATION);
149 float fractionCovered;154 fractionCovered = deltaXAbs / v.getWidth();159 fractionCovered = 1 - (deltaXAbs / v.getWidth());164 long duration = (int) ((1 - fractionCovered) * SWIPE_DURATION);