Home
last modified time | relevance | path

Searched refs:vibrator (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.java63 final Vibrator vibrator = getVibrator(context); in start() local
65 vibrateLOrLater(vibrator); in start()
67 vibrator.vibrate(VIBRATE_PATTERN, 0); in start()
75 private static void vibrateLOrLater(Vibrator vibrator) { in vibrateLOrLater() argument
76 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() in vibrateLOrLater()
DAlarmKlaxon.kt64 val vibrator: Vibrator = getVibrator(context) in start() constant
66 vibrateLOrLater(vibrator) in start()
68 vibrator.vibrate(VIBRATE_PATTERN, 0) in start()
76 private fun vibrateLOrLater(vibrator: Vibrator) { in vibrateLOrLater()
77 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerKlaxon.java69 final Vibrator vibrator = getVibrator(context); in start() local
71 vibrateLOrLater(vibrator); in start()
73 vibrator.vibrate(VIBRATE_PATTERN, 0); in start()
80 private static void vibrateLOrLater(Vibrator vibrator) { in vibrateLOrLater() argument
81 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() in vibrateLOrLater()
DTimerKlaxon.kt67 val vibrator = getVibrator(context) in start() constant
69 vibrateLOrLater(vibrator) in start()
71 vibrator.vibrate(VIBRATE_PATTERN, 0) in start()
78 private fun vibrateLOrLater(vibrator: Vibrator) { in vibrateLOrLater()
79 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
/packages/apps/Settings/src/com/android/settings/notification/
DVibrateOnTouchPreferenceController.java46 final Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in hasHaptic() local
47 return vibrator != null && vibrator.hasVibrator(); in hasHaptic()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVibrateOnTouchPreferenceController.java46 final Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in hasHaptic() local
47 return vibrator != null && vibrator.hasVibrator(); in hasHaptic()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java129 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local
130 if (vibrator != null) { in vibrate()
131 vibrator.vibrate(milliseconds); in vibrate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DNotificationVibrationPreferenceFragment.java59 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local
60 return vibrator.getDefaultNotificationVibrationIntensity(); in getDefaultVibrationIntensity()
DTouchVibrationPreferenceFragment.java54 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local
55 return vibrator.getDefaultHapticFeedbackIntensity(); in getDefaultVibrationIntensity()
DRingVibrationPreferenceFragment.java63 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local
64 return vibrator.getDefaultRingVibrationIntensity(); in getDefaultVibrationIntensity()
DVibrationPreferenceFragment.java187 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in playVibrationPreview() local
191 vibrator.vibrate(effect, builder.build()); in playVibrationPreview()
DAccessibilitySettings.java888 final Vibrator vibrator = context.getSystemService(Vibrator.class); in updateVibrationSummary() local
892 vibrator.getDefaultRingVibrationIntensity()); in updateVibrationSummary()
902 vibrator.getDefaultNotificationVibrationIntensity()); in updateVibrationSummary()
909 vibrator.getDefaultHapticFeedbackIntensity()); in updateVibrationSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DRingVibrationPreferenceFragment.java59 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local
60 return vibrator.getDefaultRingVibrationIntensity(); in getDefaultVibrationIntensity()
DNotificationVibrationPreferenceFragment.java59 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local
60 return vibrator.getDefaultNotificationVibrationIntensity(); in getDefaultVibrationIntensity()
DTouchVibrationPreferenceFragment.java54 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in getDefaultVibrationIntensity() local
55 return vibrator.getDefaultHapticFeedbackIntensity(); in getDefaultVibrationIntensity()
DVibrationPreferenceFragment.java164 Vibrator vibrator = getContext().getSystemService(Vibrator.class); in playVibrationPreview() local
168 vibrator.vibrate(effect, builder.build()); in playVibrationPreview()
DAccessibilitySettings.java842 final Vibrator vibrator = context.getSystemService(Vibrator.class); in updateVibrationSummary() local
846 vibrator.getDefaultRingVibrationIntensity()); in updateVibrationSummary()
856 vibrator.getDefaultNotificationVibrationIntensity()); in updateVibrationSummary()
863 vibrator.getDefaultHapticFeedbackIntensity()); in updateVibrationSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppUtils.java421 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in triggerVibrationForQrCodeRecognition() local
422 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()
425 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java438 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in triggerVibrationForQrCodeRecognition() local
439 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()
442 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java160 Vibrator vibrator = (Vibrator) activity.getSystemService(Context.VIBRATOR_SERVICE); in onCreate() local
161 if (vibrator == null || !vibrator.hasVibrator()) { in onCreate()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertReminder.java118 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in playAlertReminderSound() local
119 vibrator.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE)); in playAlertReminderSound()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java182 Vibrator vibrator, in Ringer() argument
191 mVibrator = vibrator; in Ringer()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java544 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in playSound() local
549 vibrator.vibrate(VibrationEffect.createWaveform(pattern, -1)); in playSound()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12