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; 2711Clock current = subtree.Current; 3393Clock current = subtree.Current; 3604Clock current = subtree.Current; 3693Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3803Clock current = subtree.Current; 3984internal SyncData(Clock syncClock) 4004internal Clock SyncClock 4083private Clock _syncClock; 4237Clock clock = (Clock)weakRef.Target; 4281List<Clock> children = thisGroup.InternalChildren; 4310Clock child = (Clock)children[index].Target; 4350internal static Clock Find(int id) 4352Clock clock = null; 4360clock = (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 == null) ? null : 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)
12public class ClockCollection : ICollection<Clock> 34List<Clock> childList = clockGroup.InternalChildren; 73public void Add(Clock item) 83public bool Remove(Clock item) 93public bool Contains(Clock item) 97foreach (Clock t in this) 118public void CopyTo(Clock[] array, int index) 126List<Clock> list = clockGroup.InternalChildren; 152IEnumerator<Clock> IEnumerable<Clock>.GetEnumerator() 156List<Clock> list = null; 276public Clock this[int index] 282List<Clock> list = null; 310internal struct ClockEnumerator : IEnumerator<Clock> 320internal ClockEnumerator(Clock owner) 348Clock IEnumerator<Clock>.Current 362return ((IEnumerator<Clock>)this).Current; 406private Clock _owner; 423internal ClockCollection(Clock owner) 441private 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)
2560typeof(System.Windows.Media.Animation.Clock),
System\Windows\Markup\KnownTypes.cs (1)
5629case 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)
370Clock currentClock, /* No two calls will have the same currentClock */ 1251Clock storyboardClockTree = CreateClock(isControllable); 1321Clock clock = GetStoryboardClock(containingObject); 1370Clock clock = GetStoryboardClock(containingObject); 1418Clock clock = GetStoryboardClock(containingObject); 1457Clock clock = GetStoryboardClock(containingObject); 1506Clock clock = GetStoryboardClock(containingObject); 1546Clock clock = GetStoryboardClock(containingObject); 1586Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Pause); 1629Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Remove); 1680Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Resume); 1739Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Seek); 1790Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SeekAlignedToLastTick); 1831Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SetSpeedRatio); 1868Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SkipToFill); 1905Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Stop); 1938private Clock GetStoryboardClock(DependencyObject o) 1951private Clock GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation) 1953Clock clock = null; 1987clock = clockReference.Target as Clock; 2013private void SetStoryboardClock(DependencyObject o, Clock clock)