Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_X (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/include/input/
DInput.h244 return getAxisValue(AMOTION_EVENT_AXIS_X); in getX()
440 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getRawX()
450 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getX()
499 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX()
511 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalX()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp232 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory()
242 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 20); in initializeEventWithHistory()
258 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 110); in initializeEventWithHistory()
267 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 120); in initializeEventWithHistory()
278 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 210); in initializeEventWithHistory()
287 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 220); in initializeEventWithHistory()
555 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F()
DInputPublisherAndConsumer_test.cpp158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent()
209 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in PublishAndConsumeMotionEvent()
213 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset, in PublishAndConsumeMotionEvent()
/frameworks/native/libs/input/
DInput.cpp134 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, scaleFactor); in scale()
143 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset()
299 case AMOTION_EVENT_AXIS_X: in getAxisValue()
321 case AMOTION_EVENT_AXIS_X: in getHistoricalAxisValue()
411 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X) + oldXOffset; in transform()
414 c.setAxisValue(AMOTION_EVENT_AXIS_X, x - mXOffset); in transform()
DInputTransport.cpp779 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage()
900 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState()
/frameworks/native/include/android/
Dinput.h405 AMOTION_EVENT_AXIS_X = 0, enumerator
878 AINPUT_MOTION_RANGE_X = AMOTION_EVENT_AXIS_X,
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp197 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative()
261 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset); in pointerCoordsFromNative()
281 bits.clearBit(AMOTION_EVENT_AXIS_X); in pointerCoordsFromNative()
/frameworks/base/libs/input/
DPointerController.cpp301 c.getAxisValue(AMOTION_EVENT_AXIS_X), in setSpots()
317 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots()
/frameworks/native/services/inputflinger/
DInputReader.cpp2590 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2594 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo()
2847 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync()
2853 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
3639 mOrientedRanges.x.axis = AMOTION_EVENT_AXIS_X; in configureSurface()
5137 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData()
5391 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in dispatchPointerGestures()
5658 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
5700 AMOTION_EVENT_AXIS_X, mPointerGesture.tapX); in preparePointerGestures()
5815 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
[all …]
DInputDispatcher.cpp448 getAxisValue(AMOTION_EVENT_AXIS_X)); in enqueueInboundEventLocked()
905 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetailsLocked()
1204 getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked()
1302 int32_t x = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked()
2498 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in notifyMotion()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1637 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), 1); in assertPointerCoords()
3704 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3727 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3740 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3753 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3766 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()