Searched defs:dot (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/
H A DVector.h101 float dot(const Vector2& v) const { function in struct:android::uirenderer::Vector2
/frameworks/base/media/mca/filterpacks/native/base/
H A Dvec_types.h91 T dot(const Vec<T,dim> &x, const Vec<T,dim> &y) { function in namespace:android::filterfw
/frameworks/compile/mclinker/include/mcld/Support/
H A DPath.h40 const char dot = '.'; member in namespace:mcld::sys::fs
/frameworks/base/core/jni/android/graphics/
H A DCamera.cpp88 SkScalar dot = v->dotWithNormal(SkFloatToScalar(x), SkFloatToScalar(y), local
90 return SkScalarToFloat(dot);
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp33 const char *dot = fileName + strlen(fileName); local
34 const char *slash = dot - 1;
39 if ((*slash == '.') && (*dot == 0)) {
40 dot = slash;
45 return string(slash, dot - slash);
67 const char *dot = rsFileName + strlen(rsFileName); local
68 const char *slash = dot - 1;
73 if ((*slash == '.') && (*dot == 0)) {
74 dot = slash;
81 for (; (i < 255) && (slash < dot);
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringHash.h283 unsigned int dot = 0; local
289 ++dot;
313 result |= (dot << 28);
/frameworks/native/include/ui/
H A DTVecHelpers.h351 T PURE dot(const BASE<T>& lv, const BASE<RT>& rv) { function in class:android::TVecFunctions
360 return sqrt( dot(lv, lv) );
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp118 uint32_t dot :1; // [12] member in struct:android::renderscript::__anon1610::__anon1611
219 // Look for a dot product where the r,g,b colums are the same
225 if (!key.u.addMask) key.u.dot = 1;
324 DEF_SYM(dot)
431 if (!key.u.dot) {
605 // If we have a dot product, perform the special pack.
606 if (key.u.dot) {
608 ADD_CHUNK(dot);
647 key.u.dot = 0;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.h177 const double dot = weight_.DotProduct(sample); local
182 return dot;
184 return pow(kernel_gain_ * dot + kernel_bias_, kernel_param_);
188 return exp(-1 * kernel_param_ * (w_square + s_square - 2 * dot));
213 // the dot product while calculating the kernel function. Kernel param is
/frameworks/native/libs/input/
H A DVelocityTracker.cpp468 float dot = vectorDot(&q[j][0], &q[i][0], m); local
470 q[j][h] -= dot * q[i][h];
/frameworks/rs/driver/runtime/
H A Drs_cl.c907 extern float __attribute__((overloadable)) dot(float lhs, float rhs) { function
910 extern float __attribute__((overloadable)) dot(float2 lhs, float2 rhs) { function
913 extern float __attribute__((overloadable)) dot(float3 lhs, float3 rhs) { function
916 extern float __attribute__((overloadable)) dot(float4 lhs, float4 rhs) { function
/frameworks/base/services/input/
H A DInputReader.cpp5120 // Calculate the dot product of the displacement vectors.
5123 // approches 1.0. Recall that dot(v1, v2) = cos(angle) * mag(v1) * mag(v2).
5130 float dot = dx1 * dx2 + dy1 * dy2; local
5131 float cosine = dot / (dist1 * dist2); // denominator always > 0

Completed in 342 milliseconds