D | VibrationEffect.java | 172 VibrationEffect effect = new OneShot(milliseconds, amplitude); in createOneShot() 390 public static class OneShot extends VibrationEffect implements Parcelable { class in VibrationEffect 394 public OneShot(Parcel in) { in OneShot() method in VibrationEffect.OneShot 399 public OneShot(long milliseconds, int amplitude) { in OneShot() method in VibrationEffect.OneShot 423 public OneShot scale(float gamma, int maxAmplitude) { in scale() 429 return new OneShot(mDuration, newAmplitude); in scale() 441 public OneShot resolve(int defaultAmplitude) { in resolve() 447 return new OneShot(mDuration, defaultAmplitude); in resolve() 467 if (!(o instanceof VibrationEffect.OneShot)) { in equals() 470 VibrationEffect.OneShot other = (VibrationEffect.OneShot) o; in equals() [all …]
|