/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 72 public Vec norm() { method in class:BouncyDroid.BouncyView.World.Vec 261 springForce = springForce.norm().mul(mag); 290 mBody.v = mBody.v.norm().mul(MAX_SPEED);
|
/external/aac/libSBRenc/src/ |
tran_det.cpp | 939 int i, norm; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
Rotation.java | 171 * @exception ArithmeticException if the axis norm is zero 175 double norm = axis.getNorm(); local 176 if (norm == 0) { 181 double coeff = FastMath.sin(halfAngle) / norm; 204 * the Frobenius norm of the correction needed is above the given 211 * difference between two steps of the Frobenius norm of the 248 // which unfortunately can be zero. Since the norm of the 311 * @exception IllegalArgumentException if the norm of one of the vectors is zero 446 * @exception IllegalArgumentException if the norm of one of the vectors is zero [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
AbstractRealVector.java | 223 double norm = 0; local 227 norm += FastMath.abs(e.getValue()); 229 return norm; 234 double norm = 0; local 238 norm = FastMath.max(norm, FastMath.abs(e.getValue())); 240 return norm;
|
/external/icu/icu4c/source/test/cintltst/ |
callcoll.c | 279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 345 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 382 if(getTestOption(QUICK_OPTION) <= 0 && norm != UCOL_ON) { 386 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); [all...] |
cnormtst.c | 663 UChar norm[100]; local 672 norm + normsize, 100 - normsize, &status); 687 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { [all...] |
/external/icu/icu4c/source/test/intltest/ |
tstnorm.cpp | 165 Normalizer* norm = new Normalizer("", UNORM_NFD); local 170 backAndForth(norm, canonTests[i][0]); 174 norm->setMode(UNORM_NFC); 176 backAndForth(norm, canonTests[i][0]); 179 delete norm; 184 Normalizer* norm = new Normalizer("", UNORM_NFD); local 185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); 187 delete norm; 192 Normalizer* norm = new Normalizer("", UNORM_NFKD); local 193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1) 202 Normalizer* norm = new Normalizer("", UNORM_NFC); local 212 Normalizer* norm = new Normalizer("", UNORM_NFKC); local 232 Normalizer* norm = new Normalizer("", UNORM_NFC); local 254 Normalizer* norm = new Normalizer("", UNORM_NFD); local [all...] |
ssearch.cpp | 182 const UnicodeString *norm = testCase->getAttribute("norm"); local 183 TEST_ASSERT (norm==NULL || *norm=="ON" || *norm=="OFF"); 184 if (norm!=NULL && *norm=="ON") { [all...] |
/external/icu/icu4c/source/tools/gennorm2/ |
n2builder.cpp | 98 struct Norm { 177 normMem=utm_open("gennorm2 normalization structs", 10000, 0x110100, sizeof(Norm)); 178 norms=allocNorm(); // unused Norm struct at index 0 212 Norm *Normalizer2DataBuilder::allocNorm() { 213 Norm *p=(Norm *)utm_alloc(normMem); 214 norms=(Norm *)utm_getStart(normMem); // in case it got reallocated 218 /* get an existing Norm unit */ 219 Norm *Normalizer2DataBuilder::getNorm(UChar32 c) { 227 const Norm &Normalizer2DataBuilder::getNormRef(UChar32 c) const 450 Norm &norm=norms[value]; local 1058 const Norm &norm=norms[i]; local [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/ |
btConeTwistConstraint.cpp | 865 btScalar norm = 1 / (m_swingSpan2 * m_swingSpan2); local 866 norm += surfaceSlope2 / (m_swingSpan1 * m_swingSpan1); 867 btScalar swingLimit2 = (1 + surfaceSlope2) / norm; 910 btScalar norm = 1 / (m_swingSpan2 * m_swingSpan2); local 911 norm += surfaceSlope2 / (m_swingSpan1 * m_swingSpan1); 912 btScalar swingLimit2 = (1 + surfaceSlope2) / norm; [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btVector3.h | 268 /**@brief Return the norm (length) of the vector */ 269 SIMD_FORCE_INLINE btScalar norm() const function [all...] |
/external/libopus/celt/ |
bands.c | 119 /* We're adding one here to ensure the normalized band isn't larger than unity norm */ 359 opus_val16 norm; local 365 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right)); 366 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); 367 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm); 402 /* Compute the norm of X+Y and X-Y as |X|^2 + |Y|^2 +/- sum(xy) */ 699 mid and side because we know that 1) they have unit norm and 1363 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2; local [all...] |
celt_encoder.c | 257 opus_val32 norm; local 341 norm = SHL32(EXTEND32(len2),6+14)/ADD32(EPSILON,SHR32(mean,1)); 349 id = IMAX(0,IMIN(127,MULT16_32_Q15(tmp[i],norm))); /* Do not round to nearest */ 351 id = IMAX(0,IMIN(127,(int)floor(64*norm*tmp[i]))); /* Do not round to nearest */ 864 /* Use the L1 norm to model the entropy of the L/R signal vs the M/S signal */ [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
arc.c | 205 double norm = vector_normalize(v); local 206 double cosa = v[0] / norm; 207 double sina = v[1] / norm;
|
/external/opencv/cvaux/src/ |
cvhmm.cpp | 1501 float norm; local [all...] |
cvlmeds.cpp | 682 double norm, summ, best_norm; local 806 norm = 0; 819 norm += summ * summ; 822 norm = sqrt( norm ); 824 if( best_norm == -1 || norm < best_norm ) 830 best_norm = norm; [all...] |
cvtrifocal.cpp | 2417 double norm; local [all...] |
/external/opencv/cxcore/src/ |
cxutils.cpp | 716 double norm = 0, v; local 728 norm += v*v; 730 norm = sqrt(norm); 736 norm += v; 742 norm = MAX(norm,v); 745 norm = norm > DBL_EPSILON ? 1./norm : 0. [all...] |
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 330 float rad, norm, coefficient; local 357 norm = (float) cvNorm (&sample, 0, CV_L2); 358 coefficient = rad / norm; [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
matx.hpp | 265 template<typename _Tp, int m, int n> static double norm(const Matx<_Tp, m, n>& M); 266 template<typename _Tp, int m, int n> static double norm(const Matx<_Tp, m, n>& M, int normType); 297 - norm(v1) (euclidean norm) 833 double norm(const Matx<_Tp, m, n>& M) function in namespace:cv 839 double norm(const Matx<_Tp, m, n>& M, int normType) function in namespace:cv [all...] |
types.hpp | 129 double value = norm(pt); // L2 norm 1190 double norm(const Point_<_Tp>& pt) function in namespace:cv 1434 double norm(const Point3_<_Tp>& pt) function in namespace:cv [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
dwt.c | 498 /* Get norm of 5-3 wavelet. */ 521 /* Get norm of 9-7 wavelet. */ 541 OPJ_FLOAT64 norm = opj_dwt_norms_real[orient][level]; local 542 stepsize = (1 << (gain)) / norm;
|
/system/core/libpixelflinger/ |
trap.cpp | 391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4); local 392 nx = gglMulx(nx, norm, 21); 393 ny = gglMulx(ny, norm, 21); [all...] |
/development/ndk/platforms/android-3/include/linux/ |
videodev.h | 40 __u16 norm; member in struct:video_channel
|
/external/icu/icu4c/source/i18n/ |
usearch.cpp | 847 UChar *norm = NULL; local 856 norm = (UChar *)allocateMemory((size + 1) * sizeof(UChar), 861 size = unorm_normalize(text, safeoffset, UNORM_NFD, 0, norm, 863 if (U_FAILURE(*status) && norm != NULL) { 864 uprv_free(norm); 869 norm = buffer; 873 ucol_setText(coleiter, norm, size, status); [all...] |