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