Lines Matching refs:int32_t

270     float getAxisValue(int32_t axis) const;
271 status_t setAxisValue(int32_t axis, float value);
310 int32_t id;
313 int32_t toolType;
335 virtual int32_t getType() const = 0;
337 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId()
339 inline int32_t getSource() const { return mSource; } in getSource()
341 inline void setSource(int32_t source) { mSource = source; } in setSource()
343 inline int32_t getDisplayId() const { return mDisplayId; } in getDisplayId()
345 inline void setDisplayId(int32_t displayId) { mDisplayId = displayId; } in setDisplayId()
349 void initialize(int32_t deviceId, int32_t source, int32_t displayId);
352 int32_t mDeviceId;
353 int32_t mSource;
354 int32_t mDisplayId;
364 virtual int32_t getType() const { return AINPUT_EVENT_TYPE_KEY; } in getType()
366 inline int32_t getAction() const { return mAction; } in getAction()
368 inline int32_t getFlags() const { return mFlags; } in getFlags()
370 inline void setFlags(int32_t flags) { mFlags = flags; } in setFlags()
372 inline int32_t getKeyCode() const { return mKeyCode; } in getKeyCode()
374 inline int32_t getScanCode() const { return mScanCode; } in getScanCode()
376 inline int32_t getMetaState() const { return mMetaState; } in getMetaState()
378 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount()
384 static const char* getLabel(int32_t keyCode);
385 static int32_t getKeyCodeFromLabel(const char* label);
388 int32_t deviceId,
389 int32_t source,
390 int32_t displayId,
391 int32_t action,
392 int32_t flags,
393 int32_t keyCode,
394 int32_t scanCode,
395 int32_t metaState,
396 int32_t repeatCount,
402 int32_t mAction;
403 int32_t mFlags;
404 int32_t mKeyCode;
405 int32_t mScanCode;
406 int32_t mMetaState;
407 int32_t mRepeatCount;
419 virtual int32_t getType() const { return AINPUT_EVENT_TYPE_MOTION; } in getType()
421 inline int32_t getAction() const { return mAction; } in getAction()
423 inline int32_t getActionMasked() const { return mAction & AMOTION_EVENT_ACTION_MASK; } in getActionMasked()
425 inline int32_t getActionIndex() const { in getActionIndex()
430 inline void setAction(int32_t action) { mAction = action; } in setAction()
432 inline int32_t getFlags() const { return mFlags; } in getFlags()
434 inline void setFlags(int32_t flags) { mFlags = flags; } in setFlags()
436 inline int32_t getEdgeFlags() const { return mEdgeFlags; } in getEdgeFlags()
438 inline void setEdgeFlags(int32_t edgeFlags) { mEdgeFlags = edgeFlags; } in setEdgeFlags()
440 inline int32_t getMetaState() const { return mMetaState; } in getMetaState()
442 inline void setMetaState(int32_t metaState) { mMetaState = metaState; } in setMetaState()
444 inline int32_t getButtonState() const { return mButtonState; } in getButtonState()
446 inline void setButtonState(int32_t buttonState) { mButtonState = buttonState; } in setButtonState()
450 inline int32_t getActionButton() const { return mActionButton; } in getActionButton()
452 inline void setActionButton(int32_t button) { mActionButton = button; } in setActionButton()
472 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
476 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
484 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
494 float getAxisValue(int32_t axis, size_t pointerIndex) const;
541 float getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex,
554 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const;
601 ssize_t findPointerIndex(int32_t pointerId) const;
604 int32_t deviceId,
605 int32_t source,
606 int32_t displayId,
607 int32_t action,
608 int32_t actionButton,
609 int32_t flags,
610 int32_t edgeFlags,
611 int32_t metaState,
612 int32_t buttonState,
643 static bool isTouchEvent(int32_t source, int32_t action);
657 static const char* getLabel(int32_t axis);
658 static int32_t getAxisFromLabel(const char* label);
661 int32_t mAction;
662 int32_t mActionButton;
663 int32_t mFlags;
664 int32_t mEdgeFlags;
665 int32_t mMetaState;
666 int32_t mButtonState;