1 write to _timeline
PresentationCore (1)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (1)
73_timeline = (Timeline)timeline.GetCurrentValueAsFrozen();
54 references to _timeline
PresentationCore (54)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (45)
101_beginTime = _timeline.BeginTime; 105_resolvedDuration = _timeline.Duration; 125_appliedSpeedRatio = _timeline.SpeedRatio; 330return _timeline.GetNaturalDuration(this); 372return _timeline; 617if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 625if ((_timeline.AutoReverse == true) || 626(_timeline.AccelerationRatio > 0) || 627(_timeline.DecelerationRatio > 0)) 639if (current._timeline.AutoReverse || current._timeline.AccelerationRatio > 0 640|| current._timeline.DecelerationRatio > 0) 1837_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1869double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value * _timeline.SpeedRatio; 1965RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2037if (_timeline.AutoReverse) 2087if (_timeline.AutoReverse) 2132if (_timeline.AutoReverse) 2167TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 - _timeline.DecelerationRatio); 2172TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan, _timeline.AccelerationRatio); 2276FillBehavior fillBehavior = _timeline.FillBehavior; 2363double userAcceleration = _timeline.AccelerationRatio; 2364double userDeceleration = _timeline.DecelerationRatio; 2497RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2520if (_timeline.AutoReverse) 2554if (_timeline.AutoReverse) 2637_timeline.FillBehavior == FillBehavior.HoldEnd) // Check for state changing between Filling and Stopped 2828_timeline.AccelerationRatio, 2829_timeline.DecelerationRatio, 2830_timeline.AutoReverse); 2863_timeline.AccelerationRatio, 2864_timeline.DecelerationRatio, 2865_timeline.AutoReverse)) 2885_timeline.AccelerationRatio, 2886_timeline.DecelerationRatio, 2887_timeline.AutoReverse); 3186Debug.Assert(CanSlip || _timeline is ParallelTimeline && ((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip); 3192Debug.Assert(_timeline.AutoReverse == false); 3193Debug.Assert(_timeline.AccelerationRatio == 0); 3194Debug.Assert(_timeline.DecelerationRatio == 0); 3425current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3606Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(_timeline); 3667if (_timeline.BeginTime != null) 4008Debug.Assert(syncClock.IsRoot || syncClock._timeline.BeginTime.HasValue); // Only roots may later validate their _beginTime
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (9)
125if (_timeline is ParallelTimeline && 126((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip) 130(_timeline.RepeatBehavior.HasDuration) || 131(_timeline.AutoReverse == true) || 132(_timeline.AccelerationRatio > 0) || 133(_timeline.DecelerationRatio > 0)) 147&& child._timeline.BeginTime.HasValue) 340Duration manualDuration = _timeline.Duration; // Check if a duration is specified by the user 449child._beginTime = child._timeline.BeginTime; // Realign the clock