()
| 190 | } |
| 191 | |
| 192 | public cancel(): void { |
| 193 | if (!this.isPlaying) { |
| 194 | Trace.write('Animation is not currently playing.', Trace.categories.Animation, Trace.messageType.warn); |
| 195 | |
| 196 | return; |
| 197 | } |
| 198 | |
| 199 | Trace.write('Cancelling AnimatorSet.', Trace.categories.Animation); |
| 200 | |
| 201 | this._animatorSet.cancel(); |
| 202 | } |
| 203 | |
| 204 | public _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | android.view.animation.Interpolator): android.view.animation.Interpolator { |
| 205 | return _resolveAnimationCurve(curve); |