Name Description Size
crashtests 63
moz.build 1783
SMILAnimationController.cpp 27598
SMILAnimationController.h 7649
SMILAnimationFunction.cpp 34830
SMILAnimationFunction.h Sets the owning animation element which this class uses to query attribute values and compare document positions. 16290
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. 3505
SMILBoolType.cpp 2721
SMILBoolType.h 1727
SMILCompositor.cpp static 8310
SMILCompositor.h 5050
SMILCompositorTable.h 983
SMILCSSProperty.cpp representation of a SMIL-animatable CSS property on an element 7011
SMILCSSProperty.h representation of a SMIL-animatable CSS property on an element 2971
SMILCSSValueType.cpp representation of a value for a SMIL-animated CSS property 20942
SMILCSSValueType.h representation of a value for a SMIL-animated CSS property 5512
SMILEnumType.cpp 2713
SMILEnumType.h 1727
SMILFloatType.cpp 2881
SMILFloatType.h 1734
SMILInstanceTime.cpp 5591
SMILInstanceTime.h 6725
SMILIntegerType.cpp 3276
SMILIntegerType.h 1573
SMILInterval.cpp 4844
SMILInterval.h 2715
SMILKeySpline.cpp static 3909
SMILKeySpline.h Utility class to provide scaling defined in a keySplines element. 3173
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. 2996
SMILNullType.cpp static 1964
SMILNullType.h 1785
SMILParserUtils.cpp Exactly two digits in the range 00 - 59 are expected. 18615
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. 3265
SMILRepeatCount.cpp static 521
SMILRepeatCount.h 1813
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. 2651
SMILStringType.cpp 3077
SMILStringType.h 1741
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. 2506
SMILTimeContainer.cpp 9213
SMILTimeContainer.h Pause request types. 9702
SMILTimedElement.cpp 79928
SMILTimedElement.h Sets the owning animation element which this class uses to convert between container times and to register timebase elements. 24744
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 4294
SMILTimeValueSpec.cpp 12399
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). 4885
SMILTimeValueSpecParams.h 1896
SMILType.h Only give the SMILValue class access to this interface. 8780
SMILTypes.h 919
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. 2526
test 60
TimeEvent.cpp doesn't bubble 1981
TimeEvent.h 1794