12 writes to _beginTime
PresentationCore (12)
System\Windows\Media\Animation\Clock.cs (11)
86
_beginTime
= _timeline.BeginTime;
888
_beginTime
= CurrentGlobalTime - DivideTimeSpan(destination, _appliedSpeedRatio);
1795
_beginTime
= CurrentGlobalTime - DivideTimeSpan(_rootData.PendingSeekDestination.Value, _appliedSpeedRatio);
1821
_beginTime
= CurrentGlobalTime + _timeline.BeginTime;
1840
_beginTime
+= _timeManager.LastTickDelta;
1876
_beginTime
= previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value,
2696
_beginTime
= null;
3261
_beginTime
+= timeIntoSyncPeriodPT;
3375
_beginTime
+= parentTimeSlipPT;
3403
current.
_beginTime
= current._timeline.BeginTime; // _beginTime could have slipped with media nodes
3626
_beginTime
= null;
System\Windows\Media\Animation\ClockGroup.cs (1)
442
child.
_beginTime
= child._timeline.BeginTime; // Realign the clock
34 references to _beginTime
PresentationCore (34)
System\Windows\Media\Animation\Clock.cs (34)
118
if (
_beginTime
.HasValue)
635
current._currentIterationBeginTime = current.
_beginTime
;
892
_currentIterationBeginTime =
_beginTime
;
1798
_currentIterationBeginTime =
_beginTime
; // We relied on a combination of _currentIterationBeginTime and _currentIteration for our state
1824
_currentIterationBeginTime =
_beginTime
; // We should be just starting our first iteration now
1837
if (
_beginTime
.HasValue)
1863
Debug.Assert(
_beginTime
.HasValue);
1876
_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime -
_beginTime
.Value,
1945
Debug.Assert(
_beginTime
.HasValue);
1947
Debug.Assert(parentTime >=
_beginTime
.Value); // We are active or in postfill
1952
TimeSpan beginTimeForOffsetComputation = _currentIterationBeginTime ??
_beginTime
.Value;
2257
Debug.Assert(
_beginTime
.HasValue);
2261
if (parentTime <
_beginTime
) // Including special backward progressing case
2522
Debug.Assert(
_beginTime
.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue
2524
previousIterationDuration = _currentIterationBeginTime.Value -
_beginTime
.Value;
2568
if (
_beginTime
.HasValue
2589
|| expirationTime >=
_beginTime
) // OR if activePeriod extends to or beyond _beginTime,
2595
if (expirationTime ==
_beginTime
)
2601
activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(
_beginTime
.Value, expirationTime.Value);
2606
activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(
_beginTime
.Value);
2651
if (!
_beginTime
.HasValue)
2658
Debug.Assert(
_beginTime
.HasValue);
2664
expirationTime =
_beginTime
+ effectiveDuration;
2730
Debug.Assert(
_beginTime
== null);
2808
TimeSpan relativeBeginTime = _currentIterationBeginTime ??
_beginTime
.Value;
2835
TimeSpan relativeBeginTime = _currentIterationBeginTime ??
_beginTime
.Value;
2953
Debug.Assert(
_beginTime
.HasValue);
3002
Debug.Assert(
_beginTime
.HasValue);
3024
TimeSpan timeUntilBegin = MultiplyTimeSpan(
_beginTime
.Value - parentTime, invertedParentSpeed);
3178
if (
_beginTime
.HasValue && currentParentTimePT >=
_beginTime
.Value)
3180
TimeSpan relativeBeginTimePT = _currentIterationBeginTime ??
_beginTime
.Value;
3410
current._currentIterationBeginTime = current.
_beginTime
; // ...reset its current iteration as well
3990
_syncClockBeginTime = _syncClock.
_beginTime
;