diff options
| author | Doris Liu <tianliu@google.com> | 2015-05-11 15:18:45 -0700 |
|---|---|---|
| committer | Doris Liu <tianliu@google.com> | 2015-05-12 10:07:25 -0700 |
| commit | 56ef127df75164243a21df10771e7c77c8ef2e24 (patch) | |
| tree | 8d1971bc35e9a28c0a2d7321424619ec9d9cfd85 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 729d0a06eaaa40f5be4d9dc5bd580f525ba8360e (diff) | |
Avoid setting mCurFrame to -1
Use the dedicated flag mRunning to check whether the DrawableAnimation
is running, rather than comparing mCurFrame with -1. This CL aims to
simplify the use of mCurFrame.
Bug: 17112962
Change-Id: I15f9e4c102f504b8c806f029949fe9ec872479a5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
