Searched refs:vibrator (Results 1 – 25 of 30) sorted by relevance
12
69 final Vibrator vibrator = getVibrator(context); in start() local71 vibrateLOrLater(vibrator); in start()73 vibrator.vibrate(VIBRATE_PATTERN, 0); in start()80 private static void vibrateLOrLater(Vibrator vibrator) { in vibrateLOrLater() argument81 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() in vibrateLOrLater()
63 final Vibrator vibrator = getVibrator(context); in start() local65 vibrateLOrLater(vibrator); in start()67 vibrator.vibrate(VIBRATE_PATTERN, 0); in start()75 private static void vibrateLOrLater(Vibrator vibrator) { in vibrateLOrLater() argument76 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() in vibrateLOrLater()
46 final Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in hasHaptic() local47 return vibrator != null && vibrator.hasVibrator(); in hasHaptic()
129 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local130 if (vibrator != null) { in vibrate()131 vibrator.vibrate(milliseconds); in vibrate()
59 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local60 return vibrator.getDefaultNotificationVibrationIntensity(); in getDefaultVibrationIntensity()
54 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local55 return vibrator.getDefaultHapticFeedbackIntensity(); in getDefaultVibrationIntensity()
63 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local64 return vibrator.getDefaultRingVibrationIntensity(); in getDefaultVibrationIntensity()
187 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in playVibrationPreview() local191 vibrator.vibrate(effect, builder.build()); in playVibrationPreview()
875 final Vibrator vibrator = context.getSystemService(Vibrator.class); in updateVibrationSummary() local879 vibrator.getDefaultRingVibrationIntensity()); in updateVibrationSummary()889 vibrator.getDefaultNotificationVibrationIntensity()); in updateVibrationSummary()896 vibrator.getDefaultHapticFeedbackIntensity()); in updateVibrationSummary()
59 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local60 return vibrator.getDefaultRingVibrationIntensity(); in getDefaultVibrationIntensity()
164 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in playVibrationPreview() local168 vibrator.vibrate(effect, builder.build()); in playVibrationPreview()
842 final Vibrator vibrator = context.getSystemService(Vibrator.class); in updateVibrationSummary() local846 vibrator.getDefaultRingVibrationIntensity()); in updateVibrationSummary()856 vibrator.getDefaultNotificationVibrationIntensity()); in updateVibrationSummary()863 vibrator.getDefaultHapticFeedbackIntensity()); in updateVibrationSummary()
421 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in triggerVibrationForQrCodeRecognition() local422 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()425 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
440 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in triggerVibrationForQrCodeRecognition() local441 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()444 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
160 Vibrator vibrator = (Vibrator) activity.getSystemService(Context.VIBRATOR_SERVICE); in onCreate() local161 if (vibrator == null || !vibrator.hasVibrator()) { in onCreate()
113 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in playAlertReminderSound() local114 vibrator.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE)); in playAlertReminderSound()
175 Vibrator vibrator, in Ringer() argument184 mVibrator = vibrator; in Ringer()
819 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in loadSettings() local820 if (vibrator.hasVibrator()) { in loadSettings()
1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...