/frameworks/base/include/androidfw/ |
D | Input.h | 181 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/ |
D | InputEvent_test.cpp | 233 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()
|
D | InputPublisherAndConsumer_test.cpp | 154 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/ |
D | Input.cpp | 206 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()
|
D | InputTransport.cpp | 655 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/ |
D | input.h | 351 AMOTION_EVENT_AXIS_X = 0, enumerator 475 AINPUT_MOTION_RANGE_X = AMOTION_EVENT_AXIS_X,
|
/frameworks/base/services/input/ |
D | PointerController.cpp | 252 c.getAxisValue(AMOTION_EVENT_AXIS_X), in setSpots() 268 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots()
|
D | InputReader.cpp | 2244 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 …]
|
D | InputDispatcher.cpp | 427 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/ |
D | android_view_MotionEvent.cpp | 195 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/ |
D | InputReader_test.cpp | 1425 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()
|