3 types derived from Clock
PresentationCore (3)
System\Windows\Media\Animation\AnimationClock.cs (1)
11public class AnimationClock : Clock
System\Windows\Media\Animation\ClockGroup.cs (1)
11public class ClockGroup : Clock
System\Windows\Media\mediaclock.cs (1)
19Clock
1 instantiation of Clock
PresentationCore (1)
System\Windows\Media\Animation\Timeline.cs (1)
627return new Clock(this);
146 references to Clock
PresentationCore (121)
System\Windows\Media\Animation\AnimationTimeline.cs (2)
71protected internal override Clock AllocateClock() 128protected override Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Clock.cs (26)
322public Clock Parent 534Clock current = this; 566internal static Clock AllocateClock( 570Clock clock = timeline.AllocateClock(); 620Clock current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified 643internal static Clock BuildClockTreeFromTimeline( 647Clock rootClock = AllocateClock(rootTimeline, hasControllableRoot); 1263internal virtual Clock FirstChild 1409internal Clock NextSibling 1416List<Clock> parentChildren = _parent.InternalChildren; 2710Clock current = subtree.Current; 3392Clock current = subtree.Current; 3603Clock current = subtree.Current; 3692Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3799Clock current = subtree.Current; 3975internal SyncData(Clock syncClock) 3995internal Clock SyncClock 4074private Clock _syncClock; 4230Clock clock = (Clock)weakRef.Target; 4274List<Clock> children = thisGroup.InternalChildren; 4303Clock child = (Clock)children[index].Target; 4340internal static Clock Find(int id) 4342Clock clock = null; 4350clock = (Clock)weakRef.Target;
System\Windows\Media\Animation\ClockController.cs (3)
18private Clock _owner; 30internal ClockController(Clock owner) 259public Clock Clock
System\Windows\Media\Animation\ClockGroup.cs (23)
60internal List<Clock> InternalChildren 102Clock childClock; 105_children = new List<Clock>(); 133Clock child = _children[index]; 160internal override Clock FirstChild 166Clock firstChild = null; 168List<Clock> children = _children; 189WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 193Clock currentClock = enumerator.Current; 215WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 222Clock current = prefixEnumerator.Current; 253WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 257Clock current = enumerator.Current; 352Clock current = _children[childIndex]; 438Clock child = _children[c]; 476WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 511WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 611private List<Clock> _children;
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
424protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
423protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
423protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
423protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
458protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
458protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
458protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
423protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
458protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
457protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\ParallelTimeline.cs (2)
84protected override Duration GetNaturalDurationCore(Clock clock) 92List<Clock> children = clockGroup.InternalChildren;
System\Windows\Media\Animation\Subtree.cs (10)
35internal PrefixSubtreeEnumerator(Clock root, bool processRoot) 99Clock nextClock = currentClockGroup?.FirstChild; 144internal Clock Current 156private Clock _rootClock; 157private Clock _currentClock; 171internal PostfixSubtreeEnumerator(Clock root, bool processRoot) 206Clock nextClock = _currentClock; 247internal Clock Current 259private Clock _rootClock; 260private Clock _currentClock;
System\Windows\Media\Animation\Timeline.cs (6)
625protected internal virtual Clock AllocateClock() 643public Clock CreateClock() 664public Clock CreateClock(bool hasControllableRoot) 667return Clock.BuildClockTreeFromTimeline(this, hasControllableRoot); 684internal protected Duration GetNaturalDuration(Clock clock) 700protected virtual Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\TimelineClockCollection.cs (21)
10public class ClockCollection : ICollection<Clock> 32List<Clock> childList = clockGroup.InternalChildren; 71public void Add(Clock item) 81public bool Remove(Clock item) 91public bool Contains(Clock item) 95foreach (Clock t in this) 116public void CopyTo(Clock[] array, int index) 124List<Clock> list = clockGroup.InternalChildren; 147IEnumerator<Clock> IEnumerable<Clock>.GetEnumerator() 151List<Clock> list = null; 269public Clock this[int index] 275List<Clock> list = null; 303internal struct ClockEnumerator : IEnumerator<Clock> 313internal ClockEnumerator(Clock owner) 341Clock IEnumerator<Clock>.Current 355return ((IEnumerator<Clock>)this).Current; 399private Clock _owner; 416internal ClockCollection(Clock owner) 434private Clock _owner;
System\Windows\Media\Animation\TimelineGroup.cs (1)
77protected internal override Clock AllocateClock()
System\Windows\Media\Animation\TimeManager.cs (4)
346System.Windows.Media.Animation.Clock.CleanKnownClocksTable(); 530internal void AddToEventQueue(Clock sender) 617Clock clock = (Clock)instance.Target;
System\Windows\Media\MediaTimeline.cs (2)
122protected internal override Clock AllocateClock() 224protected override Duration GetNaturalDurationCore(Clock clock)
PresentationFramework (25)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
169case 75: t = () => typeof(Clock); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2676typeof(System.Windows.Media.Animation.Clock),
System\Windows\Markup\KnownTypes.cs (1)
5623case 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)
372Clock currentClock, /* No two calls will have the same currentClock */ 1253Clock storyboardClockTree = CreateClock(isControllable); 1323Clock clock = GetStoryboardClock(containingObject); 1372Clock clock = GetStoryboardClock(containingObject); 1420Clock clock = GetStoryboardClock(containingObject); 1459Clock clock = GetStoryboardClock(containingObject); 1508Clock clock = GetStoryboardClock(containingObject); 1548Clock clock = GetStoryboardClock(containingObject); 1588Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Pause); 1628Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Remove); 1676Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Resume); 1732Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Seek); 1780Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SeekAlignedToLastTick); 1818Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SetSpeedRatio); 1855Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SkipToFill); 1889Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Stop); 1919private Clock GetStoryboardClock(DependencyObject o) 1932private Clock GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation) 1934Clock clock = null; 1968clock = clockReference.Target as Clock; 1994private void SetStoryboardClock(DependencyObject o, Clock clock)