Home
last modified time | relevance | path

Searched refs:OneShot (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DVibrationEffect.java70 VibrationEffect effect = new OneShot(milliseconds, amplitude); in createOneShot()
166 public static class OneShot extends VibrationEffect implements Parcelable { class in VibrationEffect
170 public OneShot(Parcel in) { in OneShot() method in VibrationEffect.OneShot
174 public OneShot(long milliseconds, int amplitude) { in OneShot() method in VibrationEffect.OneShot
202 if (!(o instanceof VibrationEffect.OneShot)) { in equals()
205 VibrationEffect.OneShot other = (VibrationEffect.OneShot) o; in equals()
229 public static final Parcelable.Creator<OneShot> CREATOR =
230 new Parcelable.Creator<OneShot>() {
232 public OneShot createFromParcel(Parcel in) {
235 return new OneShot(in);
[all …]
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java142 if (mEffect instanceof VibrationEffect.OneShot) { in hasLongerTimeout()
143 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) mEffect; in hasLongerTimeout()
364 if (effect instanceof VibrationEffect.OneShot in vibrate()
366 && mCurrentVibration.mEffect instanceof VibrationEffect.OneShot) { in vibrate()
367 VibrationEffect.OneShot newOneShot = (VibrationEffect.OneShot) effect; in vibrate()
368 VibrationEffect.OneShot currentOneShot = in vibrate()
369 (VibrationEffect.OneShot) mCurrentVibration.mEffect; in vibrate()
492 if (vib.mEffect instanceof VibrationEffect.OneShot) { in startVibrationInnerLocked()
493 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) vib.mEffect; in startVibrationInnerLocked()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java1167 if (effect instanceof VibrationEffect.OneShot) { in vibrate()
1168 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) effect; in vibrate()
/frameworks/base/
Dcompiled-classes-phone3383 android.os.VibrationEffect$OneShot