/frameworks/native/services/surfaceflinger/Effects/ |
H A D | Daltonizer.cpp | 89 // 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 D | VectorUtil.java | 43 public static void cross(double[] a, double[] b, double[] out) {
method in class:VectorUtil
|
H A D | ViewMatrix.java | 208 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 D | Quaternion.java | 37 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 D | bugdroid.rs | 32 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 D | Vector3Test.java | 119 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 D | rs_vector_math.spec | 37 function: cross 47 Computes the cross product of two vectors. 51 function: cross
|
/frameworks/base/libs/hwui/ |
H A D | Vector.h | 105 float cross(const Vector2& v) const { function in struct:android::uirenderer::Vector2
|
H A D | SpotShadow.cpp | 676 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 D | VectorDrawable.cpp | 85 float crossProduct = skVectors[0].cross(skVectors[1]);
|
/frameworks/rs/scriptc/ |
H A D | rs_vector_math.rsh | 42 * 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 D | vec3.h | 94 // 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 D | mat4.h | 265 tvec3<T> S(normalize( cross(L, up) )); 266 tvec3<T> U(cross(S, L));
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 341 Vector3 crossVector = cross(other); 349 public Vector3 cross(Vector3 v) { method in class:AnyMotionDetector.Vector3
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 123 public static float cross(float v1x, float v1y, float v2x, float v2y) { method in class:MathUtils
|
/frameworks/native/libs/ui/tests/ |
H A D | vec_test.cpp | 242 vec3 up( cross(east, north) );
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 229 VectorUtil.cross(mDownRightVector, mDownUpVector, mDownRightVector);
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 1085 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 D | VectorDrawable_Delegate.java | 1195 float crossProduct = MathUtils.cross(unitVectors[0], unitVectors[1],
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 1063 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
|