Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8099785

Optimize easing interpolation

XMLWordPrintable

      Interpolators other than LINEAR and DISCRETE are significantly slower on mobile devices. The easing interpolation implemented in Interpolators.Easing.interpolate() performs a number of floating-point operations for each step and needs to be optimized. The goal is to reduce the number of FP-operations needed in the method interpolate().

      1) Some of the intermediate results don't need to be calculated in every step, but only once (e.g. the runRate etc.)
      2) Instead of implementing a general purpose algorithm, we should provide optimized versions with fixed acceleration and deceleration. That way we can avoid even more operations.

            mheinrichs Michael Heinrichs (Inactive)
            mheinrichs Michael Heinrichs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified