Lines Matching refs:mnDuration
74 sal_uInt32 mnDuration; // single duration member in __anonf7020b590111::ScrollTextAnimNode
86 : mnDuration(nDuration), in ScrollTextAnimNode()
94 sal_uInt32 GetDuration() const { return mnDuration; } in GetDuration()
96 sal_uInt32 GetFullTime() const { return mnDuration * mnRepeat; } in GetFullTime()
109 if( mnDuration == 0 ) in GetStateAtRelativeTime()
115 const sal_uInt32 nRepeatCount(nRelativeTime / mnDuration); in GetStateAtRelativeTime()
116 sal_uInt32 nFrameTime(nRelativeTime - (nRepeatCount * mnDuration)); in GetStateAtRelativeTime()
119 nFrameTime = mnDuration - nFrameTime; in GetStateAtRelativeTime()
122 (double(nFrameTime) / mnDuration)); in GetStateAtRelativeTime()
127 sal_uInt32 nFrameTime(nRelativeTime % mnDuration); in GetStateAtRelativeTime()
131 const sal_uInt32 nRepeatCount(nRelativeTime / mnDuration); in GetStateAtRelativeTime()
134 nFrameTime = mnDuration - nFrameTime; in GetStateAtRelativeTime()
137 return mfStart + ((mfStop - mfStart) * (double(nFrameTime) / mnDuration)); in GetStateAtRelativeTime()