Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dinput.h536 AMOTION_EVENT_AXIS_ORIENTATION = 8, enumerator
1043 AINPUT_MOTION_RANGE_ORIENTATION = AMOTION_EVENT_AXIS_ORIENTATION,
/frameworks/native/libs/input/
DMotionPredictor.cpp309 coords.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in predict()
311 AMOTION_EVENT_AXIS_ORIENTATION)); in predict()
DInput.cpp108 return transformAngle(transform, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), in transformOrientation()
1082 if (axis == AMOTION_EVENT_AXIS_ORIENTATION) { in calculateTransformedAxisValue()
1108 coords.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in calculateTransformedCoordsInPlace()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp306 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 18); in SetUp()
317 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 28); in SetUp()
328 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 118); in SetUp()
339 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 128); in SetUp()
351 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 218); in SetUp()
361 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 228); in SetUp()
821 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, angle); in TEST_F()
1172 .axis(AMOTION_EVENT_AXIS_ORIENTATION, initial)) in TEST_F()
DInputPublisherAndConsumer_test.cpp116 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishMotionArgs()
176 const float unscaledOrientation = pc.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in verifyArgsEqualToEvent()
DInputPublisherAndConsumerNoResampling_test.cpp123 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishMotionArgs()
183 const float unscaledOrientation = pc.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in verifyArgsEqualToEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DCapturedTouchpadEventConverter.cpp125 info.addMotionRange(AMOTION_EVENT_AXIS_ORIENTATION, SOURCE, -M_PI_2, M_PI_2, 0, 0, 0); in populateMotionRanges()
300 coords.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, slot.getOrientation() * mOrientationScale); in makePointerCoordsForSlot()
DJoystickInputMapper.cpp243 case AMOTION_EVENT_AXIS_ORIENTATION: in isCenteredAxis()
DTouchInputMapper.cpp265 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), in dump()
757 .axis = AMOTION_EVENT_AXIS_ORIENTATION, in initializeOrientedRanges()
781 .axis = AMOTION_EVENT_AXIS_ORIENTATION, in initializeOrientedRanges()
2403 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.cpp249 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
DTestEventMatchers.h689 const auto argOrientation = arg.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION);
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp134 const float orientation = pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in dump()
DInputCommonConverter.cpp226 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_ORIENTATION) ==
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp224 out.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in pointerCoordsToNative()
366 if (coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION) != 0.f) { in android_view_MotionEvent_nativeInitialize()
444 {AMOTION_EVENT_AXIS_ORIENTATION, gPointerCoordsClassInfo.orientation}, in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/native/include/input/
DInput.h791 return getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex); in getOrientation()
869 AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex, historicalIndex); in getHistoricalOrientation()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp2140 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in logOutboundMotionDetails()
4572 args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in notifyMotion()