Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_Y (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp170 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_Y, entry.positions[pointerId].y); in createMotionEventStream()
208 case AMOTION_EVENT_AXIS_Y: in computeAndCheckVelocity()
299 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, 5970.7309); in TEST_F()
342 computeAndCheckVelocity("impulse",motions, AMOTION_EVENT_AXIS_Y, -3604.819336); in TEST_F()
343 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_Y, -3044.966064); in TEST_F()
369 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, -4096.583008); in TEST_F()
370 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_Y, -3455.094238); in TEST_F()
399 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, -2361.982666); in TEST_F()
400 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_Y, -2500.055664); in TEST_F()
429 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, -3001.4348); in TEST_F()
[all …]
DInputEvent_test.cpp239 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in initializeEventWithHistory()
249 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in initializeEventWithHistory()
265 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in initializeEventWithHistory()
274 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in initializeEventWithHistory()
285 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in initializeEventWithHistory()
294 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in initializeEventWithHistory()
337 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
339 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
341 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
343 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
[all …]
DInputPublisherAndConsumer_test.cpp161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent()
214 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in PublishAndConsumeMotionEvent()
218 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset, in PublishAndConsumeMotionEvent()
/frameworks/native/include/input/
DInput.h286 return getAxisValue(AMOTION_EVENT_AXIS_Y); in getY()
491 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getRawY()
501 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getY()
551 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY()
563 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalY()
/frameworks/native/libs/input/
DInput.cpp154 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, windowYScale); in scale()
167 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset()
328 case AMOTION_EVENT_AXIS_Y: in getAxisValue()
350 case AMOTION_EVENT_AXIS_Y: in getHistoricalAxisValue()
439 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y) + oldYOffset; in transform()
442 c.setAxisValue(AMOTION_EVENT_AXIS_Y, y - mYOffset); in transform()
DInputTransport.cpp877 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage()
1001 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp77 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
81 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo()
355 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync()
361 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync()
DTouchInputMapper.cpp800 mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y; in configureSurface()
2285 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData()
2533 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in dispatchPointerGestures()
2797 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
2837 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
2949 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
3196 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
3290 .setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
3325 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures()
3336 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures()
[all …]
DJoystickInputMapper.cpp226 case AMOTION_EVENT_AXIS_Y: in isCenteredAxis()
/frameworks/native/include/android/
Dinput.h424 AMOTION_EVENT_AXIS_Y = 1, enumerator
884 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
/frameworks/native/services/inputflinger/tests/
DInputClassifierConverter_test.cpp38 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs()
DInputClassifier_test.cpp42 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
DInputDispatcher_test.cpp538 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in injectMotionDown()
576 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 200); in generateMotionArgs()
DInputReader_test.cpp1879 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in assertPointerCoords()
4023 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
4047 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
4061 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
4075 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
4089 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp199 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative()
263 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); in pointerCoordsFromNative()
282 bits.clearBit(AMOTION_EVENT_AXIS_Y); in pointerCoordsFromNative()
/frameworks/base/libs/input/
DPointerController.cpp286 c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots()
313 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp464 int32_t(motionEntry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in enqueueInboundEventLocked()
983 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetails()
1318 int32_t y = int32_t(entry->pointerCoords[pointerIndex].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked()
1400 int32_t y = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked()
2735 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in notifyMotion()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp219 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_Y) ==