Lines Matching refs:Vibrator
31 import android.os.Vibrator;
47 * the game controller has a vibrator, then it is used to provide feedback when
49 * vibrator is used for that purpose.
783 * Gets the vibrator from the controller if it is present. Note that it
784 * would be easy to get the system vibrator here if the controller one
787 * @return the Vibrator for the controller, or null if it is not
791 private final Vibrator getVibrator() {
800 Vibrator vibrator = getVibrator();
801 if (null != vibrator) {
802 vibrator.vibrate(time);
807 Vibrator vibrator = getVibrator();
808 if (null != vibrator) {
809 vibrator.vibrate(pattern, repeat);