Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DVector3Test.java31 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 …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DAnyMotionDetector.java316 Vector3 accelDatum = new Vector3(SystemClock.elapsedRealtime(), event.values[0],
385 public static final class Vector3 { class in AnyMotionDetector
402 public Vector3 normalized() { in normalized()
423 public Vector3 cross(Vector3 v) { in cross()
424 return new Vector3( in cross()
445 public Vector3 times(float val) { in times()
449 public Vector3 plus(Vector3 v) { in plus()
453 public Vector3 minus(Vector3 v) { in minus()
466 Vector3 previousVector;
467 Vector3 currentVector;
[all …]
/aosp14/frameworks/base/libs/hwui/
H A 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}; }
H A DLightingInfo.h49 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 DLightingInfo.cpp28 Vector3 LightingInfo::mLightCenter = {FLT_MIN, FLT_MIN, FLT_MIN};
H A DLighting.h25 Vector3 center;
H A DMatrix.h199 float mapZ(const Vector3& orig) const;
200 void mapPoint3d(Vector3& vec) const;
H A 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()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.cpp70 Vector3 points[] = { Vector3 {bounds.fLeft, bounds.fTop, 0}, in intersects()
71 Vector3 {bounds.fRight, bounds.fTop, 0}, in intersects()
72 Vector3 {bounds.fRight, bounds.fBottom, 0}, in intersects()
73 Vector3 {bounds.fLeft, bounds.fBottom, 0}}; in intersects()
H A DSkiaPipeline.cpp134 const Vector3 savedLightCenter(LightingInfo::getLightCenterRaw()); in renderLayersImpl()
135 Vector3 transformedLightCenter(savedLightCenter); in renderLayersImpl()
327 const Vector3 savedLightCenter(LightingInfo::getLightCenterRaw()); in recordLayers()
335 Vector3 transformedLightCenter(savedLightCenter); in recordLayers()
H A DReorderBarrierDrawables.cpp202 const Vector3 lightPos = LightingInfo::getLightCenter(); in drawShadow()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.h87 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
H A DCanvasContext.h138 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
H A DRenderProxy.cpp142 void RenderProxy::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
H A DCanvasContext.cpp293 void CanvasContext::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_HardwareBufferRenderer.cpp129 proxy->setLightGeometry((Vector3){lightX, lightY, lightZ}, lightRadius); in android_graphics_HardwareBufferRenderer_setLightGeometry()
H A Dandroid_graphics_HardwareRenderer.cpp236 proxy->setLightGeometry((Vector3){lightX, lightY, lightZ}, lightRadius); in android_view_ThreadedRenderer_setLightGeometry()
749 proxy.setLightGeometry((Vector3){0, 0, 0}, 0); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/aosp14/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp131 proxy->setLightGeometry((Vector3){lightX, dp(-200.0f), dp(800.0f)}, dp(800.0f)); in doRun()