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; 315return _timeline.GetNaturalDuration(this); 357return _timeline; 602if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 610if ((_timeline.AutoReverse == true) || 611(_timeline.AccelerationRatio > 0) || 612(_timeline.DecelerationRatio > 0)) 624if (current._timeline.AutoReverse || current._timeline.AccelerationRatio > 0 625|| current._timeline.DecelerationRatio > 0) 1821_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1853double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value * _timeline.SpeedRatio; 1949RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2021if (_timeline.AutoReverse) 2071if (_timeline.AutoReverse) 2116if (_timeline.AutoReverse) 2151TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 - _timeline.DecelerationRatio); 2156TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan, _timeline.AccelerationRatio); 2260FillBehavior fillBehavior = _timeline.FillBehavior; 2347double userAcceleration = _timeline.AccelerationRatio; 2348double userDeceleration = _timeline.DecelerationRatio; 2481RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2504if (_timeline.AutoReverse) 2538if (_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); 3168Debug.Assert(CanSlip || _timeline is ParallelTimeline && ((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip); 3174Debug.Assert(_timeline.AutoReverse == false); 3175Debug.Assert(_timeline.AccelerationRatio == 0); 3176Debug.Assert(_timeline.DecelerationRatio == 0); 3404current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3585Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(_timeline); 3646if (_timeline.BeginTime != null) 3988Debug.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)
118if (_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) 333Duration manualDuration = _timeline.Duration; // Check if a duration is specified by the user 442child._beginTime = child._timeline.BeginTime; // Realign the clock