Home
last modified time | relevance | path

Searched refs:numAnimFrames (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/animation/
DFallbackLUTInterpolator.java51 int numAnimFrames = Math.max(2, (int) Math.ceil(((double) duration) / animIntervalMs)); in createLUT() local
52 numAnimFrames = Math.min(numAnimFrames, MAX_SAMPLE_POINTS); in createLUT()
53 float values[] = new float[numAnimFrames]; in createLUT()
54 float lastFrame = numAnimFrames - 1; in createLUT()
55 for (int i = 0; i < numAnimFrames; i++) { in createLUT()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1488 int numAnimFrames = (int) Math.ceil(((double) duration) / animIntervalMs); in getFrameCount() local
1490 numAnimFrames = Math.max(2, numAnimFrames); in getFrameCount()
1491 if (numAnimFrames > MAX_SAMPLE_POINTS) { in getFrameCount()
1494 numAnimFrames = MAX_SAMPLE_POINTS; in getFrameCount()
1496 return numAnimFrames; in getFrameCount()
1506 int numAnimFrames = getFrameCount(duration); in createFloatDataPoints() local
1507 float values[] = new float[numAnimFrames]; in createFloatDataPoints()
1508 float lastFrame = numAnimFrames - 1; in createFloatDataPoints()
1509 for (int i = 0; i < numAnimFrames; i++) { in createFloatDataPoints()
1518 int numAnimFrames = getFrameCount(duration); in createIntDataPoints() local
[all …]