diff options
author | Cyril Mottier <cyrilmottier@gmail.com> | 2013-07-25 10:08:29 +0200 |
---|---|---|
committer | Cyril Mottier <cyrilmottier@gmail.com> | 2013-07-25 10:08:29 +0200 |
commit | d40acfb89e3222e8da516254341a9489de7fd07b (patch) | |
tree | 0f463fb13bfade0844068bcff4cd4e1e686db538 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dbc51de44fe4f9a7f81528204250de32ec405d39 (diff) |
Return the actual interpolator of the ViewPropertyAnimator
The implementation of getInterpolator() was always returning null
(probably a quick copy-paste from the default Animator implementation).
This patch fixes the problem by returning the interpolator set by
setInterpolator(TimeInterpolator) or the default one if none has been
set yet.
This patch also avoid creating multiple instances of ValueAnimator in
order to retrieve some default values.
Change-Id: I8880f419f021a8b980fb32bebe927915fde19bf7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions