Lines Matching refs:duration
141 void interaction(int duration, int num_args, int opt_list[]);
173 int duration = 0;
191 sustained_mode_handle, duration,
207 sustained_mode_handle, duration,
226 vr_mode_handle, duration,
240 int duration = 0;
260 vr_mode_handle, duration,
277 vr_mode_handle, duration,
296 sustained_mode_handle, duration,
316 int duration = 1500; // 1.5s by default
319 if (input_duration > duration) {
320 duration = (input_duration > 5750) ? 5750 : input_duration;
328 // don't hint if previous hint's duration covers this hint's duration
329 if ((s_previous_duration * 1000) > (elapsed_time + duration * 1000)) {
333 s_previous_duration = duration;
340 interaction(duration, sizeof(resources)/sizeof(resources[0]), resources);
343 interaction(duration, sizeof(resources)/sizeof(resources[0]), resources);