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) 1820_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1852double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value * _timeline.SpeedRatio; 1948RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2019if (_timeline.AutoReverse) 2069if (_timeline.AutoReverse) 2114if (_timeline.AutoReverse) 2149TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 - _timeline.DecelerationRatio); 2154TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan, _timeline.AccelerationRatio); 2258FillBehavior fillBehavior = _timeline.FillBehavior; 2345double userAcceleration = _timeline.AccelerationRatio; 2346double userDeceleration = _timeline.DecelerationRatio; 2479RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2502if (_timeline.AutoReverse) 2536if (_timeline.AutoReverse) 2619_timeline.FillBehavior == FillBehavior.HoldEnd) // Check for state changing between Filling and Stopped 2811_timeline.AccelerationRatio, 2812_timeline.DecelerationRatio, 2813_timeline.AutoReverse); 2846_timeline.AccelerationRatio, 2847_timeline.DecelerationRatio, 2848_timeline.AutoReverse)) 2868_timeline.AccelerationRatio, 2869_timeline.DecelerationRatio, 2870_timeline.AutoReverse); 3166Debug.Assert(CanSlip || _timeline is ParallelTimeline && ((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip); 3172Debug.Assert(!_timeline.AutoReverse); 3173Debug.Assert(_timeline.AccelerationRatio == 0); 3174Debug.Assert(_timeline.DecelerationRatio == 0); 3402current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3583Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(_timeline); 3644if (_timeline.BeginTime != null) 3978Debug.Assert(syncClock.IsRoot || syncClock._timeline.BeginTime.HasValue); // Only roots may later validate their _beginTime 4327_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