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()
81 float fractionCovered = 1.f - (deltaXAbs / view.getWidth());82 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor));105 float fractionCovered = 1.f - (deltaXAbs / view.getWidth());106 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor));
302 float fractionCovered = deltaXAbs / (float) child.getWidth();305 child.setAlpha(1.f - fractionCovered);308 child.setRotationY(-15.f * fractionCovered);310 child.setRotationY(15.f * fractionCovered);