Searched refs:OneShot (Results 1 – 4 of 4) sorted by relevance
70 VibrationEffect effect = new OneShot(milliseconds, amplitude); in createOneShot()166 public static class OneShot extends VibrationEffect implements Parcelable { class in VibrationEffect170 public OneShot(Parcel in) { in OneShot() method in VibrationEffect.OneShot174 public OneShot(long milliseconds, int amplitude) { in OneShot() method in VibrationEffect.OneShot202 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 …]
142 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()
1167 if (effect instanceof VibrationEffect.OneShot) { in vibrate()1168 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) effect; in vibrate()
3383 android.os.VibrationEffect$OneShot