Home
last modified time | relevance | path

Searched refs:minFrequency (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/web/webview/ohos_adapter/sensor_adapter/src/
H A Dsensor_adapter_impl.cpp142 double minFrequency = 0.0; in GetOhosSensorMinSupportedFrequency() local
145 return minFrequency; in GetOhosSensorMinSupportedFrequency()
152 return minFrequency; in GetOhosSensorMinSupportedFrequency()
158 minFrequency = NANOSECONDS_IN_SECOND / static_cast<double>(maxSamplePeriod); in GetOhosSensorMinSupportedFrequency()
164 sensorTypeId, minFrequency); in GetOhosSensorMinSupportedFrequency()
165 return minFrequency; in GetOhosSensorMinSupportedFrequency()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/haptic_matcher/src/
H A Dcustom_vibration_matcher.cpp73 float minFrequency = firstIt->frequency; in NormalizedWaveInfo() local
77 minFrequency = (minFrequency < info.frequency) ? minFrequency : info.frequency; in NormalizedWaveInfo()
82 float frequencyEqualValue = (maxFrequency - minFrequency) / FREQUENCY_MAX; in NormalizedWaveInfo()
90 …normalizedValue.push_back(static_cast<int32_t>((info.frequency - minFrequency) / frequencyEqualVal… in NormalizedWaveInfo()