Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DInputEvent_test.cpp234 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in initializeEventWithHistory()
244 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in initializeEventWithHistory()
260 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in initializeEventWithHistory()
269 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in initializeEventWithHistory()
280 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in initializeEventWithHistory()
289 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in initializeEventWithHistory()
330 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
332 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
334 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
336 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
[all …]
DInputPublisherAndConsumer_test.cpp155 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent()
206 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in PublishAndConsumeMotionEvent()
210 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset, in PublishAndConsumeMotionEvent()
/frameworks/base/include/androidfw/
DInput.h185 return getAxisValue(AMOTION_EVENT_AXIS_Y); in getY()
380 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getRawY()
390 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getY()
440 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY()
452 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalY()
/frameworks/base/libs/androidfw/
DInput.cpp207 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, scaleFactor); in scale()
365 case AMOTION_EVENT_AXIS_Y: in getAxisValue()
387 case AMOTION_EVENT_AXIS_Y: in getHistoricalAxisValue()
464 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y) + oldYOffset; in transform()
467 c.setAxisValue(AMOTION_EVENT_AXIS_Y, SkScalarToFloat(point.fY) - newYOffset); in transform()
DInputTransport.cpp656 resampleCoords.getAxisValue(AMOTION_EVENT_AXIS_Y), in rewriteMessage()
658 msgCoords.getAxisValue(AMOTION_EVENT_AXIS_Y)); in rewriteMessage()
661 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage()
763 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
/frameworks/native/include/android/
Dinput.h352 AMOTION_EVENT_AXIS_Y = 1, enumerator
476 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
/frameworks/base/services/input/
DPointerController.cpp253 c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots()
269 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
DInputReader.cpp2245 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f); in populateDeviceInfo()
2249 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale); in populateDeviceInfo()
2465 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync()
2468 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync()
2950 mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y; in configureSurface()
4120 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData()
4363 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in dispatchPointerGestures()
4619 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
4662 AMOTION_EVENT_AXIS_Y, mPointerGesture.tapY); in preparePointerGestures()
4773 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
[all …]
DInputDispatcher.cpp429 getAxisValue(AMOTION_EVENT_AXIS_Y)); in enqueueInboundEventLocked()
863 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetailsLocked()
1167 getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked()
1299 int32_t y = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked()
2396 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in notifyMotion()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp197 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative()
262 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); in pointerCoordsFromNative()
280 | (1LL << AMOTION_EVENT_AXIS_Y) in pointerCoordsFromNative()
/frameworks/base/services/input/tests/
DInputReader_test.cpp1426 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in assertPointerCoords()
3085 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
3108 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
3121 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
3134 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
3147 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()