Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_ORIENTATION (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp276 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 18); in SetUp()
287 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 28); in SetUp()
298 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 118); in SetUp()
309 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 128); in SetUp()
321 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 218); in SetUp()
331 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 228); in SetUp()
641 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, angle); in TEST_F()
DInputPublisherAndConsumer_test.cpp185 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishAndConsumeMotionEvent()
261 const float unscaledOrientation = pc.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in PublishAndConsumeMotionEvent()
/frameworks/native/include/android/
Dinput.h540 AMOTION_EVENT_AXIS_ORIENTATION = 8, enumerator
1048 AINPUT_MOTION_RANGE_ORIENTATION = AMOTION_EVENT_AXIS_ORIENTATION,
/frameworks/native/libs/input/
DInput.cpp494 if (BitSet64::hasBit(bits, AMOTION_EVENT_AXIS_ORIENTATION)) { in transform()
495 const float val = getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in transform()
496 setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, transformAngle(transform, val)); in transform()
970 if (axis == AMOTION_EVENT_AXIS_ORIENTATION) { in calculateTransformedAxisValue()
971 return transformAngle(transform, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in calculateTransformedAxisValue()
998 out.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in calculateTransformedCoords()
1000 coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION))); in calculateTransformedCoords()
/frameworks/native/services/inputflinger/reader/mapper/
DCapturedTouchpadEventConverter.cpp126 info.addMotionRange(AMOTION_EVENT_AXIS_ORIENTATION, SOURCE, -M_PI_2, M_PI_2, 0, 0, 0); in populateMotionRanges()
301 coords.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, slot.getOrientation() * mOrientationScale); in makePointerCoordsForSlot()
DJoystickInputMapper.cpp243 case AMOTION_EVENT_AXIS_ORIENTATION: in isCenteredAxis()
DTouchInputMapper.cpp263 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), in dump()
762 .axis = AMOTION_EVENT_AXIS_ORIENTATION, in initializeOrientedRanges()
786 .axis = AMOTION_EVENT_AXIS_ORIENTATION, in initializeOrientedRanges()
2451 out.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, orientation); in cookPointerData()
/frameworks/native/services/inputflinger/tests/
DCapturedTouchpadEventConverter_test.cpp185 info.getMotionRange(AMOTION_EVENT_AXIS_ORIENTATION, AINPUT_SOURCE_TOUCHPAD); in TEST_F()
295 AMOTION_EVENT_AXIS_ORIENTATION), in TEST_F()
302 AMOTION_EVENT_AXIS_ORIENTATION), in TEST_F()
309 AMOTION_EVENT_AXIS_ORIENTATION), in TEST_F()
DInputMapperTest.cpp234 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp134 const float orientation = pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in dump()
DInputCommonConverter.cpp223 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_ORIENTATION) ==
/frameworks/native/include/input/
DInput.h750 return getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex); in getOrientation()
828 AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex, historicalIndex); in getHistoricalOrientation()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp233 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in pointerCoordsToNative()
441 {AMOTION_EVENT_AXIS_ORIENTATION, gPointerCoordsClassInfo.orientation}, in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1959 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in logOutboundMotionDetails()
4357 args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in notifyMotion()