commit | 376f90c159c74a267a5b5e13a5d71273980a72df | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Thu Mar 19 16:48:28 2015 -0700 |
committer | Qiwen Zhao <zhao@google.com> | Wed Mar 25 21:48:46 2015 -0700 |
tree | cb51d3e968530b864786f30ab7102e3c5add5b96 | |
parent | ea322ae49aa4eebc909dbf2e8b1509980ded1e2c [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