public float getFrameForProgress(float progress) {
    return MiscUtils.lerp(startFrame, endFrame, progress);
  }
Used to determine if an animation can be drawn with hardware acceleration.
lottie/src/main/java/com/airbnb/lottie/LottieComposition.java