Lines Matching refs:int32_t

74     int32_t deviceId;
75 int32_t type;
76 int32_t code;
77 int32_t value;
84 int32_t minValue; // minimum value
85 int32_t maxValue; // maximum value
86 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8
87 int32_t fuzz; // error tolerance, eg. fuzz == 4 means value is +/- 4 due to noise
88 int32_t resolution; // resolution in units per mm or radians per mm
145 extern uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses);
179 virtual uint32_t getDeviceClasses(int32_t deviceId) const = 0;
181 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
183 virtual int32_t getDeviceControllerNumber(int32_t deviceId) const = 0;
185 virtual void getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const = 0;
187 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis,
190 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const = 0;
192 virtual bool hasInputProperty(int32_t deviceId, int property) const = 0;
194 virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
195 int32_t* outKeycode, uint32_t* outFlags) const = 0;
197 virtual status_t mapAxis(int32_t deviceId, int32_t scanCode,
221 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
222 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0;
223 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const = 0;
224 virtual status_t getAbsoluteAxisValue(int32_t deviceId, int32_t axis,
225 int32_t* outValue) const = 0;
230 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
233 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const = 0;
236 virtual bool hasLed(int32_t deviceId, int32_t led) const = 0;
237 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0;
239 virtual void getVirtualKeyDefinitions(int32_t deviceId,
242 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const = 0;
243 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) = 0;
246 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0;
247 virtual void cancelVibrate(int32_t deviceId) = 0;
267 virtual uint32_t getDeviceClasses(int32_t deviceId) const;
269 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
271 virtual int32_t getDeviceControllerNumber(int32_t deviceId) const;
273 virtual void getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const;
275 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis,
278 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const;
280 virtual bool hasInputProperty(int32_t deviceId, int property) const;
282 virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
283 int32_t* outKeycode, uint32_t* outFlags) const;
285 virtual status_t mapAxis(int32_t deviceId, int32_t scanCode,
290 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
291 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
292 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const;
293 virtual status_t getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const;
295 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
296 const int32_t* keyCodes, uint8_t* outFlags) const;
300 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const;
301 virtual bool hasLed(int32_t deviceId, int32_t led) const;
302 virtual void setLedState(int32_t deviceId, int32_t led, bool on);
304 virtual void getVirtualKeyDefinitions(int32_t deviceId,
307 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const;
308 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map);
310 virtual void vibrate(int32_t deviceId, nsecs_t duration);
311 virtual void cancelVibrate(int32_t deviceId);
328 const int32_t id;
353 int32_t controllerNumber;
355 int32_t timestampOverrideSec;
356 int32_t timestampOverrideUsec;
358 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
387 Device* getDeviceLocked(int32_t deviceId) const;
398 int32_t getNextControllerNumberLocked(Device* device);
402 status_t mapLed(Device* device, int32_t led, int32_t* outScanCode) const;
403 void setLedStateLocked(Device* device, int32_t led, bool on);
415 int32_t mBuiltInKeyboardId;
417 int32_t mNextDeviceId;
421 KeyedVector<int32_t, Device*> mDevices;