Lines Matching refs:int32_t

206     float getAxisValue(int32_t axis) const;
207 status_t setAxisValue(int32_t axis, float value);
241 int32_t id;
244 int32_t toolType;
266 virtual int32_t getType() const = 0;
268 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId()
270 inline int32_t getSource() const { return mSource; } in getSource()
272 inline void setSource(int32_t source) { mSource = source; } in setSource()
275 void initialize(int32_t deviceId, int32_t source);
278 int32_t mDeviceId;
279 int32_t mSource;
289 virtual int32_t getType() const { return AINPUT_EVENT_TYPE_KEY; } in getType()
291 inline int32_t getAction() const { return mAction; } in getAction()
293 inline int32_t getFlags() const { return mFlags; } in getFlags()
295 inline void setFlags(int32_t flags) { mFlags = flags; } in setFlags()
297 inline int32_t getKeyCode() const { return mKeyCode; } in getKeyCode()
299 inline int32_t getScanCode() const { return mScanCode; } in getScanCode()
301 inline int32_t getMetaState() const { return mMetaState; } in getMetaState()
303 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount()
309 static const char* getLabel(int32_t keyCode);
310 static int32_t getKeyCodeFromLabel(const char* label);
313 int32_t deviceId,
314 int32_t source,
315 int32_t action,
316 int32_t flags,
317 int32_t keyCode,
318 int32_t scanCode,
319 int32_t metaState,
320 int32_t repeatCount,
326 int32_t mAction;
327 int32_t mFlags;
328 int32_t mKeyCode;
329 int32_t mScanCode;
330 int32_t mMetaState;
331 int32_t mRepeatCount;
343 virtual int32_t getType() const { return AINPUT_EVENT_TYPE_MOTION; } in getType()
345 inline int32_t getAction() const { return mAction; } in getAction()
347 inline int32_t getActionMasked() const { return mAction & AMOTION_EVENT_ACTION_MASK; } in getActionMasked()
349 inline int32_t getActionIndex() const { in getActionIndex()
354 inline void setAction(int32_t action) { mAction = action; } in setAction()
356 inline int32_t getFlags() const { return mFlags; } in getFlags()
358 inline void setFlags(int32_t flags) { mFlags = flags; } in setFlags()
360 inline int32_t getEdgeFlags() const { return mEdgeFlags; } in getEdgeFlags()
362 inline void setEdgeFlags(int32_t edgeFlags) { mEdgeFlags = edgeFlags; } in setEdgeFlags()
364 inline int32_t getMetaState() const { return mMetaState; } in getMetaState()
366 inline void setMetaState(int32_t metaState) { mMetaState = metaState; } in setMetaState()
368 inline int32_t getButtonState() const { return mButtonState; } in getButtonState()
388 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
392 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
400 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
410 float getAxisValue(int32_t axis, size_t pointerIndex) const;
457 float getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex,
470 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const;
517 ssize_t findPointerIndex(int32_t pointerId) const;
520 int32_t deviceId,
521 int32_t source,
522 int32_t action,
523 int32_t flags,
524 int32_t edgeFlags,
525 int32_t metaState,
526 int32_t buttonState,
556 static bool isTouchEvent(int32_t source, int32_t action);
570 static const char* getLabel(int32_t axis);
571 static int32_t getAxisFromLabel(const char* label);
574 int32_t mAction;
575 int32_t mFlags;
576 int32_t mEdgeFlags;
577 int32_t mMetaState;
578 int32_t mButtonState;