/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | AudioAndHapticFeedbackManager.java | 36 private Vibrator mVibrator; field in class:AudioAndHapticFeedbackManager 58 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); 68 return mVibrator != null && mVibrator.hasVibrator(); 72 if (mVibrator == null) { 75 mVibrator.vibrate(milliseconds);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | VibrationPreferenceController.java | 32 private final Vibrator mVibrator; field in class:VibrationPreferenceController 36 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); 51 && mVibrator != null 52 && mVibrator.hasVibrator();
|
H A D | RingVolumePreferenceController.java | 44 private Vibrator mVibrator; field in class:RingVolumePreferenceController 58 mVibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); 59 if (mVibrator != null && !mVibrator.hasVibrator()) { 60 mVibrator = null;
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | P2pEventManager.java | 38 final Vibrator mVibrator; field in class:P2pEventManager 52 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); 87 mVibrator.vibrate(VIBRATION_PATTERN, -1); 104 mVibrator.vibrate(VIBRATION_PATTERN, -1); 115 mVibrator.vibrate(VIBRATION_PATTERN, -1); 126 mVibrator.vibrate(VIBRATION_PATTERN, -1); 136 mVibrator.vibrate(VIBRATION_PATTERN, -1); 144 mVibrator.vibrate(VIBRATION_PATTERN, -1); 200 mVibrator.vibrate(VIBRATION_PATTERN, -1);
|
H A D | NfcService.java | 276 private Vibrator mVibrator; field in class:NfcService 451 mVibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); 2425 mVibrator.vibrate(mVibrationEffect); 2448 mVibrator.vibrate(mVibrationEffect);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | HapticFeedbackIntensityPreferenceController.java | 40 return mVibrator.getDefaultHapticFeedbackIntensity();
|
H A D | NotificationVibrationIntensityPreferenceController.java | 40 return mVibrator.getDefaultNotificationVibrationIntensity();
|
H A D | VibrationIntensityPreferenceController.java | 38 protected final Vibrator mVibrator; field in class:VibrationIntensityPreferenceController 47 mVibrator = mContext.getSystemService(Vibrator.class);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
H A D | VibrateOnTouchPreferenceControllerTest.java | 54 private Vibrator mVibrator; field in class:VibrateOnTouchPreferenceControllerTest 62 when(mActivity.getSystemService(Context.VIBRATOR_SERVICE)).thenReturn(mVibrator); 63 when(mContext.getSystemService(Context.VIBRATOR_SERVICE)).thenReturn(mVibrator); 64 when(mVibrator.hasVibrator()).thenReturn(true); 81 when(mVibrator.hasVibrator()).thenReturn(false);
|
H A D | NotificationVolumePreferenceControllerTest.java | 48 private Vibrator mVibrator; field in class:NotificationVolumePreferenceControllerTest 59 when(mContext.getSystemService(Context.VIBRATOR_SERVICE)).thenReturn(mVibrator);
|
H A D | RingVolumePreferenceControllerTest.java | 49 private Vibrator mVibrator; field in class:RingVolumePreferenceControllerTest 64 shadowContext.setSystemService(Context.VIBRATOR_SERVICE, mVibrator);
|
H A D | VibrationPreferenceControllerTest.java | 63 private Vibrator mVibrator; field in class:VibrationPreferenceControllerTest 77 shadowApplication.setSystemService(Context.VIBRATOR_SERVICE, mVibrator); 82 when(mVibrator.hasVibrator()).thenReturn(true); 94 when(mVibrator.hasVibrator()).thenReturn(false);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | EmergencyTonePlayer.java | 54 private final Vibrator mVibrator = new SystemVibrator(); field in class:EmergencyTonePlayer 94 mVibrator.vibrate(VIBRATE_PATTERN, 0, VIBRATION_ATTRIBUTES); 101 mVibrator.cancel();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | Ringer.java | 90 private final Vibrator mVibrator; field in class:Ringer 105 * Used to track the status of {@link #mVibrator} in the case of simultaneous incoming calls. 125 mVibrator = vibrator; 198 mVibrator.vibrate(effect, VIBRATION_ATTRIBUTES); 259 mVibrator.cancel(); 314 mVibrator.hasVibrator(), mSystemSettingsUtil.canVibrateWhenRinging(context), 319 mVibrator.hasVibrator(), mSystemSettingsUtil.canVibrateWhenRinging(context), 327 if (!mVibrator.hasVibrator()) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | TextCandidates1LineViewManager.java | 106 private Vibrator mVibrator = null; field in class:TextCandidates1LineViewManager 521 mVibrator = (Vibrator)mWnn.getSystemService(Context.VIBRATOR_SERVICE); 523 mVibrator = null; 547 if (mVibrator != null) { 549 mVibrator.vibrate(5);
|
H A D | DefaultSoftKeyboard.java | 295 protected Vibrator mVibrator = null; field in class:DefaultSoftKeyboard 744 mVibrator = (Vibrator)mWnn.getSystemService(Context.VIBRATOR_SERVICE); 746 mVibrator = null; 829 if (mVibrator != null) { 830 try { mVibrator.vibrate(5); } catch (Exception ex) { }
|
H A D | TextCandidatesViewManager.java | 150 private Vibrator mVibrator = null; field in class:TextCandidatesViewManager 1195 mVibrator = (Vibrator)mWnn.getSystemService(Context.VIBRATOR_SERVICE); 1197 mVibrator = null; 1300 if (mVibrator != null) { 1302 mVibrator.vibrate(5); 1326 if (mVibrator != null) { 1328 mVibrator.vibrate(5); 1339 if (mVibrator != null) { 1341 mVibrator.vibrate(5);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertAudio.java | 112 private Vibrator mVibrator; field in class:CellBroadcastAlertAudio 254 mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); 389 mVibrator.vibrate(vibrationPattern, 0); 523 mVibrator.cancel();
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | FingerprintEnrollEnrolling.java | 102 private Vibrator mVibrator; field in class:FingerprintEnrollEnrolling 113 mVibrator = getSystemService(Vibrator.class); 355 mVibrator.vibrate(VIBRATE_EFFECT_ERROR, FINGERPRINT_ENROLLING_SONFICATION_ATTRIBUTES);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DragController.java | 69 private final Vibrator mVibrator; field in class:DragController 154 mVibrator = (Vibrator) launcher.getSystemService(Context.VIBRATOR_SERVICE); 244 mVibrator.vibrate(VIBRATE_DURATION);
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkAppService.java | 180 private Vibrator mVibrator = null; field in class:StkAppService 2133 mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); 2148 mVibrator.vibrate(timeout); 2195 if (mVibrator != null) { 2196 mVibrator.cancel(); 2197 mVibrator = null;
|