/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pEventManager.java | 36 final Vibrator mVibrator; field in P2pEventManager 50 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in P2pEventManager() 74 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pInRange() 87 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pNfcTapRequested() 113 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pSendComplete() 124 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pHandoverNotSupported() 133 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pReceiveComplete() 190 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pResumeSend()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | AudioAndHapticFeedbackManager.java | 35 private Vibrator mVibrator; field in AudioAndHapticFeedbackManager 57 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in initInternal() 67 return mVibrator != null && mVibrator.hasVibrator(); in hasVibrator() 71 if (mVibrator == null) { in vibrate() 74 mVibrator.vibrate(milliseconds); in vibrate()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Ringer.java | 64 private final Vibrator mVibrator; field in Ringer 86 mVibrator = new SystemVibrator(context); in Ringer() 198 mVibrator.vibrate(VIBRATION_PATTERN, VIBRATION_PATTERN_REPEAT, in startRingingOrCallWaiting() 236 mVibrator.cancel(); in stopRinging() 264 if (!mVibrator.hasVibrator()) { in getVibrateWhenRinging()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettings.java | 82 private Vibrator mVibrator; field in NotificationSettings 102 mVibrator = (Vibrator) getActivity().getSystemService(Context.VIBRATOR_SERVICE); in onCreate() 103 if (mVibrator != null && !mVibrator.hasVibrator()) { in onCreate() 104 mVibrator = null; in onCreate() 160 : (mVibrator == null in updateRingOrNotificationIcon()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
D | HapticFeedback.java | 71 private Vibrator mVibrator; field in HapticFeedback 90 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in init() 132 mVibrator.vibrate(mHapticPattern[0]); in vibrate() 134 mVibrator.vibrate(mHapticPattern, NO_REPEAT); in vibrate()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | TextCandidatesViewManager.java | 150 private Vibrator mVibrator = null; field in TextCandidatesViewManager 1195 mVibrator = (Vibrator)mWnn.getSystemService(Context.VIBRATOR_SERVICE); in setPreferences() 1197 mVibrator = null; in setPreferences() 1300 if (mVibrator != null) { in playSoundAndVibration() 1302 mVibrator.vibrate(5); in playSoundAndVibration() 1326 if (mVibrator != null) { in onFling() 1328 mVibrator.vibrate(5); in onFling() 1339 if (mVibrator != null) { in onFling() 1341 mVibrator.vibrate(5); in onFling()
|
D | TextCandidates1LineViewManager.java | 106 private Vibrator mVibrator = null; field in TextCandidates1LineViewManager 521 mVibrator = (Vibrator)mWnn.getSystemService(Context.VIBRATOR_SERVICE); in setPreferences() 523 mVibrator = null; in setPreferences() 547 if (mVibrator != null) { in playSoundAndVibration() 549 mVibrator.vibrate(5); in playSoundAndVibration()
|
D | DefaultSoftKeyboard.java | 295 protected Vibrator mVibrator = null; field in DefaultSoftKeyboard 744 mVibrator = (Vibrator)mWnn.getSystemService(Context.VIBRATOR_SERVICE); in setPreferences() 746 mVibrator = null; in setPreferences() 829 if (mVibrator != null) { in playSoundAndVibration() 830 try { mVibrator.vibrate(5); } catch (Exception ex) { } in playSoundAndVibration()
|
/packages/apps/Stk/src/com/android/stk/ |
D | ToneDialog.java | 59 Vibrator mVibrator; field in ToneDialog 68 mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); in onCreate() 98 mVibrator.vibrate(timeout); in onCreate() 110 mVibrator.cancel(); in onDestroy()
|
/packages/services/Telephony/src/com/android/phone/ |
D | Ringer.java | 68 Vibrator mVibrator; field in Ringer 101 mVibrator = new SystemVibrator(context); in Ringer() 257 mVibrator.cancel(); in stopRing() 264 mVibrator.vibrate(VIBRATE_LENGTH, VIBRATION_ATTRIBUTES); in run()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 98 private Vibrator mVibrator; field in CellBroadcastAlertAudio 204 mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in onCreate() 313 mVibrator.vibrate(sVibratePattern, -1); in play() 417 mVibrator.cancel(); in stop()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyTonePlayer.java | 51 private final Vibrator mVibrator = new SystemVibrator(); field in EmergencyTonePlayer 89 mVibrator.vibrate(VIBRATE_PATTERN, 0, VIBRATION_ATTRIBUTES); in startVibrate() 96 mVibrator.cancel(); in stopVibrate()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | GlowPadView.java | 108 private Vibrator mVibrator; field in GlowPadView 581 if (mVibrator != null) { in vibrate() 582 mVibrator.vibrate(mVibrationDuration); in vibrate() 697 if (enabled && mVibrator == null) { in setVibrateEnabled() 698 mVibrator = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); in setVibrateEnabled() 700 mVibrator = null; in setVibrateEnabled()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragController.java | 69 private final Vibrator mVibrator; field in DragController 154 mVibrator = (Vibrator) launcher.getSystemService(Context.VIBRATOR_SERVICE); in DragController() 244 mVibrator.vibrate(VIBRATE_DURATION); in startDrag()
|