Home
last modified time | relevance | path

Searched refs:vibrate (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DToneSettings.java29 public boolean vibrate; field in ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { in ToneSettings() argument
34 this.vibrate = vibrate; in ToneSettings()
40 vibrate = in.readInt() == 1; in ToneSettings()
50 dest.writeInt(vibrate ? 1 : 0); in writeToParcel()
DCommandParams.java83 Tone tone, Duration duration, boolean vibrate) { in PlayToneParams() argument
86 this.settings = new ToneSettings(duration, tone, vibrate); in PlayToneParams()
DCommandParamsFactory.java805 boolean vibrate = (cmdDet.commandQualifier & 0x01) != 0x00; in processPlayTone()
808 mCmdParams = new PlayToneParams(cmdDet, textMsg, tone, duration, vibrate); in processPlayTone()
/frameworks/base/core/java/android/os/
DVibrator.java62 public void vibrate(long milliseconds) in vibrate() method in Vibrator
69 mService.vibrate(milliseconds, mToken); in vibrate()
93 public void vibrate(long[] pattern, int repeat) in vibrate() method in Vibrator
DIVibratorService.aidl23 void vibrate(long milliseconds, IBinder token); in vibrate() method
/frameworks/base/core/java/android/app/
DNotification.java197 public long[] vibrate; field in Notification
387 vibrate = parcel.createLongArray(); in Notification()
427 final long[] vibrate = this.vibrate; in clone() local
428 if (vibrate != null) { in clone()
429 final int N = vibrate.length; in clone()
430 final long[] vib = that.vibrate = new long[N]; in clone()
431 System.arraycopy(vibrate, 0, vib, 0, N); in clone()
505 parcel.writeLongArray(vibrate); in writeToParcel()
588 if (this.vibrate != null) { in toString()
589 int N = this.vibrate.length-1; in toString()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java301 n.vibrate = new long[] {
485 n.vibrate = new long[] { 0, 700, 500, 1000 };
495 n.vibrate = new long[] { 0, 700, 500, 1000 };
506 mVibrator.vibrate(new long[] { 250, 1000, 500, 2000 }, -1);
513 mVibrator.vibrate(new long[] { 250, 1000, 500 }, 1);
520 mVibrator.vibrate(3000);
527 mVibrator.vibrate(100000);
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java519 vibrate(VIBRATE_SHORT); in onTouchEvent()
524 vibrate(VIBRATE_SHORT); in onTouchEvent()
669 private synchronized void vibrate(long duration) {
674 mVibrator.vibrate(duration);
704 vibrate(VIBRATE_LONG);
DSlidingTab.java530 vibrate(VIBRATE_SHORT); in onInterceptTouchEvent()
813 private synchronized void vibrate(long duration) {
818 mVibrator.vibrate(duration);
835 vibrate(VIBRATE_LONG);
DWaveView.java507 private synchronized void vibrate(long duration) { in vibrate() method in WaveView
512 mVibrator.vibrate(duration); in vibrate()
529 vibrate(VIBRATE_LONG); in dispatchTriggerEvent()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DVibratorServicePermissionTest.java49 mVibratorService.vibrate(2000, new Binder()); in testVibrate()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java41 mZzz.vibrate(50 * mCount);
DShutdownThread.java404 vibrator.vibrate(SHUTDOWN_VIBRATE_MS); in rebootOrShutdown()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java384 vibrate(); in dispatchTriggerEvent()
391 vibrate(); in dispatchGrabbedEvent()
510 private void vibrate() { in vibrate() method in MultiWaveView
512 mVibrator.vibrate(mVibrationDuration); in vibrate()
785 vibrate(); in setGrabbedState()
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
DFixVibrateSetting.java118 n.vibrate = new long[] { 0, 700, 500, 1000 }; in test()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1236 int vibrate = 0; in loadVibrateSetting() local
1237 vibrate = AudioService.getValueForVibrateSetting(vibrate, in loadVibrateSetting()
1239 vibrate |= AudioService.getValueForVibrateSetting(vibrate, in loadVibrateSetting()
1241 loadSetting(stmt, Settings.System.VIBRATE_ON, vibrate); in loadVibrateSetting()
/frameworks/base/services/java/com/android/server/
DNotificationManagerService.java175 pw.println(prefix + " vibrate=" + Arrays.toString(notification.vibrate)); in dump()
831 if ((useDefaultVibrate || notification.vibrate != null) in enqueueNotificationInternal()
835 mVibrator.vibrate(useDefaultVibrate ? DEFAULT_VIBRATE_PATTERN in enqueueNotificationInternal()
836 : notification.vibrate, in enqueueNotificationInternal()
DVibratorService.java119 public void vibrate(long milliseconds, IBinder token) { in vibrate() method in VibratorService
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd171 <li>A vibrate setting</li>
274 <var>vibrate</var> field:</p>
276 long[] vibrate = {0,100,200,300};
277 notification.vibrate = vibrate;
289 <var>vibrate</var> field.</p>
/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceManager.java569 notification.vibrate = null; in updateUsbNotification()
602 notification.vibrate = null; in updateAdbNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java2246 void vibrate() {
2249 vib.vibrate(250);
2254 vibrate();
2266 vibrate();
/frameworks/base/core/java/android/view/
DVolumePanel.java577 mVibrator.vibrate(VIBRATE_DURATION); in onVibrate()
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd28 to vibrate the phone.
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java3668 mVibrator.vibrate(pattern[0]); in performHapticFeedbackLw()
3671 mVibrator.vibrate(pattern, -1); in performHapticFeedbackLw()
/frameworks/base/core/java/android/widget/
DTextView.java9226 boolean vibrate = true; in performLongClick()
9241 vibrate = false; in performLongClick()
9264 vibrate = handled = startSelectionActionMode(); in performLongClick()
9267 if (vibrate) { in performLongClick()

12