Searched refs:mAmplitude (Results 1 – 2 of 2) sorted by relevance
168 private int mAmplitude; field in VibrationEffect.OneShot176 mAmplitude = amplitude; in OneShot()184 return mAmplitude; in getAmplitude()189 if (mAmplitude < -1 || mAmplitude == 0 || mAmplitude > 255) { in validate()192 "or between 1 and 255 inclusive (amplitude=" + mAmplitude + ")"); in validate()206 return other.mTiming == mTiming && other.mAmplitude == mAmplitude; in equals()213 result = 37 * mAmplitude; in hashCode()219 return "OneShot{mTiming=" + mTiming +", mAmplitude=" + mAmplitude + "}"; in toString()226 out.writeInt(mAmplitude); in writeToParcel()
47 buffer[sampleIndex] = (int16_t) (32767 * sin(mPhase) * mAmplitude); in render()55 buffer[sampleIndex] = sin(mPhase) * mAmplitude; in render()82 double mAmplitude = 0.05; // unitless scaler variable