/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | Vector3Test.java | 31 private AnyMotionDetector.Vector3 unitXAxis; 32 private AnyMotionDetector.Vector3 unitYAxis; 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; 41 private AnyMotionDetector.Vector3 x1z1; [all …]
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
H A D | AnyMotionDetector.java | 300 Vector3 accelDatum = new Vector3(SystemClock.elapsedRealtime(), event.values[0], 369 public static final class Vector3 { class in AnyMotionDetector 386 public Vector3 normalized() { in normalized() 407 public Vector3 cross(Vector3 v) { in cross() 408 return new Vector3( in cross() 429 public Vector3 times(float val) { in times() 433 public Vector3 plus(Vector3 v) { in plus() 437 public Vector3 minus(Vector3 v) { in minus() 450 Vector3 previousVector; 451 Vector3 currentVector; [all …]
|
/aosp12/frameworks/base/libs/hwui/ |
H A 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}; }
|
H A D | LightingInfo.h | 49 static Vector3 getLightCenter() { in getLightCenter() 51 Vector3 adjustedLightCenter = mLightCenter; in getLightCenter() 64 static Vector3 getLightCenterRaw() { in getLightCenterRaw() 68 static void setLightCenterRaw(const Vector3& lightCenter) { in setLightCenterRaw() 82 static Vector3 mLightCenter;
|
H A D | LightingInfo.cpp | 28 Vector3 LightingInfo::mLightCenter = {FLT_MIN, FLT_MIN, FLT_MIN};
|
H A D | Lighting.h | 25 Vector3 center;
|
H A D | Matrix.h | 199 float mapZ(const Vector3& orig) const; 200 void mapPoint3d(Vector3& vec) const;
|
H A 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()
|
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A 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_;
|
H A D | eigen.h | 17 using Vector3 = Vector<T, 3>; variable
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.cpp | 69 Vector3 points[] = { Vector3 {bounds.fLeft, bounds.fTop, 0}, in intersects() 70 Vector3 {bounds.fRight, bounds.fTop, 0}, in intersects() 71 Vector3 {bounds.fRight, bounds.fBottom, 0}, in intersects() 72 Vector3 {bounds.fLeft, bounds.fBottom, 0}}; in intersects()
|
H A D | SkiaPipeline.cpp | 123 const Vector3 savedLightCenter(LightingInfo::getLightCenterRaw()); in renderLayersImpl() 124 Vector3 transformedLightCenter(savedLightCenter); in renderLayersImpl() 316 const Vector3 savedLightCenter(LightingInfo::getLightCenterRaw()); in recordLayers() 324 Vector3 transformedLightCenter(savedLightCenter); in recordLayers()
|
H A D | ReorderBarrierDrawables.cpp | 195 const Vector3 lightPos = LightingInfo::getLightCenter(); in drawShadow()
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.h | 81 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
|
H A D | CanvasContext.h | 126 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
|
H A D | RenderProxy.cpp | 120 void RenderProxy::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
|
H A D | CanvasContext.cpp | 269 void CanvasContext::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
|
/aosp12/frameworks/native/libs/vr/libdvrcommon/tests/ |
H A D | pose_test.cpp | 15 using vec3_t = Eigen::Vector3<FT>;
|
/aosp12/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 132 proxy->setLightGeometry((Vector3){lightX, dp(-200.0f), dp(800.0f)}, dp(800.0f)); in doRun()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_HardwareRenderer.cpp | 236 proxy->setLightGeometry((Vector3){lightX, lightY, lightZ}, lightRadius); in android_view_ThreadedRenderer_setLightGeometry() 737 proxy.setLightGeometry((Vector3){0, 0, 0}, 0); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 734 …server/AnyMotionDetector$Vector3;)V+]Lcom/android/server/AnyMotionDetector$Vector3;Lcom/android/se… 736 …/server/AnyMotionDetector$Vector3;+]Lcom/android/server/AnyMotionDetector$Vector3;Lcom/android/ser… 740 …Vector3;->angleBetween(Lcom/android/server/AnyMotionDetector$Vector3;)F+]Lcom/android/server/AnyMo… 741 …ver/AnyMotionDetector$Vector3;->cross(Lcom/android/server/AnyMotionDetector$Vector3;)Lcom/android/… 742 HPLcom/android/server/AnyMotionDetector$Vector3;->dotProduct(Lcom/android/server/AnyMotionDetector$… 743 …ver/AnyMotionDetector$Vector3;->minus(Lcom/android/server/AnyMotionDetector$Vector3;)Lcom/android/… 744 …er/AnyMotionDetector$Vector3;->norm()F+]Lcom/android/server/AnyMotionDetector$Vector3;Lcom/android… 745 …Vector3;->normalized()Lcom/android/server/AnyMotionDetector$Vector3;+]Lcom/android/server/AnyMotio… 746 …rver/AnyMotionDetector$Vector3;->plus(Lcom/android/server/AnyMotionDetector$Vector3;)Lcom/android/… 747 HPLcom/android/server/AnyMotionDetector$Vector3;->times(F)Lcom/android/server/AnyMotionDetector$Vec… [all …]
|