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

/frameworks/base/telephony/java/com/android/internal/telephony/cat/
H A DToneSettings.java29 public boolean vibrate; field in class:ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { argument
34 this.vibrate = vibrate;
40 vibrate = in.readInt() == 1;
50 dest.writeInt(vibrate ? 1 : 0);
H A DCommandParams.java83 Tone tone, Duration duration, boolean vibrate) {
86 this.settings = new ToneSettings(duration, tone, vibrate);
82 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
H A DCommandParamsFactory.java801 boolean vibrate = (cmdDet.commandQualifier & 0x01) != 0x00;
804 mCmdParams = new PlayToneParams(cmdDet, textMsg, tone, duration, vibrate);
/frameworks/base/core/java/android/os/
H A DIVibratorService.aidl23 void vibrate(long milliseconds, IBinder token);
H A DVibrator.java47 Log.w(TAG, "Failed to vibrate; no vibrator service.");
60 * @param milliseconds The number of milliseconds to vibrate.
62 public void vibrate(long milliseconds) method in class:Vibrator
65 Log.w(TAG, "Failed to vibrate; no vibrator service.");
69 mService.vibrate(milliseconds, mToken);
71 Log.w(TAG, "Failed to vibrate.", e);
93 public void vibrate(long[] pattern, int repeat) method in class:Vibrator
96 Log.w(TAG, "Failed to vibrate; no vibrator service.");
106 Log.w(TAG, "Failed to vibrate.", e);
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DVibratorServicePermissionTest.java42 * Test that calling {@link android.os.IVibratorService#vibrate(long)} requires permissions.
49 mVibratorService.vibrate(2000, new Binder());
50 fail("vibrate did not throw SecurityException as expected");
/frameworks/base/core/java/android/app/
H A DNotification.java64 * Use the default notification vibrate. This will ignore any given
65 * {@link #vibrate}. Using phone vibration requires the
189 * The pattern with which to vibrate.
192 * To vibrate the default pattern, see {@link #defaults}.
195 * @see android.os.Vibrator#vibrate(long[],int)
197 public long[] vibrate; field in class:Notification
387 vibrate = parcel.createLongArray();
427 final long[] vibrate = this.vibrate;
428 if (vibrate !
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java41 mZzz.vibrate(50 * mCount);
H A DShutdownThread.java401 // vibrate before shutting down
404 vibrator.vibrate(SHUTDOWN_VIBRATE_MS);
406 // Failure to vibrate shouldn't interrupt shutdown. Just log it.
407 Log.w(TAG, "Failed to vibrate during shutdown.", e);
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java118 n.vibrate = new long[] { 0, 700, 500, 1000 };
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java519 vibrate(VIBRATE_SHORT);
524 vibrate(VIBRATE_SHORT);
669 private synchronized void vibrate(long duration) { method in class:RotarySelector
674 mVibrator.vibrate(duration);
704 vibrate(VIBRATE_LONG);
H A DWaveView.java575 private synchronized void vibrate(long duration) { method in class:WaveView
580 mVibrator.vibrate(duration);
597 vibrate(VIBRATE_LONG);
H A DSlidingTab.java530 vibrate(VIBRATE_SHORT);
813 private synchronized void vibrate(long duration) { method in class:SlidingTab
818 mVibrator.vibrate(duration);
835 vibrate(VIBRATE_LONG);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A 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/multiwaveview/
H A DMultiWaveView.java384 vibrate();
391 vibrate();
510 private void vibrate() { method in class:MultiWaveView
512 mVibrator.vibrate(mVibrationDuration);
592 * Enable or disable vibrate on touch.
785 vibrate();
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java160 * longer a UI-visible for setting notification vibrate on/off (in
162 * notification vibrate to on.
282 // types affected by ringer modes (silent, vibrate, etc.)
395 // types affected by ringer modes (silent, vibrate, etc.)
812 // types affected by ringer modes (silent, vibrate, etc.)
1102 // If the ringer vibrate value is invalid, set it to the default
1107 // Apply the same setting to the notification vibrate value
1314 int vibrate = 0;
1315 vibrate = AudioService.getValueForVibrateSetting(vibrate,
[all...]
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java175 pw.println(prefix + " vibrate=" + Arrays.toString(notification.vibrate));
282 // vibrate
790 // If we're not supposed to beep, vibrate, etc. then don't.
829 // vibrate
832 if ((useDefaultVibrate || notification.vibrate != null)
836 mVibrator.vibrate(useDefaultVibrate ? DEFAULT_VIBRATE_PATTERN
837 : notification.vibrate,
923 // vibrate
H A DVibratorService.java119 public void vibrate(long milliseconds, IBinder token) { method in class:VibratorService
H A DInputMethodManagerService.java546 mImeSwitcherNotification.vibrate = null;
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java569 notification.vibrate = null;
602 notification.vibrate = null;
/frameworks/base/core/java/android/view/
H A DVolumePanel.java75 * moving to silent mode, it will not emit a short vibrate (it normally
76 * would since vibrate is between normal mode and silent mode using hardware
521 // Do a little vibrate if applicable (only when going into vibrate mode)
562 // Make sure we ended up in vibrate ringer mode
567 mVibrator.vibrate(VIBRATE_DURATION);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java2290 void vibrate() { method in class:PhoneStatusBar
2293 vib.vibrate(250);
2298 vibrate();
2310 vibrate();
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java3675 mVibrator.vibrate(pattern[0]);
3678 mVibrator.vibrate(pattern, -1);
/frameworks/base/core/java/android/widget/
H A DTextView.java9219 boolean vibrate = true;
9234 vibrate = false;
9257 vibrate = handled = startSelectionActionMode();
9260 if (vibrate) {
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java1129 notification.vibrate = null;

Completed in 653 milliseconds