Searched refs:AMOTION_EVENT_AXIS_ORIENTATION (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 276 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()
|
D | InputPublisherAndConsumer_test.cpp | 185 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/ |
D | input.h | 540 AMOTION_EVENT_AXIS_ORIENTATION = 8, enumerator 1048 AINPUT_MOTION_RANGE_ORIENTATION = AMOTION_EVENT_AXIS_ORIENTATION,
|
/frameworks/native/libs/input/ |
D | Input.cpp | 494 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/ |
D | CapturedTouchpadEventConverter.cpp | 126 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()
|
D | JoystickInputMapper.cpp | 243 case AMOTION_EVENT_AXIS_ORIENTATION: in isCenteredAxis()
|
D | TouchInputMapper.cpp | 263 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/ |
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 | 234 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords()
|
/frameworks/native/services/inputflinger/ |
D | NotifyArgs.cpp | 134 const float orientation = pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in dump()
|
D | InputCommonConverter.cpp | 223 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_ORIENTATION) ==
|
/frameworks/native/include/input/ |
D | Input.h | 750 return getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex); in getOrientation() 828 AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex, historicalIndex); in getHistoricalOrientation()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 233 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/ |
D | InputDispatcher.cpp | 1959 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in logOutboundMotionDetails() 4357 args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION)); in notifyMotion()
|