Home
last modified time | relevance | path

Searched refs:vibrateTime (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_vibrator_impl.cpp298 int32_t vibrateTime = 0; // record the pattern time which has been played in StartVibrateForSoundPool() local
300 …int32_t patternTime = vibratorPkg_->patterns[i].time - vibrateTime; // calculate the time of singl… in StartVibrateForSoundPool()
301 vibrateTime = vibratorPkg_->patterns[i].time; in StartVibrateForSoundPool()
322 int32_t vibrateTime = 0; // record the pattern time which has been played in RunVibrationPatterns() local
324 …int32_t patternTime = vibratorPkg_->patterns[i].time - vibrateTime; // calculate the time of singl… in RunVibrationPatterns()
325 vibrateTime = vibratorPkg_->patterns[i].time; in RunVibrationPatterns()
388 int32_t vibrateTime = 0; // record the pattern time which has been played in StartVibrateForAVPlayer() local
391 …int32_t patternTime = vibratorPkg_->patterns[i].time - vibrateTime; // calculate the time of singl… in StartVibrateForAVPlayer()
408vibrateTime = audioHapticPlayer_.GetAudioCurrentTime() - PLAYER_BUFFER_TIME + GetDelayTime(); in StartVibrateForAVPlayer()
410 …while (nextVibratorTime - vibrateTime > MIN_WAITING_TIME_FOR_VIBRATOR && count < MAX_WAITING_LOOP_… in StartVibrateForAVPlayer()
[all …]