/aosp14/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 …]
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
H A D | AnyMotionDetector.java | 316 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 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()
|
/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.cpp | 70 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 D | SkiaPipeline.cpp | 134 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 D | ReorderBarrierDrawables.cpp | 202 const Vector3 lightPos = LightingInfo::getLightCenter(); in drawShadow()
|
/aosp14/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.h | 87 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
|
H A D | CanvasContext.h | 138 void setLightGeometry(const Vector3& lightCenter, float lightRadius);
|
H A D | RenderProxy.cpp | 142 void RenderProxy::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
|
H A D | CanvasContext.cpp | 293 void CanvasContext::setLightGeometry(const Vector3& lightCenter, float lightRadius) { in setLightGeometry()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_HardwareBufferRenderer.cpp | 129 proxy->setLightGeometry((Vector3){lightX, lightY, lightZ}, lightRadius); in android_graphics_HardwareBufferRenderer_setLightGeometry()
|
H A D | android_graphics_HardwareRenderer.cpp | 236 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 D | TestSceneRunner.cpp | 131 proxy->setLightGeometry((Vector3){lightX, dp(-200.0f), dp(800.0f)}, dp(800.0f)); in doRun()
|