MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / cancel

Method cancel

packages/core/ui/animation/index.android.ts:192–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 2

writeMethod · 0.65
cancelMethod · 0.65

Tested by

no test coverage detected