Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 14 of 14) 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/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/qcom/neuralnetworks/hvxservice/1.0/
DHexagonOperationsCheck.cpp137 const int32_t axis = model->getScalar<int32_t>(ins[numInputTensors]); in concatenation() local
145 HEXAGON_SOFT_ASSERT(concatenationPrepare(inShapes, axis, &outShape), "Error getting shape"); in concatenation()
DHexagonOperationsPrepare.cpp114 const int32_t axis = model->getScalar<int32_t>(ins[numInputTensors]); in concatenation() local
116 inputs[0] = model->createScalar<int32_t>(axis + (4 - dims)); in concatenation()
573 const int32_t axis = model->getScalar<int32_t>(ins[numInputTensors]); in concatenation() local
575 inputs[0] = model->createScalar<int32_t>(axis + (4 - dims)); in concatenation()
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal292 * dimensions except the dimension along the concatenation axis.
310 * concatenation axis.
849 * Applies L2 normalization along the axis dimension.
857 * By default the axis dimension is the last dimension of the input tensor.
871 * Negative index is used to specify axis from the end (e.g. -1 for
872 * the last axis). Must be in the range [-n, n).
1007 * Negative index is used to specify axis from the end (e.g. -1 for
1008 * the last axis). Must be in the range [-n, n).
1689 * Negative index is used to specify axis from the end (e.g. -1 for
1690 * 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.
836 * Applies L2 normalization along the axis dimension.
844 * By default the axis dimension is the last dimension of the input tensor.
859 * Negative index is used to specify axis from the end (e.g. -1 for
860 * the last axis). Must be in the range [-n, n).
870 * NOTE: Before HAL version 1.3, if the elements along an axis are all zeros,
871 * the result is undefined. Since HAL version 1.3, if the elements along an axis
1001 * Negative index is used to specify axis from the end (e.g. -1 for
1002 * the last axis). Must be in the range [-n, n).
[all …]
DIDevice.hal338 * is at least one axis that is fully specified in both but has different values.
/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.
631 * Applies L2 normalization along the axis dimension.