private Keyframe<T> findKeyframe(float progress) {
      Keyframe<T> keyframe = keyframes.get(keyframes.size() - 1);
      if (progress >= keyframe.getStartProgress()) {
        return keyframe;
      }
      for (int i = keyframes.size() - 2; i >= 1; i--) {
        keyframe = keyframes.get(i);
        if (currentKeyframe == keyframe) {
          continue;
        }
        if (keyframe.containsProgress(progress)) {
          return keyframe;
        }
      }
      return keyframes.get(0);
    }
Similar to {@link #getValue(Keyframe, float)} but used when an animation has separate interpolators for the X and Y axis.
lottie/src/main/java/com/airbnb/lottie/animation/keyframe/BaseKeyframeAnimation.java