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)
16public class ClockGroup : Clock
System\Windows\Media\mediaclock.cs (1)
35Clock
1 instantiation of Clock
PresentationCore (1)
System\Windows\Media\Animation\Timeline.cs (1)
637return new Clock(this);
146 references to Clock
PresentationCore (121)
System\Windows\Media\Animation\AnimationTimeline.cs (2)
78protected internal override Clock AllocateClock() 135protected override Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Clock.cs (26)
335public Clock Parent 547Clock current = this; 579internal static Clock AllocateClock( 583Clock clock = timeline.AllocateClock(); 633Clock current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified 656internal static Clock BuildClockTreeFromTimeline( 660Clock rootClock = AllocateClock(rootTimeline, hasControllableRoot); 1276internal virtual Clock FirstChild 1422internal Clock NextSibling 1429List<Clock> parentChildren = _parent.InternalChildren; 2724Clock current = subtree.Current; 3406Clock current = subtree.Current; 3617Clock current = subtree.Current; 3706Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3816Clock current = subtree.Current; 3997internal SyncData(Clock syncClock) 4017internal Clock SyncClock 4096private Clock _syncClock; 4250Clock clock = (Clock)weakRef.Target; 4294List<Clock> children = thisGroup.InternalChildren; 4323Clock child = (Clock)children[index].Target; 4363internal static Clock Find(int id) 4365Clock clock = null; 4373clock = (Clock)weakRef.Target;
System\Windows\Media\Animation\ClockController.cs (3)
31private Clock _owner; 43internal ClockController(Clock owner) 272public Clock Clock
System\Windows\Media\Animation\ClockGroup.cs (23)
65internal List<Clock> InternalChildren 107Clock childClock; 110_children = new List<Clock>(); 138Clock child = _children[index]; 165internal override Clock FirstChild 171Clock firstChild = null; 173List<Clock> children = _children; 194WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 198Clock currentClock = enumerator.Current; 220WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 227Clock current = prefixEnumerator.Current; 258WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 262Clock current = enumerator.Current; 357Clock current = _children[childIndex]; 443Clock child = _children[c]; 481WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 516WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 616private List<Clock> _children;
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
439protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
439protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
439protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
439protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
439protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
472protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\ParallelTimeline.cs (2)
89protected override Duration GetNaturalDurationCore(Clock clock) 97List<Clock> children = clockGroup.InternalChildren;
System\Windows\Media\Animation\Subtree.cs (10)
40internal PrefixSubtreeEnumerator(Clock root, bool processRoot) 104Clock nextClock = (currentClockGroup == null) ? null : currentClockGroup.FirstChild; 149internal Clock Current 161private Clock _rootClock; 162private Clock _currentClock; 176internal PostfixSubtreeEnumerator(Clock root, bool processRoot) 211Clock nextClock = _currentClock; 252internal Clock Current 264private Clock _rootClock; 265private Clock _currentClock;
System\Windows\Media\Animation\Timeline.cs (6)
635protected internal virtual Clock AllocateClock() 653public Clock CreateClock() 674public Clock CreateClock(bool hasControllableRoot) 677return Clock.BuildClockTreeFromTimeline(this, hasControllableRoot); 694internal protected Duration GetNaturalDuration(Clock clock) 710protected virtual Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\TimelineClockCollection.cs (21)
20public class ClockCollection : ICollection<Clock> 42List<Clock> childList = clockGroup.InternalChildren; 81public void Add(Clock item) 91public bool Remove(Clock item) 101public bool Contains(Clock item) 105foreach (Clock t in this) 126public void CopyTo(Clock[] array, int index) 134List<Clock> list = clockGroup.InternalChildren; 160IEnumerator<Clock> IEnumerable<Clock>.GetEnumerator() 164List<Clock> list = null; 284public Clock this[int index] 290List<Clock> list = null; 318internal struct ClockEnumerator : IEnumerator<Clock> 328internal ClockEnumerator(Clock owner) 356Clock IEnumerator<Clock>.Current 370return ((IEnumerator<Clock>)this).Current; 414private Clock _owner; 431internal ClockCollection(Clock owner) 449private Clock _owner;
System\Windows\Media\Animation\TimelineGroup.cs (1)
83protected internal override Clock AllocateClock()
System\Windows\Media\Animation\TimeManager.cs (4)
360System.Windows.Media.Animation.Clock.CleanKnownClocksTable(); 544internal void AddToEventQueue(Clock sender) 631Clock clock = (Clock)instance.Target;
System\Windows\Media\MediaTimeline.cs (2)
137protected internal override Clock AllocateClock() 239protected override Duration GetNaturalDurationCore(Clock clock)
PresentationFramework (25)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
171case 75: t = () => typeof(Clock); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2562typeof(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)
471protected override sealed Duration GetNaturalDurationCore(Clock clock)
System\Windows\Media\Animation\Storyboard.cs (21)
373Clock currentClock, /* No two calls will have the same currentClock */ 1254Clock storyboardClockTree = CreateClock(isControllable); 1324Clock clock = GetStoryboardClock(containingObject); 1373Clock clock = GetStoryboardClock(containingObject); 1421Clock clock = GetStoryboardClock(containingObject); 1460Clock clock = GetStoryboardClock(containingObject); 1509Clock clock = GetStoryboardClock(containingObject); 1549Clock clock = GetStoryboardClock(containingObject); 1589Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Pause); 1632Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Remove); 1683Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Resume); 1742Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Seek); 1793Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SeekAlignedToLastTick); 1834Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SetSpeedRatio); 1871Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SkipToFill); 1908Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Stop); 1941private Clock GetStoryboardClock(DependencyObject o) 1954private Clock GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation) 1956Clock clock = null; 1990clock = clockReference.Target as Clock; 2016private void SetStoryboardClock(DependencyObject o, Clock clock)