1 write to _timeline
PresentationCore (1)
System\Windows\Media\Animation\Clock.cs (1)
57_timeline = (Timeline)timeline.GetCurrentValueAsFrozen();
55 references to _timeline
PresentationCore (55)
System\Windows\Media\Animation\Clock.cs (46)
85_beginTime = _timeline.BeginTime; 89_resolvedDuration = _timeline.Duration; 109_appliedSpeedRatio = _timeline.SpeedRatio; 314return _timeline.GetNaturalDuration(this); 356return _timeline; 601if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 609if ((_timeline.AutoReverse) || 610(_timeline.AccelerationRatio > 0) || 611(_timeline.DecelerationRatio > 0)) 623if (current._timeline.AutoReverse || current._timeline.AccelerationRatio > 0 624|| current._timeline.DecelerationRatio > 0) 1817_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1849double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value * _timeline.SpeedRatio; 1945RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2016if (_timeline.AutoReverse) 2066if (_timeline.AutoReverse) 2111if (_timeline.AutoReverse) 2146TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 - _timeline.DecelerationRatio); 2151TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan, _timeline.AccelerationRatio); 2255FillBehavior fillBehavior = _timeline.FillBehavior; 2342double userAcceleration = _timeline.AccelerationRatio; 2343double userDeceleration = _timeline.DecelerationRatio; 2476RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2499if (_timeline.AutoReverse) 2533if (_timeline.AutoReverse) 2616_timeline.FillBehavior == FillBehavior.HoldEnd) // Check for state changing between Filling and Stopped 2808_timeline.AccelerationRatio, 2809_timeline.DecelerationRatio, 2810_timeline.AutoReverse); 2843_timeline.AccelerationRatio, 2844_timeline.DecelerationRatio, 2845_timeline.AutoReverse)) 2862_timeline.AccelerationRatio, 2863_timeline.DecelerationRatio, 2864_timeline.AutoReverse); 3160Debug.Assert(CanSlip || _timeline is ParallelTimeline && ((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip); 3166Debug.Assert(!_timeline.AutoReverse); 3167Debug.Assert(_timeline.AccelerationRatio == 0); 3168Debug.Assert(_timeline.DecelerationRatio == 0); 3396current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3577Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(_timeline); 3638if (_timeline.BeginTime != null) 3972Debug.Assert(syncClock.IsRoot || syncClock._timeline.BeginTime.HasValue); // Only roots may later validate their _beginTime 4321_timeline.BuildInfo(builder, 0, false);
System\Windows\Media\Animation\ClockGroup.cs (9)
117if (_timeline is ParallelTimeline && 118((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip) 122(_timeline.RepeatBehavior.HasDuration) || 123(_timeline.AutoReverse) || 124(_timeline.AccelerationRatio > 0) || 125(_timeline.DecelerationRatio > 0)) 139&& child._timeline.BeginTime.HasValue) 332Duration manualDuration = _timeline.Duration; // Check if a duration is specified by the user 441child._beginTime = child._timeline.BeginTime; // Realign the clock