16 double durationSeconds,
17 double preferredAnimationSpeed,
20 double snapDistanceThreshold,
21 bool hasExplicitDuration,
22 bool snapIfDistanceExceedsThreshold,
23 bool interruptByGestureAllowed,
24 bool interruptByApiAllowed
27 double GetDurationSeconds()
const {
return m_durationSeconds; }
28 double GetPreferredAnimationSpeed()
const {
return m_preferredAnimationSpeed; }
29 double GetMinDuration()
const {
return m_minDuration; }
30 double GetMaxDuration()
const {
return m_maxDuration; }
31 double GetSnapDistanceThreshold()
const {
return m_snapDistanceThreshold; }
33 bool HasExplicitDuration()
const {
return m_hasExplicitDuration; }
34 bool IsSnapIfDistanceExceedsThreshold()
const {
return m_snapIfDistanceExceedsThreshold; }
35 bool IsInterruptByGestureAllowed()
const {
return m_interruptByGestureAllowed; }
36 bool IsInterruptByApiAllowed()
const {
return m_interruptByApiAllowed; }
40 double m_durationSeconds;
41 double m_preferredAnimationSpeed;
44 double m_snapDistanceThreshold;
45 bool m_hasExplicitDuration;
46 bool m_snapIfDistanceExceedsThreshold;
47 bool m_interruptByGestureAllowed;
48 bool m_interruptByApiAllowed;