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

12

/frameworks/base/core/java/android/os/
H A DVibrator.java49 * @param milliseconds The number of milliseconds to vibrate.
51 public abstract void vibrate(long milliseconds); method in class:Vibrator
73 public abstract void vibrate(long[] pattern, int repeat); method in class:Vibrator
H A DNullVibrator.java42 public void vibrate(long milliseconds) { method in class:NullVibrator
46 public void vibrate(long[] pattern, int repeat) { method in class:NullVibrator
H A DIVibratorService.aidl23 void vibrate(long milliseconds, IBinder token);
H A DSystemVibrator.java40 Log.w(TAG, "Failed to vibrate; no vibrator service.");
51 public void vibrate(long milliseconds) { method in class:SystemVibrator
53 Log.w(TAG, "Failed to vibrate; no vibrator service.");
57 mService.vibrate(milliseconds, mToken);
59 Log.w(TAG, "Failed to vibrate.", e);
64 public void vibrate(long[] pattern, int repeat) { method in class:SystemVibrator
66 Log.w(TAG, "Failed to vibrate; no vibrator service.");
76 Log.w(TAG, "Failed to vibrate.", e);
/frameworks/opt/telephony/src/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.java88 Tone tone, Duration duration, boolean vibrate) {
91 this.settings = new ToneSettings(duration, tone, vibrate);
87 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
/frameworks/wilhelm/src/itf/
H A DIVibra.c22 static SLresult IVibra_Vibrate(SLVibraItf self, SLboolean vibrate) argument
28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize
45 SLboolean vibrate = thiz->mVibrate; local
47 *pVibrating = vibrate;
/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/hardware/input/
H A DIInputManager.aidl57 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
H A DInputManager.java796 public void vibrate(long milliseconds) { method in class:InputManager.InputDeviceVibrator
797 vibrate(new long[] { 0, milliseconds}, -1);
801 public void vibrate(long[] pattern, int repeat) { method in class:InputManager.InputDeviceVibrator
806 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
808 Log.w(TAG, "Failed to vibrate.", ex);
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationCompatHoneycomb.java36 .setVibrate(n.vibrate)
/frameworks/support/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java37 .setVibrate(n.vibrate)
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSearchPanelView.java146 vibrate();
217 private void vibrate() { method in class:SearchPanelView
223 vibrator.vibrate(res.getInteger(R.integer.config_search_panel_view_vibration_duration));
242 vibrate();
H A DExpandHelper.java453 vibrate(mPopDuration);
604 private synchronized void vibrate(long duration) { method in class:ExpandHelper
609 mVibrator.vibrate(duration);
/frameworks/base/core/java/android/app/
H A DNotification.java77 * Use the default notification vibrate. This will ignore any given
78 * {@link #vibrate}. Using phone vibration requires the
233 * The pattern with which to vibrate.
236 * To vibrate the default pattern, see {@link #defaults}.
239 * @see android.os.Vibrator#vibrate(long[],int)
241 public long[] vibrate; field in class:Notification
578 vibrate = parcel.createLongArray();
631 final long[] vibrate = this.vibrate;
632 if (vibrate !
[all...]
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java118 n.vibrate = new long[] { 0, 700, 500, 1000 };
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java40 .setVibrate(n.vibrate)
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java521 vibrate(VIBRATE_SHORT);
526 vibrate(VIBRATE_SHORT);
671 private synchronized void vibrate(long duration) { method in class:RotarySelector
680 mVibrator.vibrate(duration);
711 vibrate(VIBRATE_LONG);
H A DWaveView.java577 private synchronized void vibrate(long duration) { method in class:WaveView
586 mVibrator.vibrate(duration);
604 vibrate(VIBRATE_LONG);
H A DSlidingTab.java532 vibrate(VIBRATE_SHORT);
815 private synchronized void vibrate(long duration) { method in class:SlidingTab
824 mVibrator.vibrate(duration);
842 vibrate(VIBRATE_LONG);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java310 n.vibrate = new long[] {
494 n.vibrate = new long[] { 0, 700, 500, 1000 };
504 n.vibrate = new long[] { 0, 700, 500, 1000 };
515 mVibrator.vibrate(new long[] { 250, 1000, 500, 2000 }, -1);
522 mVibrator.vibrate(new long[] { 250, 1000, 500 }, 1);
529 mVibrator.vibrate(3000);
536 mVibrator.vibrate(100000);
/frameworks/base/services/input/
H A DEventHub.h227 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0;
289 virtual void vibrate(int32_t deviceId, nsecs_t duration);
H A DInputReader.h337 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
406 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
539 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
934 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
982 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java167 public void vibrate(long milliseconds, IBinder token) { method in class:VibratorService
421 mInputDeviceVibrators.get(i).vibrate(millis);
H A DNotificationManagerService.java352 pw.println(prefix + " vibrate=" + Arrays.toString(notification.vibrate));
472 // vibrate
1043 // If we're not supposed to beep, vibrate, etc. then don't.
1088 // vibrate
1089 // new in 4.2: if there was supposed to be a sound and we're in vibrate mode,
1090 // we always vibrate, even if no vibration was specified
1092 notification.vibrate == null
1100 if ((useDefaultVibrate || notification.vibrate != null)
1104 mVibrator.vibrate(useDefaultVibrat
[all...]

Completed in 256 milliseconds

12