/frameworks/rs/tests/java_api/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 | 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));
|
/frameworks/base/libs/hwui/ |
H A D | Vector.h | 91 float cross(const Vector2& v) const { return x * v.y - y * v.x; } function in struct:android::uirenderer::Vector2
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 124 public static float cross(float v1x, float v1y, float v2x, float v2y) { method in class:MathUtils
|
/frameworks/native/libs/math/include/math/ |
H A D | TQuatHelpers.h | 97 // q.w*r.xyz + r.w*q.xyz + cross(q.xyz, r.xyz)); 110 // TVec3<T> t = 2 * cross(q.xyz, v) 111 // return v + (q.w * t) + cross(q.xyz, t) 220 constexpr QUATERNION<T> PURE cross(const QUATERNION<T>& p, const QUATERNION<T>& q) { function in class:android::details::TQuatFunctions
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 394 Vector3 crossVector = cross(other); 402 public Vector3 cross(Vector3 v) { method in class:AnyMotionDetector.Vector3
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ColorSpace.java | 3142 * Computes the cross product of two 2D vectors. 3150 private static float cross(float ax, float ay, float bx, float by) { method in class:ColorSpace.Rgb 3192 * (with "x" the cross product operator): 3223 if (cross(p0[0], p0[1], p2[0] - p2[4], p2[1] - p2[5]) < 0 || 3224 cross(p2[0] - p2[2], p2[1] - p2[3], p0[0], p0[1]) < 0) { 3228 if (cross(p0[2], p0[3], p2[2] - p2[0], p2[3] - p2[1]) < 0 || 3229 cross(p2[2] - p2[4], p2[3] - p2[5], p0[2], p0[3]) < 0) { 3233 if (cross(p0[4], p0[5], p2[4] - p2[2], p2[5] - p2[3]) < 0 || 3234 cross(p2[4] - p2[0], p2[5] - p2[1], p0[4], p0[5]) < 0) {
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 1066 extern float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs) { function 1074 extern float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs) { function 1903 extern half3 __attribute__((overloadable)) cross(half3 lhs, half3 rhs) { function 1911 extern half4 __attribute__((overloadable)) cross(half4 lhs, half4 rhs) { function
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 1251 private static float cross(float v1x, float v1y, float v2x, float v2y) { method in class:VectorDrawableCompat.VPathRenderer 1270 float crossProduct = cross(unitVectors[0], unitVectors[1], unitVectors[2],
|