Searched refs:axis (Results 1 – 10 of 10) sorted by relevance
/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/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 1012 * the geometric center of the mobile device screen surface; the axis
|
/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.1/ |
D | types.hal | 99 * in axis. If keep_dims is true, the reduced dimensions are retained with
|
/hardware/interfaces/neuralnetworks/1.0/ |
D | types.hal | 182 * dimensions except the dimension along the concatenation axis. 196 * concatenation axis.
|