3 types derived from Clock
PresentationCore (3)
Core\CSharp\System\Windows\Media\Animation\AnimationClock.cs (1)
8public class AnimationClock : Clock
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (1)
18public class ClockGroup : Clock
Core\CSharp\System\Windows\Media\MediaClock.cs (1)
37Clock
1 instantiation of Clock
PresentationCore (1)
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (1)
639return new Clock(this);
137 references to Clock
PresentationCore (112)
Core\CSharp\System\Windows\Media\Animation\AnimationTimeline.cs (2)
76protected internal override Clock AllocateClock() 133protected override Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (18)
337public Clock Parent 549Clock current = this; 581internal static Clock AllocateClock( 585Clock clock = timeline.AllocateClock(); 635Clock current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified 658internal static Clock BuildClockTreeFromTimeline( 662Clock rootClock = AllocateClock(rootTimeline, hasControllableRoot); 1279internal virtual Clock FirstChild 1425internal Clock NextSibling 1432List<Clock> parentChildren = _parent.InternalChildren; 2726Clock current = subtree.Current; 3414Clock current = subtree.Current; 3625Clock current = subtree.Current; 3714Clock current = _parent; // Propagate the fact that we will need an update sooner up the chain 3824Clock current = subtree.Current; 4004internal SyncData(Clock syncClock) 4024internal Clock SyncClock 4103private Clock _syncClock;
Core\CSharp\System\Windows\Media\Animation\ClockController.cs (3)
33private Clock _owner; 45internal ClockController(Clock owner) 274public Clock Clock
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (23)
67internal List<Clock> InternalChildren 109Clock childClock; 112_children = new List<Clock>(); 140Clock child = _children[index]; 167internal override Clock FirstChild 173Clock firstChild = null; 175List<Clock> children = _children; 196WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 200Clock currentClock = enumerator.Current; 222WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 229Clock current = prefixEnumerator.Current; 260WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 264Clock current = enumerator.Current; 359Clock current = _children[childIndex]; 445Clock child = _children[c]; 483WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 518WeakRefEnumerator<Clock> enumerator = new WeakRefEnumerator<Clock>(_rootChildren); 618private List<Clock> _children;
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
447protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
447protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
447protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
447protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
447protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\ParallelTimeline.cs (2)
90protected override Duration GetNaturalDurationCore(Clock clock) 98List<Clock> children = clockGroup.InternalChildren;
Core\CSharp\System\Windows\Media\Animation\Subtree.cs (10)
44internal PrefixSubtreeEnumerator(Clock root, bool processRoot) 108Clock nextClock = (currentClockGroup == null) ? null : currentClockGroup.FirstChild; 153internal Clock Current 165private Clock _rootClock; 166private Clock _currentClock; 180internal PostfixSubtreeEnumerator(Clock root, bool processRoot) 215Clock nextClock = _currentClock; 257internal Clock Current 269private Clock _rootClock; 270private Clock _currentClock;
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (6)
637protected internal virtual Clock AllocateClock() 655public Clock CreateClock() 676public Clock CreateClock(bool hasControllableRoot) 679return Clock.BuildClockTreeFromTimeline(this, hasControllableRoot); 696internal protected Duration GetNaturalDuration(Clock clock) 712protected virtual Duration GetNaturalDurationCore(Clock clock)
Core\CSharp\System\Windows\Media\Animation\TimelineClockCollection.cs (21)
17public class ClockCollection : ICollection<Clock> 39List<Clock> childList = clockGroup.InternalChildren; 78public void Add(Clock item) 88public bool Remove(Clock item) 98public 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> 329internal ClockEnumerator(Clock owner) 357Clock IEnumerator<Clock>.Current 371return ((IEnumerator<Clock>)this).Current; 415private Clock _owner; 432internal ClockCollection(Clock owner) 450private Clock _owner;
Core\CSharp\System\Windows\Media\Animation\TimelineGroup.cs (1)
85protected internal override Clock AllocateClock()
Core\CSharp\System\Windows\Media\Animation\TimeManager.cs (3)
549internal void AddToEventQueue(Clock sender) 636Clock clock = (Clock)instance.Target;
Core\CSharp\System\Windows\Media\MediaTimeline.cs (2)
138protected internal override Clock AllocateClock() 240protected override Duration GetNaturalDurationCore(Clock clock)
PresentationFramework (25)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
167case 75: t = () => typeof(Clock); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2558typeof(System.Windows.Media.Animation.Clock),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5619case KnownElements.Clock: t = typeof(System.Windows.Media.Animation.Clock); break;
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
480protected override sealed Duration GetNaturalDurationCore(Clock clock)
src\Framework\System\Windows\Media\Animation\Storyboard.cs (21)
372Clock currentClock, /* No two calls will have the same currentClock */ 1257Clock storyboardClockTree = CreateClock(isControllable); 1327Clock clock = GetStoryboardClock(containingObject); 1376Clock clock = GetStoryboardClock(containingObject); 1424Clock clock = GetStoryboardClock(containingObject); 1463Clock clock = GetStoryboardClock(containingObject); 1512Clock clock = GetStoryboardClock(containingObject); 1552Clock clock = GetStoryboardClock(containingObject); 1592Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Pause); 1635Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Remove); 1686Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Resume); 1745Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Seek); 1796Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SeekAlignedToLastTick); 1837Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SetSpeedRatio); 1874Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SkipToFill); 1911Clock clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Stop); 1944private Clock GetStoryboardClock(DependencyObject o) 1957private Clock GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation) 1959Clock clock = null; 1993clock = clockReference.Target as Clock; 2019private void SetStoryboardClock(DependencyObject o, Clock clock)