Home
last modified time | relevance | path

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

/frameworks/base/include/androidfw/
DInput.h181 return getAxisValue(AMOTION_EVENT_AXIS_X); in getX()
376 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getRawX()
386 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getX()
435 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX()
447 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalX()
/frameworks/base/libs/androidfw/tests/
DInputEvent_test.cpp233 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory()
243 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 20); in initializeEventWithHistory()
259 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 110); in initializeEventWithHistory()
268 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 120); in initializeEventWithHistory()
279 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 210); in initializeEventWithHistory()
288 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 220); in initializeEventWithHistory()
542 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F()
DInputPublisherAndConsumer_test.cpp154 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent()
204 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in PublishAndConsumeMotionEvent()
208 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset, in PublishAndConsumeMotionEvent()
/frameworks/base/libs/androidfw/
DInput.cpp206 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, scaleFactor); in scale()
363 case AMOTION_EVENT_AXIS_X: in getAxisValue()
385 case AMOTION_EVENT_AXIS_X: in getHistoricalAxisValue()
463 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X) + oldXOffset; in transform()
466 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset); in transform()
DInputTransport.cpp655 resampleCoords.getAxisValue(AMOTION_EVENT_AXIS_X), in rewriteMessage()
657 msgCoords.getAxisValue(AMOTION_EVENT_AXIS_X), in rewriteMessage()
660 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage()
761 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState()
/frameworks/native/include/android/
Dinput.h351 AMOTION_EVENT_AXIS_X = 0, enumerator
475 AINPUT_MOTION_RANGE_X = AMOTION_EVENT_AXIS_X,
/frameworks/base/services/input/
DPointerController.cpp252 c.getAxisValue(AMOTION_EVENT_AXIS_X), in setSpots()
268 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots()
DInputReader.cpp2244 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f); in populateDeviceInfo()
2248 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale); in populateDeviceInfo()
2464 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync()
2467 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
2948 mOrientedRanges.x.axis = AMOTION_EVENT_AXIS_X; in configureSurface()
4119 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData()
4362 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in dispatchPointerGestures()
4618 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
4660 AMOTION_EVENT_AXIS_X, mPointerGesture.tapX); in preparePointerGestures()
4772 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
[all …]
DInputDispatcher.cpp427 getAxisValue(AMOTION_EVENT_AXIS_X)); in enqueueInboundEventLocked()
862 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetailsLocked()
1165 getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked()
1298 int32_t x = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked()
2395 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in notifyMotion()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp195 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative()
260 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset); in pointerCoordsFromNative()
279 | (1LL << AMOTION_EVENT_AXIS_X) in pointerCoordsFromNative()
/frameworks/base/services/input/tests/
DInputReader_test.cpp1425 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), 1); in assertPointerCoords()
3084 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3107 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3120 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3133 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
3146 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()