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