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 | 107 virtual bool hasRelativeAxis(int32_t axis) const override; 108 virtual bool hasAbsoluteAxis(int32_t axis) const override; 115 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const override; 116 virtual status_t getAbsoluteAxisValue(int32_t axis, int32_t* outValue) const override; 253 for (int32_t axis = 0; axis < ABS_MAX; ++axis) { in queryAxisInfo() local 254 if (testBit(axis, mAbsBitmask)) { in queryAxisInfo() 256 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { in queryAxisInfo() 258 axis, mPath.c_str(), mFd, errno); in queryAxisInfo() 262 mAbsInfo[axis] = std::unique_ptr<AbsoluteAxisInfo>(new AbsoluteAxisInfo{ in queryAxisInfo() 284 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/bsp/intel/peripheral/libupm/src/mma7660/ |
D | mma7660.cxx | 125 int MMA7660::getVerifiedAxis(MMA7660_REG_T axis) in getVerifiedAxis() argument 129 if (axis > 2) in getVerifiedAxis() 142 val = readByte(axis); in getVerifiedAxis()
|
D | CMakeLists.txt | 2 set (libdescription "upm mma7660 I2C 3-axis digital accelermeter (1.5g)")
|
D | mma7660.h | 206 int getVerifiedAxis(MMA7660_REG_T axis);
|
/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/bsp/intel/peripheral/libupm/src/adxl335/ |
D | CMakeLists.txt | 2 set (libdescription "upm adxl335 grove 3-axis anaolog accelerometer")
|
/hardware/bsp/intel/peripheral/libupm/src/enc03r/ |
D | CMakeLists.txt | 2 set (libdescription "upm enc03r single axis analog gyro module")
|