5 writes to _currentClockState
PresentationCore (5)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (5)
131
_currentClockState
= ClockState.Stopped;
1184
_currentClockState
= ClockState.Stopped;
1303
_currentClockState
= value;
2307
_currentClockState
= ClockState.Active;
3743
_currentClockState
= ClockState.Filling;
31 references to _currentClockState
PresentationCore (31)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (31)
267
return
_currentClockState
;
719
ClockState lastClockState =
_currentClockState
;
730
if (lastClockState !=
_currentClockState
)
1126
if (
_currentClockState
== ClockState.Stopped) // If our state changed to stopped
1298
return
_currentClockState
;
1958
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
1959
Debug.Assert(
_currentClockState
!= ClockState.Stopped);
1979
Debug.Assert(
_currentClockState
!= ClockState.Active);
2059
if (
_currentClockState
== ClockState.Filling && repeatBehavior.HasCount && !_currentIterationBeginTime.HasValue)
2116
&& (
_currentClockState
== ClockState.Filling || _parent.IsBackwardsProgressingGlobal))
2157
if (
_currentClockState
== ClockState.Active && parentSpeed != 0 && !NeedsTicksWhenActive)
2188
Debug.Assert(
_currentClockState
== ClockState.Active
2189
|| (
_currentClockState
== ClockState.Filling
2236
if (
_currentClockState
== ClockState.Filling && expirationTime.HasValue && _currentIterationBeginTime >= expirationTime)
2273
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
2311
if (parentSpeed != 0 &&
_currentClockState
== ClockState.Active && NeedsTicksWhenActive)
2325
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
2326
Debug.Assert(
_currentClockState
== ClockState.Active); // Must be active at this point
2355
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
2356
Debug.Assert(
_currentClockState
!= ClockState.Stopped);
2393
if (
_currentClockState
== ClockState.Active
2394
&& _parent.
_currentClockState
== ClockState.Active)
2417
if (
_currentClockState
== ClockState.Active
2418
&& _parent.
_currentClockState
== ClockState.Active)
2439
return (
_currentClockState
!= ClockState.Active); // Proceed to calculate global speed if we are active
2728
if (current.
_currentClockState
!= ClockState.Stopped)
2747
Debug.Assert(
_currentClockState
== ClockState.Stopped);
2796
if (
_currentClockState
!= ClockState.Filling)
3017
Debug.Assert(_parent.
_currentClockState
!= ClockState.Stopped);
3145
if (_parent.
_currentClockState
!= ClockState.Stopped) // We have a parent that is active or filling
3153
if (
_currentClockState
!= ClockState.Stopped)