Searched defs:vibrate (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/os/
H A DNullVibrator.java47 public void vibrate(int uid, String opPkg, method in class:NullVibrator
H A DSystemVibrator.java46 Log.w(TAG, "Failed to vibrate; no vibrator service.");
70 public void vibrate(int uid, String opPkg, method in class:SystemVibrator
73 Log.w(TAG, "Failed to vibrate; no vibrator service.");
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
79 Log.w(TAG, "Failed to vibrate.", e);
H A DVibrator.java142 * @param milliseconds The number of milliseconds to vibrate.
144 * @deprecated Use {@link #vibrate(VibrationEffect)} instead.
148 public void vibrate(long milliseconds) { method in class:Vibrator
149 vibrate(milliseconds, null);
155 * @param milliseconds The number of milliseconds to vibrate.
161 * @deprecated Use {@link #vibrate(VibrationEffect, AudioAttributes)} instead.
165 public void vibrate(long milliseconds, AudioAttributes attributes) { method in class:Vibrator
170 vibrate(effect, attributes);
194 * @deprecated Use {@link #vibrate(VibrationEffect)} instead.
198 public void vibrate(lon method in class:Vibrator
228 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { method in class:Vibrator
245 public void vibrate(VibrationEffect vibe) { method in class:Vibrator
250 public void vibrate(VibrationEffect vibe, AudioAttributes attributes) { method in class:Vibrator
260 public abstract void vibrate(int uid, String opPkg, method in class:Vibrator
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DVibratorHelper.java57 public void vibrate(final int effectId) { method in class:VibratorHelper
60 mVibrator.vibrate(VibrationEffect.get(effectId, false /* fallback */),
/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;
52 dest.writeInt(vibrate ? 1 : 0);
H A DCommandParams.java110 Tone tone, Duration duration, boolean vibrate) {
113 mSettings = new ToneSettings(duration, tone, vibrate);
109 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
/frameworks/wilhelm/src/itf/
H A DIVibra.cpp22 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/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DVolumeDialogController.java48 void vibrate(VibrationEffect effect); method in interface:VolumeDialogController
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java1194 public void vibrate(int uid, String opPkg, method in class:InputManager.InputDeviceVibrator
1213 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java540 vibrate(VIBRATE_SHORT);
823 private synchronized void vibrate(long duration) { method in class:SlidingTab
832 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
850 vibrate(VIBRATE_LONG);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogControllerImpl.java328 public void vibrate(VibrationEffect effect) { method in class:VolumeDialogControllerImpl
330 mVibrator.vibrate(effect, SONIFICIATION_VIBRATION_ATTRIBUTES);
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java485 public void vibrate(int uid, String opPkg, VibrationEffect effect, int usageHint, method in class:VibratorService
487 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "vibrate");
643 Slog.w(TAG, "Would be an error: vibrate from uid " + vib.uid);
767 // "Also vibrate for calls" Setting in Sound
935 mInputDeviceVibrators.get(i).vibrate(millis, attributes);
1259 if ("vibrate".equals(cmd)) {
1294 vibrate(Binder.getCallingUid(), description, effect, AudioAttributes.USAGE_UNKNOWN,
1309 pw.println(" vibrate duration [description]");
/frameworks/native/services/inputflinger/
H A DEventHub.cpp653 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) { function in class:android::EventHub
H A DInputReader.cpp846 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, function in class:android::InputReader
853 device->vibrate(pattern, patternSize, repeat, token);
1282 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, function in class:android::InputDevice
1287 mapper->vibrate(pattern, patternSize, repeat, token);
2021 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, function in class:android::InputMapper
2149 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, function in class:android::VibratorInputMapper
2159 ALOGD("vibrate: deviceId=%d, pattern=[%s], repeat=%zd, token=%d",
2208 ALOGD("nextStep: sending vibrate deviceId=%d, duration=%" PRId64, getDeviceId(), duration);
2210 getEventHub()->vibrate(getDeviceId(), duration);
2213 ALOGD("nextStep: sending cancel vibrate deviceI
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1634 public void vibrate(int deviceId, long[] pattern, int repeat, IBinder token) { method in class:InputManagerService
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp791 virtual void vibrate(int32_t, nsecs_t) { function in namespace:android
/frameworks/base/core/java/android/app/
H A DNotification.java169 * Use the default notification vibrate. This will ignore any given
170 * {@link #vibrate}. Using phone vibration requires the
442 * The pattern with which to vibrate.
445 * To vibrate the default pattern, see {@link #defaults}.
448 * @see android.os.Vibrator#vibrate(long[],int)
452 public long[] vibrate; field in class:Notification
543 * set if you would only like the sound, vibrate and ticker to be played
1273 * group with sound or vibration ought to make sound or vibrate (respectively), so this
2157 vibrate = parcel.createLongArray();
2257 final long[] vibrate
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBar.java2208 mVibratorHelper.vibrate(VibrationEffect.EFFECT_TICK);
3322 void vibrate() { method in class:StatusBar
3325 vib.vibrate(250, VIBRATION_ATTRIBUTES);
3331 vibrate();
3342 vibrate();
4553 mVibrator.vibrate(mCameraLaunchGestureVibePattern, -1 /* repeat */);

Completed in 186 milliseconds