3 types derived from Clock
PresentationCore (3)
System\Windows\Media\Animation\AnimationClock.cs (1)
10public class AnimationClock : Clock
System\Windows\Media\Animation\ClockGroup.cs (1)
10public class ClockGroup : Clock
System\Windows\Media\mediaclock.cs (1)
18Clock
1 instantiation of Clock
PresentationCore (1)
System\Windows\Media\Animation\Timeline.cs (1)
626return new Clock(this);
146 references to Clock
PresentationCore (121)
System\Windows\Media\Animation\AnimationTimeline.cs (2)
70protected internal override Clock AllocateClock() 127protected override Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Clock.cs (26)
321public Clock Parent 533Clock current = this; 565internal static Clock AllocateClock( 569Clock clock = timeline.AllocateClock(); 619Clock current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified 642internal static Clock BuildClockTreeFromTimeline( 646Clock rootClock = AllocateClock(rootTimeline, hasControllableRoot); 1262internal virtual Clock FirstChild 1408internal Clock NextSibling 1415List<Clock> parentChildren = _parent.InternalChildren; 2709Clock current = subtree.Current; 3391Clock current = subtree.Current; 3602Clock current = subtree.Current; 3691Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3798Clock current = subtree.Current; 3974internal SyncData(Clock syncClock) 3994internal Clock SyncClock 4073private Clock _syncClock; 4229Clock clock = (Clock)weakRef.Target; 4273List<Clock> children = thisGroup.InternalChildren; 4302Clock child = (Clock)children[index].Target; 4339internal static Clock Find(int id) 4341Clock clock = null; 4349clock = (Clock)weakRef.Target;
System\Windows\Media\Animation\ClockController.cs (3)
17private Clock _owner; 29internal ClockController(Clock owner) 258public Clock Clock
System\Windows\Media\Animation\ClockGroup.cs (23)
59internal List<Clock> InternalChildren 101Clock childClock; 104_children = new List<Clock>(); 132Clock child = _children[index]; 159internal override Clock FirstChild 165Clock firstChild = null; 167List<Clock> children = _children; 188WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 192Clock currentClock = enumerator.Current; 214WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 221Clock current = prefixEnumerator.Current; 252WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 256Clock current = enumerator.Current; 351Clock current = _children[childIndex]; 437Clock child = _children[c]; 475WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 510WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 610private List<Clock> _children;
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
428protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
428protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
428protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
428protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
428protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\ParallelTimeline.cs (2)
83protected override Duration GetNaturalDurationCore(Clock clock) 91List<Clock> children = clockGroup.InternalChildren;
System\Windows\Media\Animation\Subtree.cs (10)
34internal PrefixSubtreeEnumerator(Clock root, bool processRoot) 98Clock nextClock = currentClockGroup?.FirstChild; 143internal Clock Current 155private Clock _rootClock; 156private Clock _currentClock; 170internal PostfixSubtreeEnumerator(Clock root, bool processRoot) 205Clock nextClock = _currentClock; 246internal Clock Current 258private Clock _rootClock; 259private Clock _currentClock;
System\Windows\Media\Animation\Timeline.cs (6)
624protected internal virtual Clock AllocateClock() 642public Clock CreateClock() 663public Clock CreateClock(bool hasControllableRoot) 666return Clock.BuildClockTreeFromTimeline(this, hasControllableRoot); 683protected internal Duration GetNaturalDuration(Clock clock) 699protected virtual Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\TimelineClockCollection.cs (21)
9public class ClockCollection : ICollection<Clock> 31List<Clock> childList = clockGroup.InternalChildren; 70public void Add(Clock item) 80public bool Remove(Clock item) 90public bool Contains(Clock item) 94foreach (Clock t in this) 115public void CopyTo(Clock[] array, int index) 123List<Clock> list = clockGroup.InternalChildren; 146IEnumerator<Clock> IEnumerable<Clock>.GetEnumerator() 150List<Clock> list = null; 268public Clock this[int index] 274List<Clock> list = null; 302internal struct ClockEnumerator : IEnumerator<Clock> 312internal ClockEnumerator(Clock owner) 340Clock IEnumerator<Clock>.Current 354return ((IEnumerator<Clock>)this).Current; 398private Clock _owner; 415internal ClockCollection(Clock owner) 433private Clock _owner;
System\Windows\Media\Animation\TimelineGroup.cs (1)
76protected internal override Clock AllocateClock()
System\Windows\Media\Animation\TimeManager.cs (4)
345System.Windows.Media.Animation.Clock.CleanKnownClocksTable(); 529internal void AddToEventQueue(Clock sender) 616Clock clock = (Clock)instance.Target;
System\Windows\Media\MediaTimeline.cs (2)
121protected internal override Clock AllocateClock() 223protected override Duration GetNaturalDurationCore(Clock clock)
PresentationFramework (25)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
168case 75: t = () => typeof(Clock); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2675typeof(System.Windows.Media.Animation.Clock),
System\Windows\Markup\KnownTypes.cs (1)
5622case KnownElements.Clock: t = typeof(System.Windows.Media.Animation.Clock); break;
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
461protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Storyboard.cs (21)
371Clock currentClock, /* No two calls will have the same currentClock */ 1252Clock storyboardClockTree = CreateClock(isControllable); 1322Clock clock = GetStoryboardClock(containingObject); 1371Clock clock = GetStoryboardClock(containingObject); 1419Clock clock = GetStoryboardClock(containingObject); 1458Clock clock = GetStoryboardClock(containingObject); 1507Clock clock = GetStoryboardClock(containingObject); 1547Clock clock = GetStoryboardClock(containingObject); 1587Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Pause); 1627Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Remove); 1675Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Resume); 1731Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Seek); 1779Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SeekAlignedToLastTick); 1817Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SetSpeedRatio); 1854Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SkipToFill); 1888Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Stop); 1918private Clock GetStoryboardClock(DependencyObject o) 1931private Clock GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation) 1933Clock clock = null; 1967clock = clockReference.Target as Clock; 1993private void SetStoryboardClock(DependencyObject o, Clock clock)