OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #include "SkAnimateBase.h" | 10 #include "SkAnimateBase.h" |
11 #include "SkAnimateMaker.h" | 11 #include "SkAnimateMaker.h" |
12 #include "SkAnimateProperties.h" | 12 #include "SkAnimateProperties.h" |
13 #include "SkAnimatorScript.h" | 13 #include "SkAnimatorScript.h" |
14 #include "SkDisplayApply.h" | 14 #include "SkDisplayApply.h" |
15 #include "SkDrawable.h" | 15 #include "SkADrawable.h" |
16 | 16 |
17 #if SK_USE_CONDENSED_INFO == 0 | 17 #if SK_USE_CONDENSED_INFO == 0 |
18 | 18 |
19 const SkMemberInfo SkAnimateBase::fInfo[] = { | 19 const SkMemberInfo SkAnimateBase::fInfo[] = { |
20 SK_MEMBER(begin, MSec), | 20 SK_MEMBER(begin, MSec), |
21 SK_MEMBER_ARRAY(blend, Float), | 21 SK_MEMBER_ARRAY(blend, Float), |
22 SK_MEMBER(dur, MSec), | 22 SK_MEMBER(dur, MSec), |
23 SK_MEMBER_PROPERTY(dynamic, Boolean), | 23 SK_MEMBER_PROPERTY(dynamic, Boolean), |
24 SK_MEMBER(field, String), // name of member info in target | 24 SK_MEMBER(field, String), // name of member info in target |
25 SK_MEMBER(formula, DynamicString), | 25 SK_MEMBER(formula, DynamicString), |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 return; | 226 return; |
227 } | 227 } |
228 if (fApply && fApply->getMode() != SkApply::kMode_create) | 228 if (fApply && fApply->getMode() != SkApply::kMode_create) |
229 target.reset(); | 229 target.reset(); |
230 } | 230 } |
231 } | 231 } |
232 | 232 |
233 bool SkAnimateBase::targetNeedsInitialization() const { | 233 bool SkAnimateBase::targetNeedsInitialization() const { |
234 return false; | 234 return false; |
235 } | 235 } |
OLD | NEW |