64 references to HasTimeSpan
PresentationCore (63)
System\Windows\Duration.cs (18)
74if (t1.HasTimeSpan && t2.HasTimeSpan) 102if (t1.HasTimeSpan && t2.HasTimeSpan) 107&& t2.HasTimeSpan) 162if (t1.HasTimeSpan && t2.HasTimeSpan) 166else if (t1.HasTimeSpan && t2._durationType == DurationType.Forever) 171else if (t1._durationType == DurationType.Forever && t2.HasTimeSpan) 223if (t1.HasTimeSpan && t2.HasTimeSpan) 227else if (t1.HasTimeSpan && t2._durationType == DurationType.Forever) 232else if (t1._durationType == DurationType.Forever && t2.HasTimeSpan) 399if (HasTimeSpan) 453if (HasTimeSpan) 455if (duration.HasTimeSpan) 487if (HasTimeSpan) 513if (HasTimeSpan)
System\Windows\DurationConverter.cs (1)
115if (durationValue.HasTimeSpan)
System\Windows\Media\Animation\Clock.cs (12)
620if (!_resolvedDuration.HasTimeSpan || _resolvedDuration.TimeSpan > TimeSpan.Zero) 1972if (_currentDuration.HasTimeSpan) // For finite duration, use modulo arithmetic to compute current iteration 2206Debug.Assert(_resolvedDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _resolvedDuration has a value."); // We must have a computed duration 2207Debug.Assert(_currentDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _currentDuration has a value."); 2356if (_currentDuration.HasTimeSpan) // Finite duration, need to apply accel/decel 2496if (_currentDuration.HasTimeSpan && _currentDuration.TimeSpan == TimeSpan.Zero) 2513Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan."); 2526Debug.Assert(_resolvedDuration.HasTimeSpan, "_resolvedDuration is invalid, neither Forever nor a TimeSpan."); 2527Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan."); 3224if (syncClockDuration.HasTimeSpan) 3347else if (syncDuration.HasTimeSpan && syncTimeST >= syncDuration.TimeSpan) 4027if (!_syncClockResolvedDuration.HasTimeSpan)
System\Windows\Media\Animation\ClockController.cs (2)
177if (!duration.HasTimeSpan) 219if (!duration.HasTimeSpan)
System\Windows\Media\Animation\ClockGroup.cs (1)
144if ((!duration.HasTimeSpan || duration.TimeSpan > TimeSpan.Zero)
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
636if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
636if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
636if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
636if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
636if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
728if (duration.HasTimeSpan)
System\Windows\Media\Animation\TimeIntervalCollection.cs (8)
867|| !period.HasTimeSpan // We have an indefinite period, e.g. we are not periodic 993|| !period.HasTimeSpan // We have an indefinite period, e.g. we are not periodic 1042Debug.Assert(!period.HasTimeSpan || period.TimeSpan > TimeSpan.Zero || beginTime == endTime); // Check the consistency of degenerate case where simple duration is zero; expiration time should equal beginTime 1055if (period.HasTimeSpan) // Case of finite simple duration; in the infinite case we are already done 1168Debug.Assert(!period.HasTimeSpan || period.TimeSpan > TimeSpan.Zero || (endTime.HasValue && beginTime == endTime)); // Check the consistency of degenerate case where simple duration is zero; expiration time should equal beginTime 1178|| (endTime.HasValue && fillDuration.HasTimeSpan // ...the active and fill periods don't stretch forever, and... 1191bool includeFillPeriod = !fillDuration.HasTimeSpan || fillDuration.TimeSpan > TimeSpan.Zero; // This variable represents whether we have a non-zero fill zone 1193if (period.HasTimeSpan) // We have a finite TimeSpan period and non-zero activation duration
PresentationFramework (1)
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
727if (duration.HasTimeSpan)