3 types derived from Clock
PresentationCore (3)
System\Windows\Media\Animation\AnimationClock.cs (1)
11
public class AnimationClock :
Clock
System\Windows\Media\Animation\ClockGroup.cs (1)
11
public class ClockGroup :
Clock
System\Windows\Media\mediaclock.cs (1)
19
Clock
1 instantiation of Clock
PresentationCore (1)
System\Windows\Media\Animation\Timeline.cs (1)
627
return new
Clock
(this);
146 references to Clock
PresentationCore (121)
System\Windows\Media\Animation\AnimationTimeline.cs (2)
71
protected internal override
Clock
AllocateClock()
128
protected override Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Clock.cs (26)
322
public
Clock
Parent
534
Clock
current = this;
566
internal static
Clock
AllocateClock(
570
Clock
clock = timeline.AllocateClock();
620
Clock
current = _parent; // Traverse up the parent chain and verify that no unsupported behavior is specified
643
internal static
Clock
BuildClockTreeFromTimeline(
647
Clock
rootClock = AllocateClock(rootTimeline, hasControllableRoot);
1263
internal virtual
Clock
FirstChild
1409
internal
Clock
NextSibling
1416
List<
Clock
> parentChildren = _parent.InternalChildren;
2711
Clock
current = subtree.Current;
3393
Clock
current = subtree.Current;
3604
Clock
current = subtree.Current;
3693
Clock
current = _parent; // Propagate the fact that we will need an update sooner up the chain
3803
Clock
current = subtree.Current;
3984
internal SyncData(
Clock
syncClock)
4004
internal
Clock
SyncClock
4083
private
Clock
_syncClock;
4237
Clock
clock = (
Clock
)weakRef.Target;
4281
List<
Clock
> children = thisGroup.InternalChildren;
4310
Clock
child = (
Clock
)children[index].Target;
4350
internal static
Clock
Find(int id)
4352
Clock
clock = null;
4360
clock = (
Clock
)weakRef.Target;
System\Windows\Media\Animation\ClockController.cs (3)
18
private
Clock
_owner;
30
internal ClockController(
Clock
owner)
259
public
Clock
Clock
System\Windows\Media\Animation\ClockGroup.cs (23)
60
internal List<
Clock
> InternalChildren
102
Clock
childClock;
105
_children = new List<
Clock
>();
133
Clock
child = _children[index];
160
internal override
Clock
FirstChild
166
Clock
firstChild = null;
168
List<
Clock
> children = _children;
189
WeakRefEnumerator<
Clock
> enumerator = new WeakRefEnumerator<
Clock
>(_rootChildren);
193
Clock
currentClock = enumerator.Current;
215
WeakRefEnumerator<
Clock
> enumerator = new WeakRefEnumerator<
Clock
>(_rootChildren);
222
Clock
current = prefixEnumerator.Current;
253
WeakRefEnumerator<
Clock
> enumerator = new WeakRefEnumerator<
Clock
>(_rootChildren);
257
Clock
current = enumerator.Current;
352
Clock
current = _children[childIndex];
438
Clock
child = _children[c];
476
WeakRefEnumerator<
Clock
> enumerator = new WeakRefEnumerator<
Clock
>(_rootChildren);
511
WeakRefEnumerator<
Clock
> enumerator = new WeakRefEnumerator<
Clock
>(_rootChildren);
611
private List<
Clock
> _children;
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
424
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
423
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
423
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
423
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
458
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
458
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
458
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
423
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
458
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
457
protected override sealed Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\ParallelTimeline.cs (2)
84
protected override Duration GetNaturalDurationCore(
Clock
clock)
92
List<
Clock
> children = clockGroup.InternalChildren;
System\Windows\Media\Animation\Subtree.cs (10)
35
internal PrefixSubtreeEnumerator(
Clock
root, bool processRoot)
99
Clock
nextClock = (currentClockGroup == null) ? null : currentClockGroup.FirstChild;
144
internal
Clock
Current
156
private
Clock
_rootClock;
157
private
Clock
_currentClock;
171
internal PostfixSubtreeEnumerator(
Clock
root, bool processRoot)
206
Clock
nextClock = _currentClock;
247
internal
Clock
Current
259
private
Clock
_rootClock;
260
private
Clock
_currentClock;
System\Windows\Media\Animation\Timeline.cs (6)
625
protected internal virtual
Clock
AllocateClock()
643
public
Clock
CreateClock()
664
public
Clock
CreateClock(bool hasControllableRoot)
667
return
Clock
.BuildClockTreeFromTimeline(this, hasControllableRoot);
684
internal protected Duration GetNaturalDuration(
Clock
clock)
700
protected virtual Duration GetNaturalDurationCore(
Clock
clock)
System\Windows\Media\Animation\TimelineClockCollection.cs (21)
12
public class ClockCollection : ICollection<
Clock
>
34
List<
Clock
> childList = clockGroup.InternalChildren;
73
public void Add(
Clock
item)
83
public bool Remove(
Clock
item)
93
public bool Contains(
Clock
item)
97
foreach (
Clock
t in this)
118
public void CopyTo(
Clock
[] array, int index)
126
List<
Clock
> list = clockGroup.InternalChildren;
152
IEnumerator<
Clock
> IEnumerable<
Clock
>.GetEnumerator()
156
List<
Clock
> list = null;
276
public
Clock
this[int index]
282
List<
Clock
> list = null;
310
internal struct ClockEnumerator : IEnumerator<
Clock
>
320
internal ClockEnumerator(
Clock
owner)
348
Clock
IEnumerator<
Clock
>.Current
362
return ((IEnumerator<
Clock
>)this).Current;
406
private
Clock
_owner;
423
internal ClockCollection(
Clock
owner)
441
private
Clock
_owner;
System\Windows\Media\Animation\TimelineGroup.cs (1)
77
protected internal override
Clock
AllocateClock()
System\Windows\Media\Animation\TimeManager.cs (4)
346
System.Windows.Media.Animation.
Clock
.CleanKnownClocksTable();
530
internal void AddToEventQueue(
Clock
sender)
617
Clock
clock = (
Clock
)instance.Target;
System\Windows\Media\MediaTimeline.cs (2)
122
protected internal override
Clock
AllocateClock()
224
protected override Duration GetNaturalDurationCore(
Clock
clock)
PresentationFramework (25)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
169
case 75: t = () => typeof(
Clock
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2560
typeof(System.Windows.Media.Animation.
Clock
),
System\Windows\Markup\KnownTypes.cs (1)
5629
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)
370
Clock
currentClock, /* No two calls will have the same currentClock */
1251
Clock
storyboardClockTree = CreateClock(isControllable);
1321
Clock
clock = GetStoryboardClock(containingObject);
1370
Clock
clock = GetStoryboardClock(containingObject);
1418
Clock
clock = GetStoryboardClock(containingObject);
1457
Clock
clock = GetStoryboardClock(containingObject);
1506
Clock
clock = GetStoryboardClock(containingObject);
1546
Clock
clock = GetStoryboardClock(containingObject);
1586
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Pause);
1629
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Remove);
1680
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Resume);
1739
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Seek);
1790
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SeekAlignedToLastTick);
1831
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SetSpeedRatio);
1868
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.SkipToFill);
1905
Clock
clock = GetStoryboardClock(containingObject, false, InteractiveOperation.Stop);
1938
private
Clock
GetStoryboardClock(DependencyObject o)
1951
private
Clock
GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation)
1953
Clock
clock = null;
1987
clock = clockReference.Target as
Clock
;
2013
private void SetStoryboardClock(DependencyObject o,
Clock
clock)