118 references to ClockState
PresentationCore (108)
System\Windows\Media\Animation\AnimationLayer.cs (3)
66
&& newAnimationClocks[0].CurrentState ==
ClockState
.Stopped)
231
&& _animationClocks[0].CurrentState ==
ClockState
.Stopped)
267
if (clock.CurrentState !=
ClockState
.Stopped)
System\Windows\Media\Animation\AnimationStorage.cs (3)
626
if (animationClocks[0].CurrentState ==
ClockState
.Stopped)
908
&& storage._animationClocks[0].CurrentState ==
ClockState
.Stopped)
975
if (clocks[i].CurrentState !=
ClockState
.Stopped)
System\Windows\Media\Animation\Clock.cs (38)
115
_currentClockState =
ClockState
.Stopped;
245
public
ClockState
CurrentState
703
ClockState
lastClockState = _currentClockState;
1109
if (_currentClockState ==
ClockState
.Stopped) // If our state changed to stopped
1167
_currentClockState =
ClockState
.Stopped;
1274
internal
ClockState
InternalCurrentClockState
1938
Debug.Assert(_parent._currentClockState !=
ClockState
.Stopped);
1939
Debug.Assert(_currentClockState !=
ClockState
.Stopped);
1958
Debug.Assert(_currentClockState !=
ClockState
.Active);
2038
if (_currentClockState ==
ClockState
.Filling && repeatBehavior.HasCount && !_currentIterationBeginTime.HasValue)
2095
&& (_currentClockState ==
ClockState
.Filling || _parent.IsBackwardsProgressingGlobal))
2136
if (_currentClockState ==
ClockState
.Active && parentSpeed != 0 && !NeedsTicksWhenActive)
2167
Debug.Assert(_currentClockState ==
ClockState
.Active
2168
|| (_currentClockState ==
ClockState
.Filling
2215
if (_currentClockState ==
ClockState
.Filling && expirationTime.HasValue && _currentIterationBeginTime >= expirationTime)
2252
Debug.Assert(_parent._currentClockState !=
ClockState
.Stopped);
2286
_currentClockState =
ClockState
.Active;
2290
if (parentSpeed != 0 && _currentClockState ==
ClockState
.Active && NeedsTicksWhenActive)
2304
Debug.Assert(_parent._currentClockState !=
ClockState
.Stopped);
2305
Debug.Assert(_currentClockState ==
ClockState
.Active); // Must be active at this point
2334
Debug.Assert(_parent._currentClockState !=
ClockState
.Stopped);
2335
Debug.Assert(_currentClockState !=
ClockState
.Stopped);
2372
if (_currentClockState ==
ClockState
.Active
2373
&& _parent._currentClockState ==
ClockState
.Active)
2396
if (_currentClockState ==
ClockState
.Active
2397
&& _parent._currentClockState ==
ClockState
.Active)
2418
return (_currentClockState !=
ClockState
.Active); // Proceed to calculate global speed if we are active
2708
if (current._currentClockState !=
ClockState
.Stopped)
2727
Debug.Assert(_currentClockState ==
ClockState
.Stopped);
2776
if (_currentClockState !=
ClockState
.Filling)
2896
if (_syncData != null && _syncData.IsInSyncPeriod && _parent.CurrentState !=
ClockState
.Stopped) // We are already in a slip zone
2922
if (_syncData != null && !_syncData.IsInSyncPeriod && _parent.CurrentState !=
ClockState
.Stopped &&
2994
Debug.Assert(_parent._currentClockState !=
ClockState
.Stopped);
3119
if (_parent._currentClockState !=
ClockState
.Stopped) // We have a parent that is active or filling
3127
if (_currentClockState !=
ClockState
.Stopped)
3152
Debug.Assert(_parent.CurrentState !=
ClockState
.Stopped);
3711
_currentClockState =
ClockState
.Filling;
4399
private
ClockState
_currentClockState; // Precalculated current clock state
System\Windows\Media\Animation\ClockGroup.cs (3)
194
if (currentClock != null && currentClock.CurrentState ==
ClockState
.Active)
422
InternalCurrentClockState =
ClockState
.Active;
518
if (subtree.Current.InternalCurrentClockState !=
ClockState
.Stopped)
System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (1)
163
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\BooleanAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\ByteAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\ByteAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\CharAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\ColorAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\DecimalAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\DecimalAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\DoubleAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\DoubleAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Int16Animation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Int16AnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Int32Animation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Int32AnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Int64Animation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Int64AnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\MatrixAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\ObjectAnimationBase.cs (1)
81
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Point3DAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Point3DAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\PointAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\PointAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\RectAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\RectAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Rotation3DAnimationBase.cs (1)
132
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\SingleAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\SingleAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\SizeAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\SizeAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\StringAnimationBase.cs (1)
132
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\Vector3DAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\VectorAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\VectorAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (1)
242
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\PointAnimationUsingPath.cs (1)
134
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
PresentationFramework (10)
System\windows\Documents\CaretElement.cs (2)
591
if (_blinkAnimationClock.CurrentState ==
ClockState
.Active)
933
if (visible && (!(_blinkAnimationClock.CurrentState ==
ClockState
.Active) || positionChanged))
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (1)
207
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (1)
135
if (animationClock.CurrentState ==
ClockState
.Stopped)
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
317
Debug.Assert(animationClock.CurrentState !=
ClockState
.Stopped);
System\Windows\Media\Animation\Storyboard.cs (5)
1433
public
ClockState
GetCurrentState( FrameworkElement containingObject )
1442
public
ClockState
GetCurrentState( FrameworkContentElement containingObject )
1451
public
ClockState
GetCurrentState()
1456
private
ClockState
GetCurrentStateImpl( DependencyObject containingObject )
1465
return
ClockState
.Stopped; // Not default(ClockState)...