Home
last modified time | relevance | path

Searched refs:cross (Results 1 – 25 of 202) sorted by relevance

123456789

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java208 VectorUtil.cross(a, b, out); in calcRight()
284 VectorUtil.cross(zv, rv, up); in look()
285 VectorUtil.cross(zv, up, rv); in look()
286 VectorUtil.cross(zv, rv, up); in look()
304 VectorUtil.cross(zv, rv, up); in lookAt()
305 VectorUtil.cross(zv, up, rv); in lookAt()
306 VectorUtil.cross(zv, rv, up); in lookAt()
DQuaternion.java37 private static double[] cross(double[] a, double[] b) { in cross() method in Quaternion
56 double[] axis = normal(cross(vec1, vec2)); in set()
70 return normal(cross(vec1, vec2)); in calcAxis()
DVectorUtil.java43 public static void cross(double[] a, double[] b, double[] out) { in cross() method in VectorUtil
Dbugdroid.rscript32 return length(cross(img - p1, img - p2)) / length(p2 - p1);
52 return length(cross(img - p1, img - p2)) / length(p2 - p1);
/frameworks/native/services/surfaceflinger/Effects/
DDaltonizer.cpp92 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia in update()
93 const vec3 p1 = cross(lms_w, lms_r); // tritanopia in update()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript44 v.xyz = cross(point.xyz, v.xyz);
80 right = normalize(cross(normv, up));
81 up = normalize(cross(normv, right));
/frameworks/base/services/tests/servicestests/src/com/android/server/
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/native/libs/math/include/math/
Dmat3.h258 ret[2] = normalize(cross(ret[0], m[1])); in orthogonalize()
259 ret[1] = normalize(cross(ret[2], ret[0])); in orthogonalize()
413 ret[2] = normalize(cross(ret[0], m[1])); in orthogonalize()
414 ret[1] = normalize(cross(ret[2], ret[0])); in orthogonalize()
Dvec2.h101 constexpr value_type cross(const TVec2& u, const TVec2<RT>& v) { in cross() function
Dvec3.h104 constexpr TVec3 cross(const TVec3& u, const TVec3<RT>& v) { in cross() function
Dmat4.h501 TVec3<T> x_axis(normalize(cross(z_axis, norm_up))); in lookAt()
502 TVec3<T> y_axis(cross(x_axis, z_axis)); in lookAt()
DTQuatHelpers.h220 constexpr QUATERNION<T> PURE cross(const QUATERNION<T>& p, const QUATERNION<T>& q) { in cross() function
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipPinchResizingAlgorithm.java70 float angle = (float) Math.atan2(cross(mTmpDownVector, mTmpLastVector), in calculateBoundsAndAngle()
121 private float cross(PointF p1, PointF p2) { in cross() method in PipPinchResizingAlgorithm
/frameworks/rs/script_api/
Drs_vector_math.spec37 function: cross
47 Computes the cross product of two vectors.
51 function: cross
/frameworks/rs/script_api/include/
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/base/libs/hwui/
DVector.h91 float cross(const Vector2& v) const { return x * v.y - y * v.x; } in cross() function
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java399 Vector3 crossVector = cross(other); in angleBetween()
407 public Vector3 cross(Vector3 v) { in cross() method in AnyMotionDetector.Vector3
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3308 private static float cross(float ax, float ay, float bx, float by) { in cross() method in ColorSpace.Rgb
3381 if (cross(p0[0], p0[1], p2[0] - p2[4], p2[1] - p2[5]) < 0 || in contains()
3382 cross(p2[0] - p2[2], p2[1] - p2[3], p0[0], p0[1]) < 0) { in contains()
3386 if (cross(p0[2], p0[3], p2[2] - p2[0], p2[3] - p2[1]) < 0 || in contains()
3387 cross(p2[2] - p2[4], p2[3] - p2[5], p0[2], p0[3]) < 0) { in contains()
3391 if (cross(p0[4], p0[5], p2[4] - p2[2], p2[5] - p2[3]) < 0 || in contains()
3392 cross(p2[4] - p2[0], p2[5] - p2[1], p0[4], p0[5]) < 0) { in contains()
/frameworks/base/core/java/android/util/
DMathUtils.java131 public static float cross(float v1x, float v1y, float v2x, float v2y) { in cross() method in MathUtils
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript261 h3 = cross(h3, h3);
262 h4 = cross(h4, h4);
/frameworks/base/core/java/
DAndroid.bp323 // Parcelable cross the libraries. This is used by telephony-common (frameworks/opt/telephony)
349 // Parcelable cross the process.
/frameworks/native/libs/math/tests/
Dvec_test.cpp240 vec3 up(cross(east, north)); in TEST_F()
Dquat_test.cpp291 quatd ab_other(a.w * b.xyz + b.w * a.xyz + cross(a.xyz, b.xyz), in TEST_F()
/frameworks/base/services/core/java/com/android/server/pm/
DOWNERS28 # multi user / cross profile
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java228 VectorUtil.cross(mDownRightVector, mDownUpVector, mDownRightVector); in panDown()

123456789