Home
last modified time | relevance | path

Searched refs:motion (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/input/
DInputTransport.cpp99 return body.motion.pointerCount > 0 in isValid()
100 && body.motion.pointerCount <= MAX_POINTERS; in isValid()
113 return sizeof(Header) + body.motion.size(); in size()
161 msg->body.motion.seq = body.motion.seq; in getSanitizedCopy()
163 msg->body.motion.eventTime = body.motion.eventTime; in getSanitizedCopy()
165 msg->body.motion.deviceId = body.motion.deviceId; in getSanitizedCopy()
167 msg->body.motion.source = body.motion.source; in getSanitizedCopy()
169 msg->body.motion.displayId = body.motion.displayId; in getSanitizedCopy()
171 msg->body.motion.action = body.motion.action; in getSanitizedCopy()
173 msg->body.motion.actionButton = body.motion.actionButton; in getSanitizedCopy()
[all …]
/frameworks/base/core/java/android/view/
DInputEventCompatProcessor.java56 MotionEvent motion = (MotionEvent) e; in processInputEventForCompatibility() local
59 final int buttonState = motion.getButtonState(); in processInputEventForCompatibility()
62 motion.setButtonState(buttonState | compatButtonState); in processInputEventForCompatibility()
64 mProcessedEvents.add(motion); in processInputEventForCompatibility()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp175 serverMsg.body.motion.seq = 1; in TEST_F()
176 serverMsg.body.motion.pointerCount = 1; in TEST_F()
180 serverMsg.body.motion.classification = classification; in TEST_F()
187 EXPECT_EQ(classification, clientMsg.body.motion.classification) << in TEST_F()
/frameworks/native/include/input/
DInputTransport.h134 } motion; member
406 eventTime = msg.body.motion.eventTime; in initializeFrom()
408 for (uint32_t i = 0; i < msg.body.motion.pointerCount; i++) { in initializeFrom()
409 uint32_t id = msg.body.motion.pointers[i].properties.id; in initializeFrom()
412 pointers[i].copyFrom(msg.body.motion.pointers[i].coords); in initializeFrom()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-testing.md7 …n. A FlingAnimation’s ‘end’ is when the friction simulation reports that motion has slowed to an i…
/frameworks/base/services/core/java/com/android/server/wm/
DImmersiveModeConfirmation.java337 public boolean onTouchEvent(MotionEvent motion) { in onTouchEvent() argument
/frameworks/base/cmds/hid/
DREADME.md120 will generate a motion event within the input framework, in addition to the