Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_X (Results 1 – 15 of 15) 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.cpp156 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent()
206 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in PublishAndConsumeMotionEvent()
210 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.cpp672 resampleCoords.getAxisValue(AMOTION_EVENT_AXIS_X), in rewriteMessage()
674 msgCoords.getAxisValue(AMOTION_EVENT_AXIS_X), in rewriteMessage()
677 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage()
783 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState()
/frameworks/native/include/android/
Dinput.h403 AMOTION_EVENT_AXIS_X = 0, enumerator
874 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.cpp277 c.getAxisValue(AMOTION_EVENT_AXIS_X), in setSpots()
293 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots()
/frameworks/native/services/inputflinger/
DInputReader.cpp2424 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2428 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo()
2648 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync()
2654 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
3394 mOrientedRanges.x.axis = AMOTION_EVENT_AXIS_X; in configureSurface()
4892 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData()
5146 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in dispatchPointerGestures()
5413 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
5457 AMOTION_EVENT_AXIS_X, mPointerGesture.tapX); in preparePointerGestures()
5572 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
[all …]
DInputDispatcher.cpp448 getAxisValue(AMOTION_EVENT_AXIS_X)); in enqueueInboundEventLocked()
908 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetailsLocked()
1199 getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked()
1304 int32_t x = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked()
2500 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in notifyMotion()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1468 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), 1); in assertPointerCoords()
3152 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3175 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3188 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3201 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3214 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
/frameworks/base/docs/html/ndk/reference/
Dinput_8h.jd131 …gabc5c98fcc1211af2b80116dd6e0a035da5f4b5b009634039a1f361048a5fc6064">AMOTION_EVENT_AXIS_X</a> = 0,
242 …3c9b203f52cabaa0e5816bc48cdb33f2b488a109596ffe1">AINPUT_MOTION_RANGE_X</a> = AMOTION_EVENT_AXIS_X,
Dglobals_eval.jd1417 <li>AMOTION_EVENT_AXIS_X
Dglobals.jd1723 <li>AMOTION_EVENT_AXIS_X
Dgroup___input.jd131 …gabc5c98fcc1211af2b80116dd6e0a035da5f4b5b009634039a1f361048a5fc6064">AMOTION_EVENT_AXIS_X</a> = 0,
242 …3c9b203f52cabaa0e5816bc48cdb33f2b488a109596ffe1">AINPUT_MOTION_RANGE_X</a> = AMOTION_EVENT_AXIS_X,
788 …8fcc1211af2b80116dd6e0a035da5f4b5b009634039a1f361048a5fc6064"></a>AMOTION_EVENT_AXIS_X</em>&#160;<…