HomeSort by relevance Sort by last modified time
    Searched refs:currentFraction (Results 1 - 3 of 3) sorted by null

  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
LongSwipeHelper.java 95 final float currentFraction = mAnimator.getProgressFraction();
105 toAllApps = currentFraction > MIN_PROGRESS_TO_ALL_APPS;
108 long expectedDuration = Math.abs(Math.round((endProgress - currentFraction)
118 float distanceToTravel = (endProgress - currentFraction) * mMaxSwipeDistance;
135 animator.setFloatValues(currentFraction, endProgress);
  /cts/tests/tests/animation/src/android/animation/cts/
ValueAnimatorTest.java 175 float currentFraction = anim.getAnimatedFraction();
178 assertEquals(.5f, currentFraction, EPSILON);
183 currentFraction = delayedAnim.getAnimatedFraction();
186 assertEquals(.5f, currentFraction, EPSILON);
193 float currentFraction = anim.getAnimatedFraction();
196 assertEquals(.5f, currentFraction, EPSILON);
200 currentFraction = delayedAnim.getAnimatedFraction();
203 assertEquals(.5f, currentFraction, EPSILON);
217 currentFraction = delayedAnim.getAnimatedFraction();
220 assertTrue(currentFraction > 0.5f)
    [all...]
  /frameworks/base/core/java/android/animation/
ValueAnimator.java 702 float currentFraction = fraction - iteration;
703 return shouldPlayBackward(iteration, inReverse) ? 1f - currentFraction : currentFraction;
    [all...]

Completed in 140 milliseconds