Lines Matching refs:offsetScale
5230 int offsetScale = 4; in setFactoryGyroBias() local
5232 LOGV_IF(ENG_VERBOSE, "HAL: offsetScale used =%d", offsetScale); in setFactoryGyroBias()
5236 (((int) (((float) mFactoryGyroBias[0]) / 65536.f * scaleRatio)) * -1 / offsetScale), in setFactoryGyroBias()
5239 (((int) (((float) mFactoryGyroBias[0]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0) in setFactoryGyroBias()
5245 (((int) (((float) mFactoryGyroBias[1]) / 65536.f * scaleRatio)) * -1 / offsetScale), in setFactoryGyroBias()
5248 (((int) (((float) mFactoryGyroBias[1]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0) in setFactoryGyroBias()
5254 (((int) (((float) mFactoryGyroBias[2]) / 65536.f * scaleRatio)) * -1 / offsetScale), in setFactoryGyroBias()
5257 (((int) (((float) mFactoryGyroBias[2]) / 65536.f * scaleRatio)) * -1 / offsetScale)) < 0) in setFactoryGyroBias()
5364 int offsetScale = 16; in setFactoryAccelBias() local
5368 LOGV_IF(ENG_VERBOSE, "HAL: offsetScale used =%d", offsetScale); in setFactoryAccelBias()
5371 tempBias = -mFactoryAccelBias[0] / 65536.f * scaleRatio / offsetScale; in setFactoryAccelBias()
5378 tempBias = -mFactoryAccelBias[1] / 65536.f * scaleRatio / offsetScale; in setFactoryAccelBias()
5385 tempBias = -mFactoryAccelBias[2] / 65536.f * scaleRatio / offsetScale; in setFactoryAccelBias()