/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
D | HapticFeedbackController.java | 26 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/ |
D | InputDevice.java | 62 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/ |
D | NotificationTestList.java | 46 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/ |
D | RotarySelector.java | 117 private Vibrator mVibrator; field in RotarySelector 683 if (mVibrator == null) { 684 mVibrator = (android.os.Vibrator) getContext() 687 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
|
D | WaveView.java | 89 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()
|
D | SlidingTab.java | 78 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/ |
D | ExpandHelper.java | 104 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/ |
D | GlowPadView.java | 111 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/ |
D | VolumePanel.java | 274 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/ |
D | LLand.java | 135 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/ |
D | NotificationManagerService.java | 183 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/ |
D | PhoneWindowManager.java | 251 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()
|