1 write to _timeline
PresentationCore (1)
System\Windows\Media\Animation\Clock.cs (1)
71
_timeline
= (Timeline)timeline.GetCurrentValueAsFrozen();
55 references to _timeline
PresentationCore (55)
System\Windows\Media\Animation\Clock.cs (46)
99
_beginTime =
_timeline
.BeginTime;
103
_resolvedDuration =
_timeline
.Duration;
123
_appliedSpeedRatio =
_timeline
.SpeedRatio;
328
return
_timeline
.GetNaturalDuration(this);
370
return
_timeline
;
615
if (CanSlip && (IsRoot ||
_timeline
.BeginTime.HasValue))
623
if ((
_timeline
.AutoReverse == true) ||
624
(
_timeline
.AccelerationRatio > 0) ||
625
(
_timeline
.DecelerationRatio > 0))
637
if (current.
_timeline
.AutoReverse || current.
_timeline
.AccelerationRatio > 0
638
|| current.
_timeline
.DecelerationRatio > 0)
1834
_beginTime = CurrentGlobalTime +
_timeline
.BeginTime;
1866
double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value *
_timeline
.SpeedRatio;
1962
RepeatBehavior repeatBehavior =
_timeline
.RepeatBehavior;
2034
if (
_timeline
.AutoReverse)
2084
if (
_timeline
.AutoReverse)
2129
if (
_timeline
.AutoReverse)
2164
TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 -
_timeline
.DecelerationRatio);
2169
TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan,
_timeline
.AccelerationRatio);
2273
FillBehavior fillBehavior =
_timeline
.FillBehavior;
2360
double userAcceleration =
_timeline
.AccelerationRatio;
2361
double userDeceleration =
_timeline
.DecelerationRatio;
2494
RepeatBehavior repeatBehavior =
_timeline
.RepeatBehavior;
2517
if (
_timeline
.AutoReverse)
2551
if (
_timeline
.AutoReverse)
2634
_timeline
.FillBehavior == FillBehavior.HoldEnd) // Check for state changing between Filling and Stopped
2826
_timeline
.AccelerationRatio,
2827
_timeline
.DecelerationRatio,
2828
_timeline
.AutoReverse);
2861
_timeline
.AccelerationRatio,
2862
_timeline
.DecelerationRatio,
2863
_timeline
.AutoReverse))
2883
_timeline
.AccelerationRatio,
2884
_timeline
.DecelerationRatio,
2885
_timeline
.AutoReverse);
3181
Debug.Assert(CanSlip ||
_timeline
is ParallelTimeline && ((ParallelTimeline)
_timeline
).SlipBehavior == SlipBehavior.Slip);
3187
Debug.Assert(
_timeline
.AutoReverse == false);
3188
Debug.Assert(
_timeline
.AccelerationRatio == 0);
3189
Debug.Assert(
_timeline
.DecelerationRatio == 0);
3417
current._beginTime = current.
_timeline
.BeginTime; // _beginTime could have slipped with media nodes
3598
Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(
_timeline
);
3659
if (
_timeline
.BeginTime != null)
4001
Debug.Assert(syncClock.IsRoot || syncClock.
_timeline
.BeginTime.HasValue); // Only roots may later validate their _beginTime
4351
_timeline
.BuildInfo(builder, 0, false);
System\Windows\Media\Animation\ClockGroup.cs (9)
123
if (
_timeline
is ParallelTimeline &&
124
((ParallelTimeline)
_timeline
).SlipBehavior == SlipBehavior.Slip)
128
(
_timeline
.RepeatBehavior.HasDuration) ||
129
(
_timeline
.AutoReverse == true) ||
130
(
_timeline
.AccelerationRatio > 0) ||
131
(
_timeline
.DecelerationRatio > 0))
145
&& child.
_timeline
.BeginTime.HasValue)
338
Duration manualDuration =
_timeline
.Duration; // Check if a duration is specified by the user
447
child._beginTime = child.
_timeline
.BeginTime; // Realign the clock