Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 16 of 16) sorted by relevance

/hardware/libhardware/tests/input/evdev/
DInputMocks.h57 virtual bool hasRelativeAxis(int axis) const override { return mRelAxes.count(axis); } in hasRelativeAxis() argument
58 virtual bool hasAbsoluteAxis(int32_t axis) const override { return mAbsAxes.count(axis); } in hasAbsoluteAxis() argument
76 void addRelAxis(int32_t axis) { mRelAxes.insert(axis); } in addRelAxis() argument
77 void addAbsAxis(int32_t axis, AbsoluteAxisInfo* info) { mAbsAxes[axis] = info; } in addAbsAxis() argument
84 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const override { in getAbsoluteAxisInfo() argument
85 auto iter = mAbsAxes.find(axis); in getAbsoluteAxisInfo()
91 virtual status_t getAbsoluteAxisValue(int32_t axis, int32_t* outValue) const override { in getAbsoluteAxisValue() argument
/hardware/interfaces/input/common/1.0/
Dtypes.hal21 * Constants that identify each individual axis of a motion event.
25 * Axis constant: X axis of a motion event.
40 * Axis constant: Y axis of a motion event.
55 * Axis constant: Pressure axis of a motion event.
68 * Axis constant: Size axis of a motion event.
79 * Axis constant: TouchMajor axis of a motion event.
81 * - For a touch screen, reports the length of the major axis of an ellipse that
84 * - For a touch pad, reports the length of the major axis of an ellipse that
90 * Axis constant: TouchMinor axis of a motion event.
92 * - For a touch screen, reports the length of the minor axis of an ellipse that
[all …]
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp93 virtual bool hasRelativeAxis(int32_t axis) const override;
94 virtual bool hasAbsoluteAxis(int32_t axis) const override;
101 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const override;
102 virtual status_t getAbsoluteAxisValue(int32_t axis, int32_t* outValue) const override;
239 for (int32_t axis = 0; axis < ABS_MAX; ++axis) { in queryAxisInfo() local
240 if (testBit(axis, mAbsBitmask)) { in queryAxisInfo()
242 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { in queryAxisInfo()
244 axis, mPath.c_str(), mFd, errno); in queryAxisInfo()
248 mAbsInfo[axis] = std::unique_ptr<AbsoluteAxisInfo>(new AbsoluteAxisInfo{ in queryAxisInfo()
270 bool EvdevDeviceNode::hasRelativeAxis(int axis) const { in hasRelativeAxis()
[all …]
DInputHub.h83 virtual bool hasRelativeAxis(int32_t axis) const = 0;
85 virtual bool hasAbsoluteAxis(int32_t axis) const = 0;
98 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const = 0;
100 virtual status_t getAbsoluteAxisValue(int32_t axis, int32_t* outValue) const = 0;
DInputDevice.cpp57 static uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses) { in getAbsAxisUsage() argument
60 switch (axis) { in getAbsAxisUsage()
87 if (axis == ABS_PRESSURE) { in getAbsAxisUsage()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c485 int axis = 0; in main() local
487 axis = 1; in main()
489 if (ABS(accel_bias[2].l) > ABS(accel_bias[axis].l)) { in main()
490 axis = 2; in main()
492 if (accel_bias[axis].l < 0) { in main()
527 accel_bias[axis].l -= gravity; in main()
533 save_data.factory_accel_bias[axis] -= gravity; in main()
/hardware/interfaces/gnss/2.1/
DIGnssAntennaInfoCallback.hal67 * The azimuthal angle, theta, is defined with respect to the X axis of the
68 * Android sensor coordinate system, increasing toward the Y axis. The zenith
69 * angle, phi, is defined with respect to the Z axis of the Android Sensor
101 * The azimuthal angle, theta, is defined with respect to the X axis of the
102 * Android sensor coordinate system, increasing toward the Y axis. The zenith
103 * angle, phi, is defined with respect to the Z axis of the Android Sensor
/hardware/interfaces/automotive/evs/1.1/
Dtypes.hal258 * For a sensor on the front bumper and on the left corner of the car with its X axis pointing to
261 * when viewing the car from top on the +Z axis side:
272 * Rotation = + 90 degrees around Z axis = (0.7071, 0, 0, 0.7071) as a unit quaternion.
294 * The +Y axis points along the center of the beam spread the X axis to the right and the Z
295 * axis in the up direction.
306 * sensor’s x axis, in radians.
/hardware/interfaces/biometrics/fingerprint/2.3/
DIBiometricsFingerprint.hal53 * @param minor The length of the minor axis of an ellipse that describes the
55 * @param major The length of the major axis of an ellipse that describes the
/hardware/interfaces/sensors/1.0/
Dtypes.hal144 * field in the X, Y and Z axis.
170 * around the X, Y and Z axis.
300 * around the X, Y and Z axis.
500 * Coordinate System to understand the X and Y axis direction with respect
502 * - 0: device is in default orientation (Y axis is vertical and points up)
504 * orientation (X axis is vertical and points up)
505 * - 2: device is rotated 180 degrees from default orientation (Y axis is
508 * (X axis is vertical and points down)
510 * Moving the device to an orientation where the Z axis is vertical (either
1032 * - the device X axis corresponds to the sensor's local -Y axis
[all …]
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal292 * dimensions except the dimension along the concatenation axis.
310 * concatenation axis.
851 * Applies L2 normalization along the axis dimension.
859 * By default the axis dimension is the last dimension of the input tensor.
873 * Negative index is used to specify axis from the end (e.g. -1 for
874 * the last axis). Must be in the range [-n, n).
1009 * Negative index is used to specify axis from the end (e.g. -1 for
1010 * the last axis). Must be in the range [-n, n).
1691 * Negative index is used to specify axis from the end (e.g. -1 for
1692 * the last axis). Must be in the range [-n, n).
[all …]
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal237 * dimensions except the dimension along the concatenation axis.
259 * concatenation axis.
840 * Applies L2 normalization along the axis dimension.
848 * By default the axis dimension is the last dimension of the input tensor.
863 * Negative index is used to specify axis from the end (e.g. -1 for
864 * the last axis). Must be in the range [-n, n).
874 * NOTE: Before HAL version 1.3, if the elements along an axis are all zeros,
875 * the result is undefined. Since HAL version 1.3, if the elements along an axis
1005 * Negative index is used to specify axis from the end (e.g. -1 for
1006 * the last axis). Must be in the range [-n, n).
[all …]
DIDevice.hal354 * is at least one axis that is fully specified in both but has different values.
/hardware/interfaces/automotive/sv/1.0/
Dtypes.hal113 * Rotation = + 90 degrees around Z axis = (0.7071, 0, 0, 0.7071) as a unit quaternion.
/hardware/interfaces/neuralnetworks/1.1/
Dtypes.hal102 * in axis. If keep_dims is true, the reduced dimensions are retained with
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal199 * dimensions except the dimension along the concatenation axis.
214 * concatenation axis.
632 * Applies L2 normalization along the axis dimension.