/hardware/invensense/mlsdk/mllite/ |
mlSetGyroBias.h | 40 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode); 41 inv_error_t inv_set_gyro_bias_in_dps(const long *bias, int mode); 42 inv_error_t inv_set_gyro_bias_in_dps_float(const float *bias, int mode); 43 void inv_convert_bias(const unsigned char *regs, short *bias);
|
mlSetGyroBias.c | 49 /** Converts from internal DMP gyro bias registers to external hardware gyro bias by 52 void inv_convert_bias(const unsigned char *regs, short *bias) 67 // Rotate bias vector by the transpose of the orientation matrix 82 bias[i] = (short)(biasPrev[i] - biasTmp[i]); 89 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode) 91 if (sgb.currentBias[0] != bias[0]) 93 if (sgb.currentBias[1] != bias[1]) 95 if (sgb.currentBias[2] != bias[2]) 98 memcpy(sgb.currentBias, bias, sizeof(sgb.currentBias)) [all...] |
compass.h | 79 inv_error_t inv_set_compass_bias(long *bias);
|
compass.c | 358 * @brief Sets the compass bias. 359 * @param bias 360 * Compass bias, length 3. Scale is micro Tesla's * 2^16. 364 inv_error_t inv_set_compass_bias(long *bias) 370 inv_obj.compass_bias[0] = bias[0]; 371 inv_obj.compass_bias[1] = bias[1]; 372 inv_obj.compass_bias[2] = bias[2]; 374 // Find Bias in units of the raw data scaled by 2^16 in chip mounting frame 376 (long)(bias[0] * (1LL << 30) / inv_obj.compass_sens) + 379 (long)(bias[1] * (1LL << 30) / inv_obj.compass_sens) [all...] |
/frameworks/base/services/sensorservice/ |
CorrectedGyroSensor.cpp | 48 const vec3_t bias(mSensorFusion.getGyroBias()); 50 outEvent->data[0] -= bias.x; 51 outEvent->data[1] -= bias.y; 52 outEvent->data[2] -= bias.z;
|
/external/icu4c/test/intltest/ |
punyref.c | 106 /*** Bias adaptation function ***/ 133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; local 140 bias = initial_bias; 192 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed */ 193 k >= bias + tmax ? tmax : k - bias; 200 bias = adapt(delta, h + 1, h == b); 222 punycode_uint n, out, i, max_out, bias, local 230 bias = initial_bias; 264 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed * [all...] |
/external/openssl/crypto/bn/asm/ |
sparcv9a-mont.pl | 63 $bias=2047; 66 $bias=0; 148 add %sp,$bias,%o0 ! real top of stack 153 sub %o0,$bias,%sp ! alloca(5*num*8) 156 add %sp,$bias+$frame+$locals,$tp 170 stx %o7,[%sp+$bias+$frame+48] ! save %asi 192 stx %o0,[%sp+$bias+$frame+0] 214 ldda [%sp+$bias+$frame+6]%asi,$na 216 ldda [%sp+$bias+$frame+4]%asi,$nb 218 ldda [%sp+$bias+$frame+2]%asi,$n [all...] |
sparcv9-mont.pl | 55 if ($bits==64) { $bias=2047; $frame=192; } 56 else { $bias=0; $frame=128; } 100 add %sp,$bias,%o7 ! real top of stack 106 sub %o7,$bias,%sp ! alloca 114 add %sp,$bias+$frame,$tp 174 add %sp,$bias+$frame,$tp 304 add %sp,$bias+$frame,$tp 377 ld [%sp+$bias+$frame],$tmp0 ! tp[0] 378 ld [%sp+$bias+$frame+4],$tmp1 ! tp[1] 379 ld [%sp+$bias+$frame+8],$tpj ! tp[2 [all...] |
/external/icu4c/i18n/ |
wintzimpl.cpp | 36 static UBool getSystemTimeInformation(TimeZone *tz, SYSTEMTIME &daylightDate, SYSTEMTIME &standardDate, int32_t &bias, int32_t &daylightBias, int32_t &standardBias) { 46 bias = -1 * (initial->getRawOffset()/60000); 58 bias = -1 * (std->getRawOffset()/60000); 122 int32_t bias; local 128 if (getSystemTimeInformation(tz, daylightDate, standardDate, bias, daylightBias, standardBias)) { 130 zoneInfo->Bias = bias; 145 * information to put into zoneInfo. This includes bias and standard time date and daylight saving date.
|
/external/skia/src/core/ |
SkFloatBits.cpp | 162 int bias = 8 - SkCLZ(value); local 163 SkDebugf("value = %d, bias = %d\n", value, bias); 164 SkASSERT(bias > 0 && bias < 8); 165 value >>= bias; // need to round? local 166 shift += bias;
|
SkFloat.cpp | 78 int bias = 8 - SkCLZ(value); local 79 SkASSERT(bias > 0 && bias < 8); 80 value >>= bias; local 81 shift += bias;
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEConvolveMatrix.h | 60 float bias() const; 91 float bias; member in struct:WebCore::FEConvolveMatrix::PaintingData
|
FEConvolveMatrix.cpp | 38 float divisor, float bias, const IntPoint& targetOffset, EdgeModeType edgeMode, 43 , m_bias(bias) 53 float divisor, float bias, const IntPoint& targetOffset, EdgeModeType edgeMode, 56 return adoptRef(new FEConvolveMatrix(filter, kernelSize, divisor, bias, targetOffset, edgeMode, kernelUnitLength, 94 float FEConvolveMatrix::bias() const function in class:WebCore::FEConvolveMatrix 99 bool FEConvolveMatrix::setBias(float bias) 101 if (m_bias == bias) 103 m_bias = bias; 225 ALWAYS_INLINE void setDestinationPixels(ByteArray* image, int& pixel, float* totals, float divisor, float bias, ByteArray* src) 227 unsigned char maxAlpha = preserveAlphaValues ? 255 : clampRGBAValue(totals[3] / divisor + bias); [all...] |
/external/icu4c/common/ |
punycode.c | 157 /* Bias adaptation function. */ 185 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; local 291 bias=INITIAL_BIAS; 328 t=k-bias; 336 t=k-bias; 339 } else if(k>=(bias+TMAX)) { 358 bias=adaptBias(delta, handledCPCount+1, (UBool)(handledCPCount==basicLength)); 376 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 428 bias=INITIAL_BIAS; 465 t=k-bias; [all...] |
wintz.c | 35 int32_t bias; member in struct:__anon6250 243 tziKey.bias = apiTZI.Bias; 265 Using the bias and the rules suffices, so overwrite
|
/external/webkit/Source/WebCore/svg/ |
SVGFEConvolveMatrixElement.idl | 45 readonly attribute SVGAnimatedNumber bias;
|
SVGFEConvolveMatrixElement.h | 62 DECLARE_ANIMATED_NUMBER(Bias, bias)
|
/external/openssl/crypto/sha/asm/ |
sha512-sparcv9.pl | 47 if ($bits==64) { $bias=2047; $frame=192; } 48 else { $bias=0; $frame=112; } 185 $ST $tmp2,[%sp+`$bias+$frame+$i*$SZ`] 192 ld [%sp+`$bias+$frame+(($i+1+1)%16)*$SZ+0`],%l2 195 ld [%sp+`$bias+$frame+(($i+1+1)%16)*$SZ+4`],%l3 197 ld [%sp+`$bias+$frame+(($i+1+9)%16)*$SZ+0`],%l4 200 ld [%sp+`$bias+$frame+(($i+1+9)%16)*$SZ+4`],%l5 202 ld [%sp+`$bias+$frame+(($i+1+14)%16)*$SZ+0`],%l6 204 $ST $tmp2,[%sp+`$bias+$frame+$i*$SZ`] 205 ld [%sp+`$bias+$frame+(($i+1+14)%16)*$SZ+4`],%l [all...] |
/external/mesa3d/src/glsl/ |
loop_controls.cpp | 122 const int bias[] = { -1, 0, 1 }; local 125 for (unsigned i = 0; i < Elements(bias); i++) { 127 ? new(mem_ctx) ir_constant(iter_value + bias[i]) 128 : new(mem_ctx) ir_constant(float(iter_value + bias[i])); 144 iter_value += bias[i];
|
ir_rvalue_visitor.cpp | 61 handle_rvalue(&ir->lod_info.bias);
|
/build/tools/zipalign/ |
ZipAlign.cpp | 51 int bias = 0; local 76 long newOffset = pEntry->getFileOffset() + bias; 81 // bias, (long) pEntry->getUncompressedLen(), padding); 87 bias += padding;
|
/external/jpeg/ |
jcsample.c | 204 * A note about the "bias" calculations: when rounding fractional values to 206 * If we did that, we'd introduce a noticeable bias towards larger values. 219 register int bias; local 231 bias = 0; /* bias = 0,1,0,1,... for successive samples */ 234 + bias) >> 1); 235 bias ^= 1; /* 0=>1, 1=>0 */ 256 register int bias; local 270 bias = 1; /* bias = 1,2,1,2,... for successive samples * [all...] |
/external/skia/samplecode/ |
SampleColorFilter.cpp | 26 int bias = 0; local 28 bias = -1; 30 bias = 1; 32 return trunc + bias;
|
/hardware/invensense/mlsdk/mlutils/ |
mputest.c | 246 * bias level threshold, the maximun acceptable no motion bias 288 * output pointer to store the initial bias calculation provided 468 /* 2nd, check bias from X and Y PLL clock source */ 477 MPL_LOGI("bias : %+13.3f %+13.3f %+13.3f (LSB)\n", 488 MPL_LOGI("%s-Gyro bias (%.0f) exceeded threshold " 559 * output pointer to store the initial bias calculation provided 744 /* 2nd, check bias from X and Y PLL clock source */ 753 MPL_LOGI("bias : %+13.3f %+13.3f %+13.3f (LSB)\n", 825 * and calculate the necessary bias correction [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
CameraSystem.java | 127 // Only respect the bias if the target is moving. No camera motion without 231 public void addCameraBias(Vector2 bias) { 232 final float x = bias.x - mFocalPosition.x; 233 final float y = bias.y - mFocalPosition.y;
|