Home
last modified time | relevance | path

Searched refs:mVibrator (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DHapticFeedbackController.java26 private Vibrator mVibrator; field in HapticFeedbackController
44 mVibrator = (Vibrator) mContext.getSystemService(Service.VIBRATOR_SERVICE); in start()
56 mVibrator = null; in stop()
65 if (mVibrator != null && mIsGloballyEnabled) { in tryVibrate()
69 mVibrator.vibrate(VIBRATE_LENGTH_MS); in tryVibrate()
/frameworks/base/core/java/android/view/
DInputDevice.java62 private Vibrator mVibrator; // guarded by mMotionRanges during initialization field in InputDevice
707 if (mVibrator == null) { in getVibrator()
709 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
711 mVibrator = NullVibrator.getInstance(); in getVibrator()
714 return mVibrator; in getVibrator()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java46 Vibrator mVibrator; field in NotificationTestList
71 mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); in onCreate()
512 mVibrator.vibrate(new long[] { 250, 1000, 500, 2000 }, -1);
519 mVibrator.vibrate(new long[] { 250, 1000, 500 }, 1);
526 mVibrator.vibrate(3000);
533 mVibrator.vibrate(100000);
540 mVibrator.cancel();
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java117 private Vibrator mVibrator; field in RotarySelector
683 if (mVibrator == null) {
684 mVibrator = (android.os.Vibrator) getContext()
687 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
DWaveView.java89 private Vibrator mVibrator; field in WaveView
587 if (mVibrator == null) { in vibrate()
588 mVibrator = (android.os.Vibrator) getContext() in vibrate()
591 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES); in vibrate()
DSlidingTab.java78 private Vibrator mVibrator; field in SlidingTab
826 if (mVibrator == null) {
827 mVibrator = (android.os.Vibrator) getContext()
830 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java104 private Vibrator mVibrator; field in ExpandHelper
604 if (mVibrator == null) { in vibrate()
605 mVibrator = (android.os.Vibrator) in vibrate()
608 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES); in vibrate()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java111 private Vibrator mVibrator; field in GlowPadView
572 if (mVibrator != null && hapticEnabled) { in vibrate()
573 mVibrator.vibrate(mVibrationDuration, VIBRATION_ATTRIBUTES); in vibrate()
680 if (enabled && mVibrator == null) { in setVibrateEnabled()
681 mVibrator = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); in setVibrateEnabled()
683 mVibrator = null; in setVibrateEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanel.java274 private Vibrator mVibrator; field in VolumePanel
443 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in VolumePanel()
444 mHasVibrator = mVibrator != null && mVibrator.hasVibrator(); in VolumePanel()
1265 if (mVibrator != null) { in onVibrate()
1266 mVibrator.vibrate(VIBRATE_DURATION, VIBRATION_ATTRIBUTES); in onVibrate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DLLand.java135 private Vibrator mVibrator; field in LLand
176 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in LLand()
226 mVibrator.vibrate(80, mAudioAttrs); in thump()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java183 Vibrator mVibrator; field in NotificationManagerService
524 mVibrator.cancel();
615 mVibrator.cancel();
863 mVibrator = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); in onStart()
2135 mVibrator.vibrate(record.sbn.getUid(), record.sbn.getOpPkg(), in buzzBeepBlinkLocked()
2147 mVibrator.vibrate(record.sbn.getUid(), record.sbn.getOpPkg(), in buzzBeepBlinkLocked()
2504 mVibrator.cancel(); in cancelNotificationLocked()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java251 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes field in PhoneWindowManager
1323 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in init()
5934 if (!mVibrator.hasVibrator()) { in performHapticFeedbackLw()
5979 mVibrator.vibrate(owningUid, owningPackage, pattern[0], VIBRATION_ATTRIBUTES); in performHapticFeedbackLw()
5982 mVibrator.vibrate(owningUid, owningPackage, pattern, -1, VIBRATION_ATTRIBUTES); in performHapticFeedbackLw()