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.java1478 int numAnimFrames = (int) Math.ceil(((double) duration) / animIntervalMs); in getFrameCount() local
1480 numAnimFrames = Math.max(2, numAnimFrames); in getFrameCount()
1481 if (numAnimFrames > MAX_SAMPLE_POINTS) { in getFrameCount()
1484 numAnimFrames = MAX_SAMPLE_POINTS; in getFrameCount()
1486 return numAnimFrames; in getFrameCount()
1496 int numAnimFrames = getFrameCount(duration); in createFloatDataPoints() local
1497 float values[] = new float[numAnimFrames]; in createFloatDataPoints()
1498 float lastFrame = numAnimFrames - 1; in createFloatDataPoints()
1499 for (int i = 0; i < numAnimFrames; i++) { in createFloatDataPoints()
1508 int numAnimFrames = getFrameCount(duration); in createIntDataPoints() local
[all …]