1 write to _timeline
PresentationCore (1)
System\Windows\Media\Animation\Clock.cs (1)
58
_timeline
= (Timeline)timeline.GetCurrentValueAsFrozen();
55 references to _timeline
PresentationCore (55)
System\Windows\Media\Animation\Clock.cs (46)
86
_beginTime =
_timeline
.BeginTime;
90
_resolvedDuration =
_timeline
.Duration;
110
_appliedSpeedRatio =
_timeline
.SpeedRatio;
315
return
_timeline
.GetNaturalDuration(this);
357
return
_timeline
;
602
if (CanSlip && (IsRoot ||
_timeline
.BeginTime.HasValue))
610
if ((
_timeline
.AutoReverse == true) ||
611
(
_timeline
.AccelerationRatio > 0) ||
612
(
_timeline
.DecelerationRatio > 0))
624
if (current.
_timeline
.AutoReverse || current.
_timeline
.AccelerationRatio > 0
625
|| current.
_timeline
.DecelerationRatio > 0)
1821
_beginTime = CurrentGlobalTime +
_timeline
.BeginTime;
1853
double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value *
_timeline
.SpeedRatio;
1949
RepeatBehavior repeatBehavior =
_timeline
.RepeatBehavior;
2021
if (
_timeline
.AutoReverse)
2071
if (
_timeline
.AutoReverse)
2116
if (
_timeline
.AutoReverse)
2151
TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 -
_timeline
.DecelerationRatio);
2156
TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan,
_timeline
.AccelerationRatio);
2260
FillBehavior fillBehavior =
_timeline
.FillBehavior;
2347
double userAcceleration =
_timeline
.AccelerationRatio;
2348
double userDeceleration =
_timeline
.DecelerationRatio;
2481
RepeatBehavior repeatBehavior =
_timeline
.RepeatBehavior;
2504
if (
_timeline
.AutoReverse)
2538
if (
_timeline
.AutoReverse)
2621
_timeline
.FillBehavior == FillBehavior.HoldEnd) // Check for state changing between Filling and Stopped
2813
_timeline
.AccelerationRatio,
2814
_timeline
.DecelerationRatio,
2815
_timeline
.AutoReverse);
2848
_timeline
.AccelerationRatio,
2849
_timeline
.DecelerationRatio,
2850
_timeline
.AutoReverse))
2870
_timeline
.AccelerationRatio,
2871
_timeline
.DecelerationRatio,
2872
_timeline
.AutoReverse);
3168
Debug.Assert(CanSlip ||
_timeline
is ParallelTimeline && ((ParallelTimeline)
_timeline
).SlipBehavior == SlipBehavior.Slip);
3174
Debug.Assert(
_timeline
.AutoReverse == false);
3175
Debug.Assert(
_timeline
.AccelerationRatio == 0);
3176
Debug.Assert(
_timeline
.DecelerationRatio == 0);
3404
current._beginTime = current.
_timeline
.BeginTime; // _beginTime could have slipped with media nodes
3585
Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(
_timeline
);
3646
if (
_timeline
.BeginTime != null)
3988
Debug.Assert(syncClock.IsRoot || syncClock.
_timeline
.BeginTime.HasValue); // Only roots may later validate their _beginTime
4338
_timeline
.BuildInfo(builder, 0, false);
System\Windows\Media\Animation\ClockGroup.cs (9)
118
if (
_timeline
is ParallelTimeline &&
119
((ParallelTimeline)
_timeline
).SlipBehavior == SlipBehavior.Slip)
123
(
_timeline
.RepeatBehavior.HasDuration) ||
124
(
_timeline
.AutoReverse == true) ||
125
(
_timeline
.AccelerationRatio > 0) ||
126
(
_timeline
.DecelerationRatio > 0))
140
&& child.
_timeline
.BeginTime.HasValue)
333
Duration manualDuration =
_timeline
.Duration; // Check if a duration is specified by the user
442
child._beginTime = child.
_timeline
.BeginTime; // Realign the clock