diff options
author | Doris Liu <tianliu@google.com> | 2016-08-03 17:54:28 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2016-08-05 01:44:20 +0000 |
commit | f7167e8f286cff91dec01fdf617bf568f1d100e6 (patch) | |
tree | f58d8288ef2ea02fdc8408dcc31e789c543983f8 /libs/hwui/Animator.h | |
parent | 6f20514185f836bbab48fe3867d3b249da573ec9 (diff) |
Support repeatMode = reverse in AVD
BUG: 30641232
Change-Id: I34c823a0a45c8441873a9b467275174c5529994b
Diffstat (limited to 'libs/hwui/Animator.h')
-rw-r--r-- | libs/hwui/Animator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/Animator.h b/libs/hwui/Animator.h index 9476750afd52..259f21b9934f 100644 --- a/libs/hwui/Animator.h +++ b/libs/hwui/Animator.h @@ -44,6 +44,12 @@ protected: ANDROID_API virtual ~AnimationListener() {} }; +enum class RepeatMode { + // These are the same values as the RESTART and REVERSE in ValueAnimator.java. + Restart = 1, + Reverse = 2 +}; + class BaseRenderNodeAnimator : public VirtualLightRefBase { PREVENT_COPY_AND_ASSIGN(BaseRenderNodeAnimator); public: |