Home
last modified time | relevance | path

Searched refs:Vector3 (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DVector3Test.java31 private AnyMotionDetector.Vector3 unitXAxis;
32 private AnyMotionDetector.Vector3 unitYAxis;
33 private AnyMotionDetector.Vector3 unitZAxis;
34 private AnyMotionDetector.Vector3 x3;
35 private AnyMotionDetector.Vector3 case1A;
36 private AnyMotionDetector.Vector3 case1B;
37 private AnyMotionDetector.Vector3 case2A;
38 private AnyMotionDetector.Vector3 case2B;
39 private AnyMotionDetector.Vector3 x1y1;
40 private AnyMotionDetector.Vector3 xn1y1;
[all …]
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java108 private Vector3 mCurrentGravityVector = null;
111 private Vector3 mPreviousGravityVector = null;
270 Vector3 previousGravityVectorNormalized = mPreviousGravityVector.normalized(); in getStationaryStatus()
271 Vector3 currentGravityVectorNormalized = mCurrentGravityVector.normalized(); in getStationaryStatus()
300 Vector3 accelDatum = new Vector3(SystemClock.elapsedRealtime(), event.values[0],
369 public static final class Vector3 { class in AnyMotionDetector
375 public Vector3(long timeMillisSinceBoot, float x, float y, float z) { in Vector3() method in AnyMotionDetector.Vector3
386 public Vector3 normalized() { in normalized()
388 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag); in normalized()
398 public float angleBetween(Vector3 other) { in angleBetween()
[all …]
/frameworks/base/libs/hwui/
DVector.h97 class Vector3 {
103 Vector3 operator+(const Vector3& v) const { return (Vector3){x + v.x, y + v.y, z + v.z}; }
105 Vector3 operator-(const Vector3& v) const { return (Vector3){x - v.x, y - v.y, z - v.z}; }
107 Vector3 operator/(float s) const { return (Vector3){x / s, y / s, z / s}; }
109 Vector3 operator*(float s) const { return (Vector3){x * s, y * s, z * s}; }
DLighting.h25 Vector3 center;
DMatrix.h199 float mapZ(const Vector3& orig) const;
200 void mapPoint3d(Vector3& vec) const;
DMatrix.cpp414 float Matrix4::mapZ(const Vector3& orig) const { in mapZ()
419 void Matrix4::mapPoint3d(Vector3& vec) const { in mapPoint3d()
421 const Vector3 orig(vec); in mapPoint3d()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dpose.h19 position_(Eigen::Vector3<T>::Zero()) {} in Pose()
25 Pose(Eigen::Quaternion<T> rotation, Eigen::Vector3<T> position) in Pose()
53 Eigen::Vector3<T> TransformPoint(const Eigen::Vector3<T>& v) const { in TransformPoint()
57 Eigen::Vector3<T> Transform(const Eigen::Vector3<T>& v) const { in Transform()
72 Eigen::Vector3<T> GetPosition() const { return position_; } in GetPosition()
78 void SetPosition(Eigen::Vector3<T> position) { position_ = position; } in SetPosition()
91 Eigen::Vector3<T> position_;
Deigen.h17 using Vector3 = Vector<T, 3>; variable
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp56 Vector3 points[] = { Vector3 {bounds.fLeft, bounds.fTop, 0}, in intersects()
57 Vector3 {bounds.fRight, bounds.fTop, 0}, in intersects()
58 Vector3 {bounds.fRight, bounds.fBottom, 0}, in intersects()
59 Vector3 {bounds.fLeft, bounds.fBottom, 0}}; in intersects()
DSkiaPipeline.h84 static Vector3 getLightCenter() { in getLightCenter()
86 Vector3 adjustedLightCenter = mLightCenter; in getLightCenter()
170 static Vector3 mLightCenter;
DReorderBarrierDrawables.cpp195 const Vector3 lightPos = SkiaPipeline::getLightCenter(); in drawShadow()
DSkiaPipeline.cpp43 Vector3 SkiaPipeline::mLightCenter = {FLT_MIN, FLT_MIN, FLT_MIN};
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.h77 ANDROID_API void setLightGeometry(const Vector3& lightCenter, float lightRadius);
DCanvasContext.h120 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
DRenderProxy.cpp108 void RenderProxy::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
DCanvasContext.cpp215 void CanvasContext::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp139 proxy->setLightGeometry((Vector3){lightX, dp(-200.0f), dp(800.0f)}, dp(800.0f)); in run()
/frameworks/native/libs/vr/libdvrcommon/tests/
Dpose_test.cpp15 using vec3_t = Eigen::Vector3<FT>;
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp671 proxy->setLightGeometry((Vector3){lightX, lightY, lightZ}, lightRadius); in android_view_ThreadedRenderer_setLightGeometry()
959 proxy.setLightGeometry((Vector3){0, 0, 0}, 0); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
Dandroid_view_Surface.cpp495 proxy->setLightGeometry((Vector3){0, 0, 0}, 0); in create()
/frameworks/base/services/
Dart-profile502 …/AnyMotionDetector$RunningSignalStats;->accumulate(Lcom/android/server/AnyMotionDetector$Vector3;)V
504 …tionDetector$RunningSignalStats;->getRunningAverage()Lcom/android/server/AnyMotionDetector$Vector3;
507 PLcom/android/server/AnyMotionDetector$Vector3;->angleBetween(Lcom/android/server/AnyMotionDetector…
508 …ver/AnyMotionDetector$Vector3;->cross(Lcom/android/server/AnyMotionDetector$Vector3;)Lcom/android/…
509 PLcom/android/server/AnyMotionDetector$Vector3;->toString()Ljava/lang/String;
18196 Lcom/android/server/AnyMotionDetector$Vector3;