Searched refs:timesVibratedWithEffect (Results 1 – 2 of 2) sorted by relevance
139 assertEquals(/* expected=*/ 1, vibratorHelper.timesVibratedWithEffect(vibration)) in playHapticAtUpperBookend_twoTimes_playsClickOnlyOnce()165 assertEquals(/* expected=*/ 1, vibratorHelper.timesVibratedWithEffect(ticks.compose())) in playHapticAtProgress_onQuickSuccession_playsLowTicksOnce()189 assertEquals(/* expected= */ 1, vibratorHelper.timesVibratedWithEffect(firstTicks)) in playHapticAtProgress_beforeNextDragThreshold_playsLowTicksOnce()214 assertEquals(/* expected= */ 1, vibratorHelper.timesVibratedWithEffect(firstTicks)) in playHapticAtProgress_afterNextDragThreshold_playsLowTicksTwice()215 assertEquals(/* expected= */ 1, vibratorHelper.timesVibratedWithEffect(secondTicks)) in playHapticAtProgress_afterNextDragThreshold_playsLowTicksTwice()252 vibratorHelper.timesVibratedWithEffect(bookendVibration) in playHapticAtLowerBookend_afterPlayingAtProgress_playsTwice()290 vibratorHelper.timesVibratedWithEffect(bookendVibration) in playHapticAtUpperBookend_afterPlayingAtProgress_playsTwice()
61 fun timesVibratedWithEffect(effect: VibrationEffect): Int = in hasVibratedWithEffects() method