Searched refs:AMOTION_EVENT_AXIS_ORIENTATION (Results 1 – 17 of 17) sorted by relevance
/frameworks/native/include/android/ |
D | input.h | 536 AMOTION_EVENT_AXIS_ORIENTATION = 8, enumerator 1043 AINPUT_MOTION_RANGE_ORIENTATION = AMOTION_EVENT_AXIS_ORIENTATION,
|
/frameworks/native/libs/input/ |
D | MotionPredictor.cpp | 309 coords.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in predict() 311 AMOTION_EVENT_AXIS_ORIENTATION)); in predict()
|
D | Input.cpp | 108 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/ |
D | InputEvent_test.cpp | 306 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()
|
D | InputPublisherAndConsumer_test.cpp | 116 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishMotionArgs() 176 const float unscaledOrientation = pc.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in verifyArgsEqualToEvent()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 123 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/ |
D | CapturedTouchpadEventConverter.cpp | 125 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()
|
D | JoystickInputMapper.cpp | 243 case AMOTION_EVENT_AXIS_ORIENTATION: in isCenteredAxis()
|
D | TouchInputMapper.cpp | 265 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/ |
D | CapturedTouchpadEventConverter_test.cpp | 185 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()
|
D | InputMapperTest.cpp | 249 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
|
D | TestEventMatchers.h | 689 const auto argOrientation = arg.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION);
|
/frameworks/native/services/inputflinger/ |
D | NotifyArgs.cpp | 134 const float orientation = pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in dump()
|
D | InputCommonConverter.cpp | 226 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_ORIENTATION) ==
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 224 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/ |
D | Input.h | 791 return getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex); in getOrientation() 869 AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex, historicalIndex); in getHistoricalOrientation()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 2140 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in logOutboundMotionDetails() 4572 args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in notifyMotion()
|