Home
last modified time | relevance | path

Searched defs:Vector2 (Results 1 – 17 of 17) sorted by relevance

/aosp_15_r20/external/libchrome-gestures/include/
H A Dfinger_metrics.h21 struct Vector2 { struct
22 Vector2() : x(0), y(0) {} in Vector2() function
23 Vector2(float x, float y) : x(x), y(y) {} in Vector2() argument
24 Vector2(const Vector2& other) : x(other.x), y(other.y) {} in Vector2() argument
25 explicit Vector2(const FingerState& state) : x(state.position_x), in Vector2() argument
28 Vector2 Sub(const Vector2& other) { in Sub() argument
32 Vector2 Add(const Vector2& other) { in Add() argument
42 bool operator==(const Vector2& that) const { argument
53 extern Vector2 Add(const Vector2& left, const Vector2& right); argument
/aosp_15_r20/frameworks/base/libs/hwui/
H A DVector.h31 struct Vector2 { struct
39 void operator+=(const Vector2& v) { argument
83 Vector2 copyNormalized() const { in copyNormalized() argument
89 float dot(const Vector2& v) const { return x * v.x + y * v.y; } in dot() argument
91 float cross(const Vector2& v) const { return x * v.y - y * v.x; } in cross() argument
93 void dump() { ALOGD("Vector2[%.2f, %.2f]", x, y); } in dump() argument
/aosp_15_r20/external/replicaisland/src/com/replica/replicaisland/
H A DVector2.java22 public final class Vector2 extends AllocationGuard { class
28 public Vector2() { in Vector2() method in Vector2
32 public Vector2(float xValue, float yValue) { in Vector2() method in Vector2
36 public Vector2(Vector2 other) { in Vector2() method in Vector2
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/
H A Dlib.rs262 Vector2, in test_binary_elementwise() argument
301 Vector2, in test_binary_elementwise_flush_subnormals() argument
345 pub fn test_binary_mask_elementwise<Scalar1, Scalar2, Vector1, Vector2, Mask, const LANES: usize>( in test_binary_mask_elementwise() argument
450 Vector2, in test_ternary_elementwise() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/
H A Dlib.rs262 Vector2, in test_binary_elementwise() argument
301 Vector2, in test_binary_elementwise_flush_subnormals() argument
345 pub fn test_binary_mask_elementwise<Scalar1, Scalar2, Vector1, Vector2, Mask, const LANES: usize>( in test_binary_mask_elementwise() argument
450 Vector2, in test_ternary_elementwise() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/
H A Dlib.rs262 Vector2, in test_binary_elementwise() argument
301 Vector2, in test_binary_elementwise_flush_subnormals() argument
345 pub fn test_binary_mask_elementwise<Scalar1, Scalar2, Vector1, Vector2, Mask, const LANES: usize>( in test_binary_mask_elementwise() argument
450 Vector2, in test_ternary_elementwise() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/
H A Dlib.rs262 Vector2, in test_binary_elementwise() argument
301 Vector2, in test_binary_elementwise_flush_subnormals() argument
345 pub fn test_binary_mask_elementwise<Scalar1, Scalar2, Vector1, Vector2, Mask, const LANES: usize>( in test_binary_mask_elementwise() argument
450 Vector2, in test_ternary_elementwise() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/
H A Dlib.rs262 Vector2, in test_binary_elementwise() argument
301 Vector2, in test_binary_elementwise_flush_subnormals() argument
345 pub fn test_binary_mask_elementwise<Scalar1, Scalar2, Vector1, Vector2, Mask, const LANES: usize>( in test_binary_mask_elementwise() argument
450 Vector2, in test_ternary_elementwise() argument
/aosp_15_r20/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/
DVector2.kt26 class Vector2 @JvmOverloads constructor(val x: Float, val y: Float) { class
/aosp_15_r20/external/eigen/Eigen/src/Geometry/
H A DEulerAngles.h46 typedef Matrix<typename Derived::Scalar,2,1> Vector2; in eulerAngles() typedef
H A DOrthoMethods.h146 typedef Matrix<Scalar,2,1> Vector2; typedef
/aosp_15_r20/cts/hostsidetests/adpf/app/hintsession/src/cpp/
H A DModel.h39 union Vector2 { union
/aosp_15_r20/external/eigen/demos/mandelbrot/
H A Dmandelbrot.cpp43 typedef Eigen::Array<Real, 2, 1> Vector2; in render() typedef
/aosp_15_r20/external/angle/src/common/
H A Dvector_utils.h23 using Vector2 = Vector<2, float>; variable
/aosp_15_r20/external/eigen/test/
H A Dsparse_basic.cpp27 typedef Matrix<StorageIndex,2,1> Vector2; in sparse_basic() typedef
H A Dgeo_transformations.cpp95 typedef Matrix<Scalar,2,1> Vector2; in transformations() typedef
/aosp_15_r20/external/skia/modules/canvaskit/npm_build/types/
H A Dindex.d.ts4418 export type Vector2 = Point; alias