/external/chromium_org/third_party/skia/src/core/ |
SkPoint.cpp | 115 float mag, scale; local 117 mag = sk_float_sqrt(mag2); 118 scale = 1 / mag; 126 mag = (float)magmag; 129 // mag, but it is possible that mag has overflowed to inf. but still 134 return mag;
|
/external/skia/src/core/ |
SkPoint.cpp | 115 float mag, scale; local 117 mag = sk_float_sqrt(mag2); 118 scale = 1 / mag; 126 mag = (float)magmag; 129 // mag, but it is possible that mag has overflowed to inf. but still 134 return mag;
|
/hardware/akm/AK8975_FS/akmdfs/ |
AKFS_APIs.c | 142 @param[in] mag A set of measurement data from magnetometer. X axis value 143 should be in mag[0], Y axis value should be in mag[1], Z axis value should be 144 in mag[2]. 153 const int16 mag[3], 166 __FUNCTION__, mag[0], mag[1], mag[2], status); 171 mag, 249 AKMDATA(AKMDATA_MAG, "Mag(%d):%8.2f, %8.2f, %8.2f\n" [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 226 double mag = Math.sqrt(vector[0] * vector[0] + vector[1] * vector[1] + vector[2] local 228 vector[0] /= mag; 229 vector[1] /= mag; 230 vector[2] /= mag;
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 620 GLfloat mag; local 628 mag = (float)sqrt(z[0] * z[0] + z[1] * z[1] + z[2] * z[2]); 629 if (mag) { /* mpichler, 19950515 */ 630 z[0] /= mag; 631 z[1] /= mag; 632 z[2] /= mag; 655 mag = (float)sqrt(x[0] * x[0] + x[1] * x[1] + x[2] * x[2]); 656 if (mag) { 657 x[0] /= mag; 658 x[1] /= mag; [all...] |
/frameworks/base/libs/hwui/ |
Texture.h | 51 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
|
AssetAtlas.cpp | 99 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, 101 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget);
|
/frameworks/native/opengl/tests/angeles/ |
demo.c | 620 GLfloat mag; local 628 mag = (float)sqrt(z[0] * z[0] + z[1] * z[1] + z[2] * z[2]); 629 if (mag) { /* mpichler, 19950515 */ 630 z[0] /= mag; 631 z[1] /= mag; 632 z[2] /= mag; 655 mag = (float)sqrt(x[0] * x[0] + x[1] * x[1] + x[2] * x[2]); 656 if (mag) { 657 x[0] /= mag; 658 x[1] /= mag; [all...] |
/external/libvorbis/lib/ |
psytune.c | 439 float mag=pcmM[j]; local 442 if(mag>0) 444 pcmM[j]=mag; 445 pcmA[j]=mag-ang; 447 pcmA[j]=mag; 448 pcmM[j]=mag+ang; 452 pcmM[j]=mag; 453 pcmA[j]=mag+ang; 455 pcmA[j]=mag; 456 pcmM[j]=mag-ang [all...] |
mapping0.c | 767 float mag=pcmM[j]; local 770 if(mag>0) 772 pcmM[j]=mag; 773 pcmA[j]=mag-ang; 775 pcmA[j]=mag; 776 pcmM[j]=mag+ang; 780 pcmM[j]=mag; 781 pcmA[j]=mag+ang; 783 pcmA[j]=mag; 784 pcmM[j]=mag-ang [all...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 107 public static float mag(float a, float b) { method in class:MathUtils 111 public static float mag(float a, float b, float c) { method in class:MathUtils
|
/frameworks/native/services/sensorservice/ |
SensorFusion.cpp | 76 const vec3_t mag(event.data); 77 mFusion.handleMag(mag);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_state_inlines.h | 263 static INLINE uint32_t r300_translate_tex_filters(int min, int mag, int mip, 281 switch (mag) { 290 fprintf(stderr, "r300: Unknown texture filter %d\n", mag);
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_state_inlines.h | 263 static INLINE uint32_t r300_translate_tex_filters(int min, int mag, int mip, 281 switch (mag) { 290 fprintf(stderr, "r300: Unknown texture filter %d\n", mag);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 122 float mag = GeometryMathUtils.vectorLength( local 124 if (mag < oldMag) { 125 oldMag = mag;
|
/external/chromium_org/mojo/examples/sample_app/ |
spinning_cube.cc | 247 GLfloat mag = sqrtf(x * x + y * y + z * z); local 251 if (mag > 0.0f) { 256 x /= mag; 257 y /= mag; 258 z /= mag;
|
/external/chromium_org/ppapi/examples/compositor/ |
spinning_cube.cc | 230 GLfloat mag = sqrtf(x * x + y * y + z * z); local 234 if (mag > 0.0f) { 239 x /= mag; 240 y /= mag; 241 z /= mag;
|
/external/chromium_org/ppapi/examples/gles2_spinning_cube/ |
spinning_cube.cc | 246 GLfloat mag = sqrtf(x * x + y * y + z * z); local 250 if (mag > 0.0f) { 255 x /= mag; 256 y /= mag; 257 z /= mag;
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 313 float mag; local 314 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]); 315 if (mag) { 316 q[0] /= mag; 317 q[1] /= mag; 318 q[2] /= mag; 319 q[3] /= mag;
|
/external/pdfium/core/src/fxcrt/ |
fx_extension.cpp | 311 static FX_DWORD mag[2] = {0, MT_Matrix_A};
local 321 pBuf[kk] = pBuf[kk + MT_M] ^ (v >> 1) ^ mag[v & 1];
325 pBuf[kk] = pBuf[kk + (MT_M - MT_N)] ^ (v >> 1) ^ mag[v & 1];
328 pBuf[MT_N - 1] = pBuf[MT_M - 1] ^ (v >> 1) ^ mag[v & 1];
|
/external/stlport/src/ |
complex.cpp | 170 _Tp mag = ::hypot(re, im); local 173 if (mag == 0.f) { 176 result._M_re = ::sqrt(0.5f * (mag + re)); 179 result._M_im = ::sqrt(0.5f * (mag - re));
|
/external/tremolo/Tremolo/ |
codec_internal.h | 161 unsigned char mag; member in struct:coupling_step
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
sobeloperator.cpp | 84 unsigned char* mag = magPtr; local
|
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 170 _Tp mag = ::hypot(re, im); local 173 if (mag == 0.f) { 176 result._M_re = ::sqrt(0.5f * (mag + re)); 179 result._M_im = ::sqrt(0.5f * (mag - re));
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/ |
vp9_dx_iface.c | 319 const uint32_t mag = ((marker >> 3) & 0x3) + 1; local 320 const size_t index_sz = 2 + mag * frames; 330 // frames has a maximum of 8 and mag has a maximum of 4. 332 assert(sizeof(clear_buffer) >= frames * mag); 334 decrypt_cb(decrypt_state, x, clear_buffer, frames * mag); 341 for (j = 0; j < mag; j++)
|