commit | 94213f7183ca8a0a91ee0cf25723e2791a078ae0 | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Wed Mar 11 12:32:42 2015 -0700 |
committer | Justin Klaassen <justinklaassen@google.com> | Wed Mar 11 12:43:10 2015 -0700 |
tree | 6c678a3c92718daba6a2297b656152d5728dfb15 | |
parent | 3b099f5a2a19069f3880c598efd51239c8504c77 [diff] |
Create v4 PathInterpolatorCompat 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: I45dda33abeb93aa30b7c52be0d5076ee57b84f82