Home
last modified time | relevance | path

Searched refs:mAmplitude (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/vibrator/
DStepSegment.java44 private final float mAmplitude; field in StepSegment
54 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 …]
/frameworks/native/cmds/idlcli/vibrator/
DCommandSetAmplitude.cpp39 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
/frameworks/av/media/libaaudio/examples/utils/
DSineGenerator.h45 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
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39480 Landroid/os/VibrationEffect$OneShot;->mAmplitude:I