Home
last modified time | relevance | path

Searched refs:dot (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DKalmanFilter.java37 mx = mF.dot(mx); in predict()
38 mP = mF.dot(mP).dotTranspose(mF).plus(mQ); in predict()
45 Matrix y = z.minus(mH.dot(mx)); in update()
46 Matrix tS = mH.dot(mP).dotTranspose(mH).plus(mR); in update()
47 Matrix tK = mP.dotTranspose(mH).dot(tS.inverse()); in update()
48 mx = mx.plus(tK.dot(y)); in update()
49 mP = mP.minus(tK.dot(mH).dot(mP)); in update()
DMatrix.java189 public Matrix dot(Matrix that) { in dot() method in Matrix
190 return dot(that, new Matrix(this.n, that.m)); in dot()
203 public Matrix dot(Matrix that, Matrix result) { in dot() method in Matrix
/frameworks/compile/mclinker/lib/Script/
DTernaryOp.cpp42 uint64_t dot = m_pOperand[0]->value(); in eval() local
47 alignAddress(dot, maxPageSize); in eval()
49 form1 = dot + (dot & (maxPageSize - 1)); in eval()
50 form2 = dot + (dot & (maxPageSize - commonPageSize)); in eval()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp36 const char *dot = fileName + strlen(fileName); in GetFileNameStem() local
37 const char *slash = dot - 1; in GetFileNameStem()
42 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
43 dot = slash; in GetFileNameStem()
48 return string(slash, dot - slash); in GetFileNameStem()
70 const char *dot = rsFileName + strlen(rsFileName); in InternalFileNameConvert() local
71 const char *slash = dot - 1; in InternalFileNameConvert()
76 if ((*slash == '.') && (*dot == 0)) { in InternalFileNameConvert()
77 dot = slash; in InternalFileNameConvert()
84 for (; (i < 255) && (slash < dot); ++slash) { in InternalFileNameConvert()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp339 Output::dot_iterator dot = (*it)->find_first_explicit_dot(); in fixupDotSymbols() local
340 if (dot != (*it)->dot_end() && (*dot).symbol().isDot() && in fixupDotSymbols()
341 (*dot).getRpnExpr().hasDot()) { in fixupDotSymbols()
346 Output::dot_iterator ref = (*it)->dotAssignments().insert(dot, assign); in fixupDotSymbols()
347 for (RpnExpr::iterator tok = (*dot).getRpnExpr().begin(), in fixupDotSymbols()
348 tokEnd = (*dot).getRpnExpr().end(); in fixupDotSymbols()
360 Output::dot_iterator dot = (*it)->find_last_explicit_dot(); in fixupDotSymbols() local
361 if (dot == (*it)->dot_end()) { in fixupDotSymbols()
366 dot = (*it)->dotAssignments().insert(dot, assign); in fixupDotSymbols()
374 *tok = &((*dot).symbol()); in fixupDotSymbols()
/frameworks/av/media/libmedia/docs/
DMakefile1 paused.png : paused.dot
2 dot -Tpng < $< > $@
/frameworks/native/libs/math/include/math/
DTQuatHelpers.h167 constexpr T PURE dot(const QUATERNION<T>& p, const QUATERNION<RT>& q) { in dot() function
176 return std::sqrt( dot(q, q) ); in norm()
186 return dot(q, q); in length2()
201 return conj(q) * (1 / dot(q, q)); in inverse()
247 const T d = dot(p, q); in slerp()
248 const T npq = sqrt(dot(p, p) * dot(q, q)); // ||p|| * ||q|| in slerp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java95 assertEquals(m3, m1.dot(m2)); in testMultiplication()
107 Matrix m12 = m1.dot(m2); in testInverse()
108 Matrix m21 = m2.dot(m1); in testInverse()
164 assertEquals(m1.dot(m2.transpose()), m1.dotTranspose(m2)); in testMultiplicationByTranspose()
/frameworks/rs/script_api/include/
Drs_vector_math.rsh102 * dot: Dot product of two vectors
104 * Computes the dot product of two vectors.
107 dot(float left_vector, float right_vector);
110 dot(float2 left_vector, float2 right_vector);
113 dot(float3 left_vector, float3 right_vector);
116 dot(float4 left_vector, float4 right_vector);
120 dot(half left_vector, half right_vector);
125 dot(half2 left_vector, half2 right_vector);
130 dot(half3 left_vector, half3 right_vector);
135 dot(half4 left_vector, half4 right_vector);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java44 private static double dot(double[] a, double[] b) { in dot() method in Quaternion
49 double norm = Math.sqrt(dot(a, a)); in normal()
57 double angle = Math.acos(dot(vec1, vec2)); in set()
64 return Math.acos(Math.min(dot(vec1, vec2), 1)); in calcAngle()
Dbugdroid.rscript31 if (dot(p2 - p1, img - p1) > 0 && dot(p1 - p2, img - p2) > 0) {
49 float dot1 = dot(p2 - p1, img - p1);
50 float dot2 = dot(p1 - p2, img - p2);
71 float tmp1 = dot(normal, pc);
86 float tmp1 = dot(normal, pc);
89 if (length(pc - dot(normal, pc) * normal) > radius) {
DVectorUtil.java35 public static double dot(double[] a, double[] b) { in dot() method in VectorUtil
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.rscript25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.rscript25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dgreyscale.rscript25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/driver/runtime/
Drs_matrix.c371 float distToCenter = dot(left->xyz, sphere->xyz) + left->w; in rsIsSphereInFrustum()
375 distToCenter = dot(right->xyz, sphere->xyz) + right->w; in rsIsSphereInFrustum()
379 distToCenter = dot(top->xyz, sphere->xyz) + top->w; in rsIsSphereInFrustum()
383 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w; in rsIsSphereInFrustum()
387 distToCenter = dot(near->xyz, sphere->xyz) + near->w; in rsIsSphereInFrustum()
391 distToCenter = dot(far->xyz, sphere->xyz) + far->w; in rsIsSphereInFrustum()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DVelocityBasedConnectedScore.java55 mFilter.mQ = tG.dotTranspose(tG).dot(new Matrix(2, new double[]{ in setDeltaTimeSeconds()
177 x = mFilter.mF.dot(x); in generateScore()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp114 uint32_t dot :1; // [12] member
255 if (!key.u.addMask) key.u.dot = 1; in computeKey()
360 DEF_SYM(dot) in DEF_SYM()
468 if (key.u.dot) in selectKernel()
506 if (!key.u.dot) { in build()
683 if (key.u.dot) { in build()
685 ADD_CHUNK(dot); in build()
724 key.u.dot = 0; in build()
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h259 unsigned int dot = 0;
265 ++dot;
289 result |= (dot << 28);
/frameworks/rs/script_api/
Drs_vector_math.spec89 function: dot
99 Computes the dot product of two vectors.
103 function: dot
Drs_matrix.spec137 float distToCenter = dot(left->xyz, sphere->xyz) + left->w;
141 distToCenter = dot(right->xyz, sphere->xyz) + right->w;
145 distToCenter = dot(top->xyz, sphere->xyz) + top->w;
149 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w;
153 distToCenter = dot(near->xyz, sphere->xyz) + near->w;
157 distToCenter = dot(far->xyz, sphere->xyz) + far->w;
/frameworks/native/libs/ui/
DColorSpace.cpp90 return {{r.xy / dot(r, float3{1}), in computePrimaries()
91 g.xy / dot(g, float3{1}), in computePrimaries()
92 b.xy / dot(b, float3{1})}}; in computePrimaries()
97 return w.xy / dot(w, float3{1}); in computeWhitePoint()
/frameworks/base/core/jni/android/graphics/
DCamera.cpp111 SkScalar dot = v->dotWithNormal(x, y, z); in Camera_dotWithNormal() local
112 return SkScalarToFloat(dot); in Camera_dotWithNormal()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dgreyscale_f.rscript23 return dot(in, gMonoMult);
/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/
Dmono.rscript25 float3 mono = dot(f4.rgb, gMonoMult);

1234