Lines Matching refs:trimmed
160 double trimmed = monotonic_time + time_offset_;
164 trimmed = pause_time_;
168 trimmed -= start_time_ + total_paused_time_;
171 if (trimmed <= 0)
182 // If less than an iteration duration, just return trimmed.
183 if (trimmed < curve_->Duration())
184 return trimmed;
187 if (iterations_ >= 0 && trimmed >= curve_->Duration() * iterations_) {
194 int iteration = static_cast<int>(trimmed / curve_->Duration());
196 // Calculate x where trimmed = x + n * curve_->Duration() for some positive
198 trimmed = fmod(trimmed, curve_->Duration());
202 return curve_->Duration() - trimmed;
204 return trimmed;