D | VibrationEffect.java | 174 VibrationEffect effect = new OneShot(milliseconds, amplitude); in createOneShot() 392 public static class OneShot extends VibrationEffect implements Parcelable { class in VibrationEffect 396 public OneShot(Parcel in) { in OneShot() method in VibrationEffect.OneShot 401 public OneShot(long milliseconds, int amplitude) { in OneShot() method in VibrationEffect.OneShot 425 public OneShot scale(float gamma, int maxAmplitude) { in scale() 431 return new OneShot(mDuration, newAmplitude); in scale() 443 public OneShot resolve(int defaultAmplitude) { in resolve() 449 return new OneShot(mDuration, defaultAmplitude); in resolve() 469 if (!(o instanceof VibrationEffect.OneShot)) { in equals() 472 VibrationEffect.OneShot other = (VibrationEffect.OneShot) o; in equals() [all …]
|