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,
2697
_beginTime
= null;
3262
_beginTime
+= timeIntoSyncPeriodPT;
3376
_beginTime
+= parentTimeSlipPT;
3404
current.
_beginTime
= current._timeline.BeginTime; // _beginTime could have slipped with media nodes
3627
_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
1953
:
_beginTime
.Value;
2258
Debug.Assert(
_beginTime
.HasValue);
2262
if (parentTime <
_beginTime
) // Including special backward progressing case
2523
Debug.Assert(
_beginTime
.HasValue); // _currentIterationBeginTime.HasValue implies _beginTime.HasValue
2525
previousIterationDuration = _currentIterationBeginTime.Value -
_beginTime
.Value;
2569
if (
_beginTime
.HasValue
2590
|| expirationTime >=
_beginTime
) // OR if activePeriod extends to or beyond _beginTime,
2596
if (expirationTime ==
_beginTime
)
2602
activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(
_beginTime
.Value, expirationTime.Value);
2607
activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(
_beginTime
.Value);
2652
if (!
_beginTime
.HasValue)
2659
Debug.Assert(
_beginTime
.HasValue);
2665
expirationTime =
_beginTime
+ effectiveDuration;
2731
Debug.Assert(
_beginTime
== null);
2809
TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value :
_beginTime
.Value;
2836
TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value :
_beginTime
.Value;
2954
Debug.Assert(
_beginTime
.HasValue);
3003
Debug.Assert(
_beginTime
.HasValue);
3025
TimeSpan timeUntilBegin = MultiplyTimeSpan(
_beginTime
.Value - parentTime, invertedParentSpeed);
3179
if (
_beginTime
.HasValue && currentParentTimePT >=
_beginTime
.Value)
3181
TimeSpan relativeBeginTimePT = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value :
_beginTime
.Value;
3411
current._currentIterationBeginTime = current.
_beginTime
; // ...reset its current iteration as well
3999
_syncClockBeginTime = _syncClock.
_beginTime
;