/hardware/libhardware/tests/input/evdev/ |
D | InputMocks.h | 57 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/ |
D | types.hal | 21 * 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/ |
D | InputHub.cpp | 93 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 …]
|
D | InputHub.h | 83 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;
|
D | InputDevice.cpp | 59 static uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses) { in getAbsAxisUsage() argument 62 switch (axis) { in getAbsAxisUsage() 89 if (axis == ABS_PRESSURE) { in getAbsAxisUsage()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 485 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/ |
D | types.hal | 144 * 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/ |
D | HexagonOperationsCheck.cpp | 137 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()
|
D | HexagonOperationsPrepare.cpp | 114 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/ |
D | types.hal | 302 * dimensions except the dimension along the concatenation axis. 320 * concatenation axis. 886 * Negative index is used to specify axis from the end (e.g. -1 for 887 * the last axis). Must be in the range [-n, n). 1025 * Negative index is used to specify axis from the end (e.g. -1 for 1026 * the last axis). Must be in the range [-n, n). 1717 * Negative index is used to specify axis from the end (e.g. -1 for 1718 * the last axis). Must be in the range [-n, n). 1964 * in axis. If keep_dims is true, the reduced dimensions are retained with 2254 * Returns the index of the largest element along an axis. [all …]
|
/hardware/interfaces/neuralnetworks/1.1/ |
D | types.hal | 104 * in axis. If keep_dims is true, the reduced dimensions are retained with
|
/hardware/interfaces/neuralnetworks/1.0/ |
D | types.hal | 199 * dimensions except the dimension along the concatenation axis. 213 * concatenation axis.
|