/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | VibratorUtils.java | 24 private Vibrator mVibrator; field in VibratorUtils 31 if (sInstance.mVibrator == null) { in getInstance() 32 sInstance.mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in getInstance() 38 if (mVibrator == null) { in hasVibrator() 41 return mVibrator.hasVibrator(); in hasVibrator() 45 if (mVibrator == null) { in vibrate() 48 mVibrator.vibrate(milliseconds); in vibrate()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pEventManager.java | 36 final Vibrator mVibrator; field in P2pEventManager 49 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in P2pEventManager() 63 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pInRange() 83 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pSendComplete() 92 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pHandoverNotSupported() 101 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pReceiveComplete()
|
/packages/apps/Phone/src/com/android/phone/ |
D | HapticFeedback.java | 73 private Vibrator mVibrator; field in HapticFeedback 92 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in init() 136 mVibrator.vibrate(mHapticPattern[0]); in vibrate() 138 mVibrator.vibrate(mHapticPattern, NO_REPEAT); in vibrate()
|
D | Ringer.java | 58 Vibrator mVibrator; field in Ringer 87 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in Ringer() 243 mVibrator.cancel(); in stopRing() 250 mVibrator.vibrate(VIBRATE_LENGTH); in run()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmKlaxon.java | 49 private Vibrator mVibrator; field in AlarmKlaxon 89 mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in onCreate() 218 mVibrator.vibrate(sVibratePattern, 0); in play() 220 mVibrator.cancel(); in play() 273 mVibrator.cancel(); in stop()
|
/packages/apps/Stk/src/com/android/stk/ |
D | ToneDialog.java | 57 Vibrator mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); field in ToneDialog 94 mVibrator.vibrate(timeout); in onCreate() 105 mVibrator.cancel(); in onDestroy()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 87 private Vibrator mVibrator; field in CellBroadcastAlertAudio 196 mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in onCreate() 301 mVibrator.vibrate(sVibratePattern, 1); in play() 346 mVibrator.cancel(); in stop()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
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()
|
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()
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | SoftKeyboardView.java | 104 private Vibrator mVibrator; field in SoftKeyboardView 382 if (mVibrator == null) { in tryVibrate() 383 mVibrator = (Vibrator)getContext().getSystemService(Context.VIBRATOR_SERVICE); in tryVibrate() 385 mVibrator.vibrate(mVibratePattern, -1); in tryVibrate()
|
/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() 242 mVibrator.vibrate(VIBRATE_DURATION); in startDrag()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetPage.java | 88 private Vibrator mVibrator; field in AlbumSetPage 278 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in onCreate() 536 mVibrator.vibrate(100); in onSelectionModeChange()
|
D | AlbumPage.java | 94 private Vibrator mVibrator; field in AlbumPage 345 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in onCreate() 616 mVibrator.vibrate(100); in onSelectionModeChange()
|