diff options
Diffstat (limited to 'libs/hwui/Animator.h')
-rw-r--r-- | libs/hwui/Animator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Animator.h b/libs/hwui/Animator.h index 86fc7c3..52a1807 100644 --- a/libs/hwui/Animator.h +++ b/libs/hwui/Animator.h @@ -45,6 +45,7 @@ public: ANDROID_API void setInterpolator(Interpolator* interpolator); ANDROID_API void setDuration(nsecs_t durationInMs); + ANDROID_API nsecs_t duration() { return mDuration; } ANDROID_API void setListener(AnimationListener* listener) { mListener = listener; } |