Searched refs:mAmplitude (Results 1 – 4 of 4) sorted by relevance
44 private final float mAmplitude; field in StepSegment54 mAmplitude = amplitude; in StepSegment()65 return Float.compare(mAmplitude, other.mAmplitude) == 0 in equals()71 return mAmplitude; in getAmplitude()90 if (amplitudeRequiresAmplitudeControl(mAmplitude)) { in areVibrationFeaturesSupported()107 if (Float.compare(mAmplitude, VibrationEffect.DEFAULT_AMPLITUDE) != 0) { in validate()108 Preconditions.checkArgumentInRange(mAmplitude, 0f, 1f, "amplitude"); in validate()125 if (Float.compare(mAmplitude, VibrationEffect.DEFAULT_AMPLITUDE) != 0) { in resolve()137 if (Float.compare(mAmplitude, VibrationEffect.DEFAULT_AMPLITUDE) == 0) { in scale()140 float newAmplitude = VibrationEffect.scale(mAmplitude, scaleFactor); in scale()[all …]
39 if (auto amplitude = args.pop<decltype(mAmplitude)>()) { in doArgs()40 mAmplitude = *amplitude; in doArgs()58 static_cast<float>(mAmplitude) / UINT8_MAX); in doMain()62 auto status = hal->call(&V1_0::IVibrator::setAmplitude, mAmplitude); in doMain()74 uint8_t mAmplitude; member in android::idlcli::vibrator::CommandSetAmplitude
45 float value = sinf(mPhase) * mAmplitude; in next()96 mAmplitude = amplitude; in setAmplitude()100 return mAmplitude; in getAmplitude()124 double mAmplitude = 0.05; // unitless scaler variable
39480 Landroid/os/VibrationEffect$OneShot;->mAmplitude:I