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.java60 private Vibrator mVibrator; // guarded by mMotionRanges during initialization field in InputDevice
671 if (mVibrator == null) { in getVibrator()
673 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator()
675 mVibrator = NullVibrator.getInstance(); in getVibrator()
678 return mVibrator; in getVibrator()
DVolumePanel.java216 private Vibrator mVibrator; field in VolumePanel
319 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in VolumePanel()
790 mVibrator.vibrate(VIBRATE_DURATION); in onVibrate()
/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.java110 private Vibrator mVibrator; field in RotarySelector
676 if (mVibrator == null) {
677 mVibrator = (android.os.Vibrator) getContext()
680 mVibrator.vibrate(duration);
DWaveView.java84 private Vibrator mVibrator; field in WaveView
582 if (mVibrator == null) { in vibrate()
583 mVibrator = (android.os.Vibrator) getContext() in vibrate()
586 mVibrator.vibrate(duration); in vibrate()
DSlidingTab.java72 private Vibrator mVibrator; field in SlidingTab
820 if (mVibrator == null) {
821 mVibrator = (android.os.Vibrator) getContext()
824 mVibrator.vibrate(duration);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java102 private Vibrator mVibrator; field in ExpandHelper
604 if (mVibrator == null) { in vibrate()
605 mVibrator = (android.os.Vibrator) in vibrate()
608 mVibrator.vibrate(duration); in vibrate()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java110 private Vibrator mVibrator; field in MultiWaveView
601 if (mVibrator != null && hapticEnabled) { in vibrate()
602 mVibrator.vibrate(mVibrationDuration); in vibrate()
707 if (enabled && mVibrator == null) { in setVibrateEnabled()
708 mVibrator = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); in setVibrateEnabled()
710 mVibrator = null; in setVibrateEnabled()
DGlowPadView.java105 private Vibrator mVibrator; field in GlowPadView
566 if (mVibrator != null && hapticEnabled) { in vibrate()
567 mVibrator.vibrate(mVibrationDuration); in vibrate()
674 if (enabled && mVibrator == null) { in setVibrateEnabled()
675 mVibrator = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); in setVibrateEnabled()
677 mVibrator = null; in setVibrateEnabled()
/frameworks/base/services/java/com/android/server/
DNotificationManagerService.java161 private Vibrator mVibrator; field in NotificationManagerService
1066 mVibrator.cancel();
1116 mVibrator.cancel();
1306 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in NotificationManagerService()
1935 mVibrator.vibrate(r.sbn.getUid(), r.sbn.getBasePkg(), in enqueueNotificationInternal()
1946 mVibrator.vibrate(r.sbn.getUid(), r.sbn.getBasePkg(), in enqueueNotificationInternal()
2046 mVibrator.cancel(); in cancelNotificationLocked()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java214 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes field in PhoneWindowManager
964 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in init()
5022 if (!mVibrator.hasVibrator()) { in performHapticFeedbackLw()
5061 mVibrator.vibrate(owningUid, owningPackage, pattern[0]); in performHapticFeedbackLw()
5064 mVibrator.vibrate(owningUid, owningPackage, pattern, -1); in performHapticFeedbackLw()