Searched refs:numAnimFrames (Results 1 – 2 of 2) sorted by relevance
51 int numAnimFrames = Math.max(2, (int) Math.ceil(((double) duration) / animIntervalMs)); in createLUT() local52 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()
1478 int numAnimFrames = (int) Math.ceil(((double) duration) / animIntervalMs); in getFrameCount() local1480 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() local1497 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 …]