Home
last modified time | relevance | path

Searched refs:dT (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/sensorservice/
DFusion.cpp218 void Fusion::initFusion(const vec4_t& q, float dT) in initFusion() argument
234 const float dT2 = dT*dT; in initFusion()
235 const float dT3 = dT2*dT; in initFusion()
238 const float q00 = mParam.gyroVar * dT + 0.33333f * mParam.gyroBiasVar * dT3; in initFusion()
241 const float q11 = mParam.gyroBiasVar * dT; in initFusion()
261 bool Fusion::checkInitComplete(int what, const vec3_t& d, float dT) { in checkInitComplete() argument
270 mGyroRate = dT; in checkInitComplete()
277 mGyroRate = dT; in checkInitComplete()
278 mData[2] += d*dT; in checkInitComplete()
313 void Fusion::handleGyro(const vec3_t& w, float dT) { in handleGyro() argument
[all …]
DFusion.h66 void handleGyro(const vec3_t& w, float dT);
67 status_t handleAcc(const vec3_t& a, float dT);
92 void initFusion(const vec4_t& q0, float dT);
94 void predict(const vec3_t& w, float dT);
DSensorFusion.cpp74 float dT; in process() local
78 dT = (event.timestamp - mGyroTime) / 1000000000.0f; in process()
80 const float freq = 1 / dT; in process()
82 const float alpha = 1 / (1 + dT); // 1s time-constant in process()
90 mFusions[i].handleGyro(gyro, dT); in process()
103 float dT; in process() local
106 dT = (event.timestamp - mAccTime) / 1000000000.0f; in process()
111 mFusions[i].handleAcc(acc, dT); in process()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java414 float dT = (mT[j] - mT[j + 1]) * ns; in filter() local
415 dT *= dT; in filter()
416 A += Z * dT; in filter()
417 B += T * (T * dT); in filter()
418 C += (T * dT); in filter()
419 D += Z * (T * dT); in filter()
420 E += dT; in filter()
/frameworks/base/libs/common_time/
Dclock_recovery.cpp93 const float ClockRecoveryLoop::dT = 1.0; member in android::ClockRecoveryLoop
98 const float ClockRecoveryLoop::bias_RC = (dT / (2 * 3.14159f * bias_Fc));
99 const float ClockRecoveryLoop::bias_Alpha = (dT / (bias_RC + dT));
255 delta_f = last_delta_f_ - dT*(CO - CObias); in pushDisciplineEvent()
260 dCO = Kc * (1.0f + dT/Ti) * delta_f - Kc * last_delta_f_; in pushDisciplineEvent()
Dclock_recovery.h60 static const float dT;
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password146 � [�<��͝�0�bJ�d�-�M��*�1/B[et�b�ㆁ�p�biL�M�5��@��d��V%�u�l��5��UK#�q��dT�|��IS�5It� �g2…