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; 328return _timeline.GetNaturalDuration(this); 370return _timeline; 615if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 623if ((_timeline.AutoReverse == true) || 624(_timeline.AccelerationRatio > 0) || 625(_timeline.DecelerationRatio > 0)) 637if (current._timeline.AutoReverse || current._timeline.AccelerationRatio > 0 638|| current._timeline.DecelerationRatio > 0) 1834_beginTime = CurrentGlobalTime + _timeline.BeginTime; 1866double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value * _timeline.SpeedRatio; 1962RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2034if (_timeline.AutoReverse) 2084if (_timeline.AutoReverse) 2129if (_timeline.AutoReverse) 2164TimeSpan decelBegin = MultiplyTimeSpan(_currentDuration.TimeSpan, 1.0 - _timeline.DecelerationRatio); 2169TimeSpan accelEnd = MultiplyTimeSpan(_currentDuration.TimeSpan, _timeline.AccelerationRatio); 2273FillBehavior fillBehavior = _timeline.FillBehavior; 2360double userAcceleration = _timeline.AccelerationRatio; 2361double userDeceleration = _timeline.DecelerationRatio; 2494RepeatBehavior repeatBehavior = _timeline.RepeatBehavior; 2517if (_timeline.AutoReverse) 2551if (_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); 3181Debug.Assert(CanSlip || _timeline is ParallelTimeline && ((ParallelTimeline)_timeline).SlipBehavior == SlipBehavior.Slip); 3187Debug.Assert(_timeline.AutoReverse == false); 3188Debug.Assert(_timeline.AccelerationRatio == 0); 3189Debug.Assert(_timeline.DecelerationRatio == 0); 3417current._beginTime = current._timeline.BeginTime; // _beginTime could have slipped with media nodes 3598Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(_timeline); 3659if (_timeline.BeginTime != null) 4001Debug.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)
123if (_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) 338Duration manualDuration = _timeline.Duration; // Check if a duration is specified by the user 447child._beginTime = child._timeline.BeginTime; // Realign the clock