Name Description Size
SMILAnimationController.cpp 27659
SMILAnimationController.h 7663
SMILAnimationFunction.cpp 34824
SMILAnimationFunction.h Sets the owning animation element which this class uses to query attribute values and compare document positions. 16306
SMILAttr.h Creates a new SMILValue for this attribute from a string. The string is parsed in the context of this attribute so that context-dependent values such as em-based units can be resolved into a canonical form suitable for animation (including interpolation etc.). @param aStr A string defining the new value to be created. @param aSrcElement The source animation element. This may be needed to provided additional context data such as for animateTransform where the 'type' attribute is needed to parse the value. @param[out] aValue Outparam for storing the parsed value. @param[out] aPreventCachingOfSandwich Outparam to indicate whether the attribute contains dependencies on its context that should prevent the result of the animation sandwich from being cached and reused in future samples. @return NS_OK on success or an error code if creation failed. 3519
SMILBoolType.cpp 2721
SMILBoolType.h 1733
SMILCSSProperty.cpp representation of a SMIL-animatable CSS property on an element 7061
SMILCSSProperty.h representation of a SMIL-animatable CSS property on an element 2977
SMILCSSValueType.cpp representation of a value for a SMIL-animated CSS property 20944
SMILCSSValueType.h representation of a value for a SMIL-animated CSS property 5518
SMILCompositor.cpp static 8302
SMILCompositor.h 5101
SMILCompositorTable.h 989
SMILEnumType.cpp 2713
SMILEnumType.h 1733
SMILFloatType.cpp 2881
SMILFloatType.h 1740
SMILInstanceTime.cpp 5591
SMILInstanceTime.h 6731
SMILIntegerType.cpp 3276
SMILIntegerType.h 1579
SMILInterval.cpp 4852
SMILInterval.h 2720
SMILKeySpline.cpp static 3909
SMILKeySpline.h Utility class to provide scaling defined in a keySplines element. 3179
SMILMilestone.h A significant moment in an SMILTimedElement's lifetime where a sample is required. Animations register the next milestone in their lifetime with the time container that they belong to. When the animation controller goes to run a sample it first visits all the animations that have a registered milestone in order of their milestone times. This allows interdependencies between animations to be correctly resolved and events to fire in the proper order. A distinction is made between a milestone representing the end of an interval and any other milestone. This is because if animation A ends at time t, and animation B begins at the same time t (or has some other significant moment such as firing a repeat event), SMIL's endpoint-exclusive timing model implies that the interval end occurs first. In fact, interval ends can be thought of as ending an infinitesimally small time before t. Therefore, A should be sampled before B. Furthermore, this distinction between sampling the end of an interval and a regular sample is used within the timing model (specifically in SMILTimedElement) to ensure that all intervals ending at time t are sampled before any new intervals are entered so that we have a fully up-to-date set of instance times available before committing to a new interval. Once an interval is entered, the begin time is fixed. 3002
SMILNullType.cpp static 1964
SMILNullType.h 1791
SMILParserUtils.cpp Exactly two digits in the range 00 - 59 are expected. 18555
SMILParserUtils.h Common parsing utilities for the SMIL module. There is little re-use here; it simply serves to simplify other classes by moving parsing outside and to aid unit testing. 3271
SMILRepeatCount.cpp static 521
SMILRepeatCount.h 1819
SMILSetAnimationFunction.cpp 2820
SMILSetAnimationFunction.h Sets animation-specific attributes (or marks them dirty, in the case of from/to/by/values). @param aAttribute The attribute being set @param aValue The updated value of the attribute. @param aResult The nsAttrValue object that may be used for storing the parsed result. @param aParseResult Outparam used for reporting parse errors. Will be set to NS_OK if everything succeeds. @returns true if aAttribute is a recognized animation-related attribute; false otherwise. 2657
SMILStringType.cpp 3077
SMILStringType.h 1747
SMILTargetIdentifier.h Struct: SMILTargetIdentifier Tuple of: { Animated Element, Attribute Name } Used in SMILAnimationController as hash key for mapping an animation target to the SMILCompositor for that target. NOTE: Need a nsRefPtr for the element & attribute name, because SMILAnimationController retain its hash table for one sample into the future, and we need to make sure their target isn't deleted in that time. 2683
SMILTimeContainer.cpp 9206
SMILTimeContainer.h Pause request types. 9623
SMILTimeValue.cpp 1232
SMILTimeValue.h ---------------------------------------------------------------------- SMILTimeValue class A tri-state time value. First a quick overview of the SMIL time data types: SMILTime -- a timestamp in milliseconds. SMILTimeValue -- (this class) a timestamp that can take the additional states 'indefinite' and 'unresolved' SMILInstanceTime -- an SMILTimeValue used for constructing intervals. It contains additional fields to govern reset behavior and track timing dependencies (e.g. syncbase timing). SMILInterval -- a pair of SMILInstanceTimes that defines a begin and an end time for animation. SMILTimeValueSpec -- a component of a begin or end attribute, such as the '5s' or 'a.end+2m' in begin="5s; a.end+2m". Acts as a broker between an SMILTimedElement and its SMILInstanceTimes by generating new instance times and handling changes to existing times. Objects of this class may be in one of three states: 1) The time is resolved and has a definite millisecond value 2) The time is resolved and indefinite 3) The time is unresolved In summary: State | GetMillis | IsDefinite | IsIndefinite | IsResolved -----------+---------------+------------+--------------+------------ Definite | SMILTimeValue | true | false | true -----------+---------------+------------+--------------+------------ Indefinite | -- | false | true | true -----------+---------------+------------+--------------+------------ Unresolved | -- | false | false | false 4300
SMILTimeValueSpec.cpp 12421
SMILTimeValueSpec.h If our SMILTimeValueSpec exists for a 'begin' or 'end' attribute with a value that specifies a time that is relative to the animation of some other element, it will create an instance of this class to reference and track that other element. For example, if the SMILTimeValueSpec is for end='a.end+2s', an instance of this class will be created to track the element associated with the element ID "a". This class will notify the SMILTimeValueSpec if the element that that ID identifies changes to a different element (or none). 4973
SMILTimeValueSpecParams.h 1902
SMILTimedElement.cpp 79891
SMILTimedElement.h Sets the owning animation element which this class uses to convert between container times and to register timebase elements. 24711
SMILType.h Only give the SMILValue class access to this interface. 8786
SMILTypes.h 925
SMILValue.cpp 4178
SMILValue.h Although objects of this type are generally only created on the stack and only exist during the taking of a new time sample, that's not always the case. The SMILValue objects obtained from attributes' base values are cached so that the SMIL engine can make certain optimizations during a sample if the base value has not changed since the last sample (potentially avoiding recomposing). These SMILValue objects typically live much longer than a single sample. 2532
TimeEvent.cpp doesn't bubble 1981
TimeEvent.h 1796
crashtests 63 1783
test 59