Searched defs:Vector3 (Results 1 - 2 of 2) sorted by path

/frameworks/base/libs/hwui/
H A DVector.h115 class Vector3 { class in namespace:android::uirenderer
121 Vector3 operator+(const Vector3& v) const {
122 return (Vector3){x + v.x, y + v.y, z + v.z};
125 Vector3 operator-(const Vector3& v) const {
126 return (Vector3){x - v.x, y - v.y, z - v.z};
129 Vector3 operator/(float s) const {
130 return (Vector3){x / s, y / s, z / s};
133 Vector3 operato
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAnyMotionDetector.java110 private Vector3 mCurrentGravityVector = null;
113 private Vector3 mPreviousGravityVector = null;
265 Vector3 previousGravityVectorNormalized = mPreviousGravityVector.normalized();
266 Vector3 currentGravityVectorNormalized = mCurrentGravityVector.normalized();
295 Vector3 accelDatum = new Vector3(SystemClock.elapsedRealtime(), event.values[0],
364 public static final class Vector3 { class in class:AnyMotionDetector
370 public Vector3(long timeMillisSinceBoot, float x, float y, float z) { method in class:AnyMotionDetector.Vector3
381 public Vector3 normalized() {
383 return new Vector3(timeMillisSinceBoo
[all...]

Completed in 70 milliseconds