Searched refs:cross (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/services/surfaceflinger/Effects/
H A DDaltonizer.cpp89 // solution the following cross-products:
90 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia
91 const vec3 p1 = cross(lms_w, lms_r); // tritanopia
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DVectorUtil.java43 public static void cross(double[] a, double[] b, double[] out) { method in class:VectorUtil
H A DViewMatrix.java208 VectorUtil.cross(a, b, out);
284 VectorUtil.cross(zv, rv, up);
285 VectorUtil.cross(zv, up, rv);
286 VectorUtil.cross(zv, rv, up);
304 VectorUtil.cross(zv, rv, up);
305 VectorUtil.cross(zv, up, rv);
306 VectorUtil.cross(zv, rv, up);
H A DQuaternion.java37 private static double[] cross(double[] a, double[] b) { method in class:Quaternion
56 double[] axis = normal(cross(vec1, vec2));
70 return normal(cross(vec1, vec2));
H A Dbugdroid.rs32 return length(cross(img - p1, img - p2)) / length(p2 - p1);
52 return length(cross(img - p1, img - p2)) / length(p2 - p1);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DVector3Test.java119 AnyMotionDetector.Vector3 xCrossX = unitXAxis.cross(unitXAxis);
124 AnyMotionDetector.Vector3 xCrossNx = unitXAxis.cross(unitXAxis.times(-1));
129 AnyMotionDetector.Vector3 cross2 = case2A.cross(case2B);
/frameworks/rs/api/
H A Drs_vector_math.spec37 function: cross
47 Computes the cross product of two vectors.
51 function: cross
/frameworks/base/libs/hwui/
H A DVector.h105 float cross(const Vector2& v) const { function in struct:android::uirenderer::Vector2
H A DSpotShadow.cpp676 float currentCrossUmbra = currentToCentroid.cross(umbraDir);
677 float umbraCrossNext = umbraDir.cross(nextToCentroid);
792 // Precompute all the polygon's vector, return true if the reference cross product is positive.
798 // computing their cross products with another normalized vector.
803 refCrossProduct = polyToCentroid[j].cross(polyToCentroid[(j + 1) % polyLength]);
968 // Precompute all the polygon's vector, and the reference cross product,
H A DVectorDrawable.cpp85 float crossProduct = skVectors[0].cross(skVectors[1]);
/frameworks/rs/scriptc/
H A Drs_vector_math.rsh42 * cross: Cross product of two vectors
44 * Computes the cross product of two vectors.
47 cross(float3 left_vector, float3 right_vector);
50 cross(float4 left_vector, float4 right_vector);
54 cross(half3 left_vector, half3 right_vector);
59 cross(half4 left_vector, half4 right_vector);
/frameworks/native/include/ui/
H A Dvec3.h94 // cross product works only on vectors of size 3
97 tvec3 __attribute__((pure)) cross(const tvec3& u, const tvec3<RT>& v) { function in class:android::tvec3
H A Dmat4.h265 tvec3<T> S(normalize( cross(L, up) ));
266 tvec3<T> U(cross(S, L));
/frameworks/base/services/core/java/com/android/server/
H A DAnyMotionDetector.java341 Vector3 crossVector = cross(other);
349 public Vector3 cross(Vector3 v) { method in class:AnyMotionDetector.Vector3
/frameworks/base/core/java/android/util/
H A DMathUtils.java123 public static float cross(float v1x, float v1y, float v2x, float v2y) { method in class:MathUtils
/frameworks/native/libs/ui/tests/
H A Dvec_test.cpp242 vec3 up( cross(east, north) );
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java229 VectorUtil.cross(mDownRightVector, mDownUpVector, mDownRightVector);
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1085 private static float cross(float v1x, float v1y, float v2x, float v2y) { method in class:VectorDrawableCompat.VPathRenderer
1104 float crossProduct = cross(unitVectors[0], unitVectors[1], unitVectors[2],
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java1195 float crossProduct = MathUtils.cross(unitVectors[0], unitVectors[1],
/frameworks/rs/driver/runtime/
H A Drs_cl.c1063 extern float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs) { function
1071 extern float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs) { function
1900 extern half3 __attribute__((overloadable)) cross(half3 lhs, half3 rhs) { function
1908 extern half4 __attribute__((overloadable)) cross(half4 lhs, half4 rhs) { function

Completed in 2175 milliseconds