Lines Matching refs:scaleRatio
5591 int scaleRatio = mGyroScale / mGyroSelfTestScale;
5593 LOGV_IF(ENG_VERBOSE, "HAL: scaleRatio used =%d", scaleRatio);
5598 (((int) (((float) mFactoryGyroBias[0]) / 65536.f * scaleRatio)) * -1 / offsetScale),
5601 (((int) (((float) mFactoryGyroBias[0]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0)
5607 (((int) (((float) mFactoryGyroBias[1]) / 65536.f * scaleRatio)) * -1 / offsetScale),
5610 (((int) (((float) mFactoryGyroBias[1]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0)
5616 (((int) (((float) mFactoryGyroBias[2]) / 65536.f * scaleRatio)) * -1 / offsetScale),
5619 (((int) (((float) mFactoryGyroBias[2]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0)
5755 int scaleRatio = mAccelScale / mAccelSelfTestScale;
5759 LOGV_IF(ENG_VERBOSE, "HAL: scaleRatio used =%d", scaleRatio);
5763 tempBias = -mFactoryAccelBias[0] / 65536.f * scaleRatio / offsetScale;
5770 tempBias = -mFactoryAccelBias[1] / 65536.f * scaleRatio / offsetScale;
5777 tempBias = -mFactoryAccelBias[2] / 65536.f * scaleRatio / offsetScale;