Searched refs:maxAmplitude (Results 1 – 11 of 11) sorted by relevance
66 float resonantFrequencyHz, qFactor, maxAmplitude; in setParameter() local68 OK != param.readFromValue(&qFactor) || OK != param.readFromValue(&maxAmplitude)) { in setParameter()74 .maxAmplitude = maxAmplitude}); in setParameter()
27 float maxAmplitude;
173 auto maxAmplitude = std::numeric_limits<uint8_t>::max(); in TEST_F() local174 ASSERT_TRUE(mWrapper->setAmplitude(1.0f / maxAmplitude).isOk()); in TEST_F()175 ASSERT_TRUE(mWrapper->setAmplitude(2.0f / maxAmplitude).isUnsupported()); in TEST_F()176 ASSERT_TRUE(mWrapper->setAmplitude(3.0f / maxAmplitude).isFailed()); in TEST_F()177 ASSERT_TRUE(mWrapper->setAmplitude(4.0f / maxAmplitude).isFailed()); in TEST_F()
240 int32_t maxAmplitude = -1; in TEST_F() local241 status_t status = mStfRecorder->getMaxAmplitude(&maxAmplitude); in TEST_F()242 ASSERT_EQ(maxAmplitude, 0) << "Invalid value of max amplitude"; in TEST_F()
42 mParams.mVibratorInfo.maxAmplitude = 0.f; in HapticGeneratorContext()180 mParams.mVibratorInfo.maxAmplitude /* limit */); in process()
191 void setHapticMaxAmplitude(float maxAmplitude) final { in setHapticMaxAmplitude() argument192 mHapticMaxAmplitude = maxAmplitude; in setHapticMaxAmplitude()
351 virtual void setHapticMaxAmplitude(float maxAmplitude) = 0;
1603 vibratorInfoPtr[2] = vibratorInfo.maxAmplitude; in setVibratorInfo_l()
2925 track->setHapticMaxAmplitude(vibratorInfo->maxAmplitude); in addTrack_l()
344 const float maxAmplitude = *((float *) value + 2); in HapticGenerator_SetParameter() local350 context->param.maxHapticAmplitude = maxAmplitude; in HapticGenerator_SetParameter()
3046 vibratorInfo.maxAmplitude = in android_media_AudioSystem_setVibratorInfos()