commit | 49d5744eba764d8ea0eaf625af9bfd48eeb1de04 | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Thu Mar 19 16:48:28 2015 -0700 |
committer | Justin Klaassen <justinklaassen@google.com> | Fri Mar 20 12:53:14 2015 -0700 |
tree | a8fad8320a319c68362785afc8e93297b691e9da | |
parent | 6445b0c53daed35dafaf1d9cefbeabf2385099c2 [diff] |
Create v4 PathInterpolatorCompat (v2) PathInterpolatorCompat uses PathInterpolator on API 21+, and provides an alternative implementation to support API 4+. PathInterpolatorCompatIMPL computes the interpolation along an arbitrary path using a linear sample-based approximation. Note the interpolated values may differ slightly from the framework PathInterpolator which uses an arc-based approximation. Change-Id: I7f8e8b8663140e6a12fabd45696daff087a13c44