/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
H A D | greyscale.fs | 26 float3 mono = dot(f4.rgb, gMonoMult);
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/ |
H A D | greyscale.rs | 26 float3 mono = dot(f4.rgb, gMonoMult);
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 33 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/rs/scriptc/ |
H A D | rs_math.rsh | 167 float distToCenter = dot(left->xyz, sphere->xyz) + left->w; 171 distToCenter = dot(right->xyz, sphere->xyz) + right->w; 175 distToCenter = dot(top->xyz, sphere->xyz) + top->w; 179 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w; 183 distToCenter = dot(near->xyz, sphere->xyz) + near->w; 187 distToCenter = dot(far->xyz, sphere->xyz) + far->w;
|
H A D | rs_cl.rsh | 877 * Compute the dot product of two vectors. 881 _RS_RUNTIME float __attribute__((overloadable)) dot(float lhs, float rhs); 882 F_FUNC_FN_FN(dot)
|
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
H A D | rs_math.rsh | 167 float distToCenter = dot(left->xyz, sphere->xyz) + left->w; 171 distToCenter = dot(right->xyz, sphere->xyz) + right->w; 175 distToCenter = dot(top->xyz, sphere->xyz) + top->w; 179 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w; 183 distToCenter = dot(near->xyz, sphere->xyz) + near->w; 187 distToCenter = dot(far->xyz, sphere->xyz) + far->w;
|
H A D | rs_cl.rsh | 877 * Compute the dot product of two vectors. 881 _RS_RUNTIME float __attribute__((overloadable)) dot(float lhs, float rhs); 882 F_FUNC_FN_FN(dot)
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | stochastic_linear_ranker.h | 177 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/base/libs/hwui/ |
H A D | Vector.h | 101 float dot(const Vector2& v) const { function in struct:android::uirenderer::Vector2
|
H A D | PathRenderer.cpp | 87 return (normalA + normalB) / (1 + fabs(normalA.dot(normalB)));
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Camera.cpp | 88 SkScalar dot = v->dotWithNormal(SkFloatToScalar(x), SkFloatToScalar(y), local 90 return SkScalarToFloat(dot);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 126 int dot = line.indexOf(':'); 127 if (dot != -1) { 128 String key = line.substring(0, dot).trim(); 129 String value = line.substring(dot + 1).trim();
|
/frameworks/base/core/java/android/view/ |
H A D | GestureDetector.java | 486 // Check the dot product of current velocities. 500 final float dot = x + y; 501 if (dot < 0) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | GestureDetectorCompat.java | 256 // Check the dot product of current velocities. 270 final float dot = x + y; 271 if (dot < 0) {
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | vec_types.h | 91 T dot(const Vec<T,dim> &x, const Vec<T,dim> &y) { function in namespace:android::filterfw
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | carousel.rs | 248 0.0f // plane constant (= -dot(P, N)) 1241 float distance = sqrt(dot(delta, delta)); 1377 float div = dot(s1, e1); 1383 float u = dot(d, s1) * invDiv; 1387 float v = dot(ray->direction, s2) * invDiv; 1390 float t = dot(e2, s2) * invDiv; 1403 float denom = dot(ray->direction, plane->normal); 1405 float t = - (plane->constant + dot(ray->position, plane->normal)) / denom; 1804 // NOTE: the color of the dot is somewhat random, as it depends on texture of previously-rendered
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 730 int dot = url.indexOf('.', slash); 731 if (slash == -1 || dot == -1) { 736 String fieldName = url.substring(slash + 1, dot);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BeanBag.java | 90 static float dot(float x1, float y1, float x2, float y2) { method in class:BeanBag.Board
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_cl.c | 839 extern float __attribute__((overloadable)) dot(float lhs, float rhs) { function 842 extern float __attribute__((overloadable)) dot(float2 lhs, float2 rhs) { function 845 extern float __attribute__((overloadable)) dot(float3 lhs, float3 rhs) { function 848 extern float __attribute__((overloadable)) dot(float4 lhs, float4 rhs) { function
|
/frameworks/base/libs/androidfw/ |
H A D | VelocityTracker.cpp | 469 float dot = vectorDot(&q[j][0], &q[i][0], m); local 471 q[j][h] -= dot * q[i][h];
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 5000 // Calculate the dot product of the displacement vectors. 5003 // approches 1.0. Recall that dot(v1, v2) = cos(angle) * mag(v1) * mag(v2). 5010 float dot = dx1 * dx2 + dy1 * dy2; local 5011 float cosine = dot / (dist1 * dist2); // denominator always > 0
|