Searched refs:mAmplitude (Results 1 – 2 of 2) sorted by relevance
204 private int mAmplitude; field in VibrationEffect.OneShot212 mAmplitude = amplitude; in OneShot()220 return mAmplitude; in getAmplitude()225 if (mAmplitude < -1 || mAmplitude == 0 || mAmplitude > 255) { in validate()228 "or between 1 and 255 inclusive (amplitude=" + mAmplitude + ")"); in validate()242 return other.mTiming == mTiming && other.mAmplitude == mAmplitude; in equals()249 result = 37 * mAmplitude; in hashCode()255 return "OneShot{mTiming=" + mTiming +", mAmplitude=" + mAmplitude + "}"; in toString()262 out.writeInt(mAmplitude); in writeToParcel()
47 buffer[sampleIndex] = (int16_t) (32767 * sin(mPhase) * mAmplitude); in render()55 buffer[sampleIndex] = sin(mPhase) * mAmplitude; in render()62 mAmplitude = amplitude; in setAmplitude()65 return mAmplitude; in getAmplitude()89 double mAmplitude = 0.05; // unitless scaler variable