/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | Vector3Test.java | 31 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/ |
D | AnyMotionDetector.java | 108 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/ |
D | Vector.h | 97 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}; }
|
D | Lighting.h | 25 Vector3 center;
|
D | Matrix.h | 199 float mapZ(const Vector3& orig) const; 200 void mapPoint3d(Vector3& vec) const;
|
D | Matrix.cpp | 414 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/ |
D | pose.h | 19 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_;
|
D | eigen.h | 17 using Vector3 = Vector<T, 3>; variable
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 56 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()
|
D | SkiaPipeline.h | 84 static Vector3 getLightCenter() { in getLightCenter() 86 Vector3 adjustedLightCenter = mLightCenter; in getLightCenter() 170 static Vector3 mLightCenter;
|
D | ReorderBarrierDrawables.cpp | 195 const Vector3 lightPos = SkiaPipeline::getLightCenter(); in drawShadow()
|
D | SkiaPipeline.cpp | 43 Vector3 SkiaPipeline::mLightCenter = {FLT_MIN, FLT_MIN, FLT_MIN};
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.h | 77 ANDROID_API void setLightGeometry(const Vector3& lightCenter, float lightRadius);
|
D | CanvasContext.h | 120 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
|
D | RenderProxy.cpp | 108 void RenderProxy::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
|
D | CanvasContext.cpp | 215 void CanvasContext::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 139 proxy->setLightGeometry((Vector3){lightX, dp(-200.0f), dp(800.0f)}, dp(800.0f)); in run()
|
/frameworks/native/libs/vr/libdvrcommon/tests/ |
D | pose_test.cpp | 15 using vec3_t = Eigen::Vector3<FT>;
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 671 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()
|
D | android_view_Surface.cpp | 495 proxy->setLightGeometry((Vector3){0, 0, 0}, 0); in create()
|
/frameworks/base/services/ |
D | art-profile | 502 …/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;
|