/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 | 57 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/ |
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/gnss/2.1/ |
D | IGnssAntennaInfoCallback.hal | 67 * 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/ |
D | types.hal | 258 * 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/ |
D | IBiometricsFingerprint.hal | 53 * @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/ |
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/interfaces/neuralnetworks/1.2/ |
D | types.hal | 292 * 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/ |
D | types.hal | 237 * 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 …]
|
D | IDevice.hal | 354 * is at least one axis that is fully specified in both but has different values.
|
/hardware/interfaces/automotive/sv/1.0/ |
D | types.hal | 113 * Rotation = + 90 degrees around Z axis = (0.7071, 0, 0, 0.7071) as a unit quaternion.
|
/hardware/interfaces/neuralnetworks/1.1/ |
D | types.hal | 102 * 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. 214 * concatenation axis. 632 * Applies L2 normalization along the axis dimension.
|