Lines Matching refs:scaleRatio
5229 int scaleRatio = mGyroScale / mGyroSelfTestScale;
5231 LOGV_IF(ENG_VERBOSE, "HAL: scaleRatio used =%d", scaleRatio);
5236 (((int) (((float) mFactoryGyroBias[0]) / 65536.f * scaleRatio)) * -1 / offsetScale),
5239 (((int) (((float) mFactoryGyroBias[0]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0)
5245 (((int) (((float) mFactoryGyroBias[1]) / 65536.f * scaleRatio)) * -1 / offsetScale),
5248 (((int) (((float) mFactoryGyroBias[1]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0)
5254 (((int) (((float) mFactoryGyroBias[2]) / 65536.f * scaleRatio)) * -1 / offsetScale),
5257 (((int) (((float) mFactoryGyroBias[2]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0)
5363 int scaleRatio = mAccelScale / mAccelSelfTestScale;
5367 LOGV_IF(ENG_VERBOSE, "HAL: scaleRatio used =%d", scaleRatio);
5371 tempBias = -mFactoryAccelBias[0] / 65536.f * scaleRatio / offsetScale;
5378 tempBias = -mFactoryAccelBias[1] / 65536.f * scaleRatio / offsetScale;
5385 tempBias = -mFactoryAccelBias[2] / 65536.f * scaleRatio / offsetScale;