Searched refs:AMOTION_EVENT_AXIS_PRESSURE (Results 1 – 15 of 15) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | ExternalStylusInputMapper.cpp | 35 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, AINPUT_SOURCE_STYLUS, 0.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
|
D | CursorInputMapper.cpp | 95 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 379 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync()
|
D | TouchInputMapper.cpp | 316 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in dump() 747 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in initializeOrientedRanges() 1731 pressure = coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE); in applyExternalStylusTouchState() 1734 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in applyExternalStylusTouchState() 2352 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData() 2883 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() 2925 .setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() 3035 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in preparePointerGestures() 3286 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() 3380 mPointerGesture.currentGestureCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in preparePointerGestures() [all …]
|
/frameworks/base/libs/input/ |
D | TouchSpotController.cpp | 89 c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), displayId); in setSpots() 101 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
|
D | PointerController.cpp | 209 float pressure = spotCoords[index].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE); in setSpots() 210 outSpotCoords[index].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in setSpots()
|
/frameworks/native/include/android/ |
D | input.h | 450 AMOTION_EVENT_AXIS_PRESSURE = 2, enumerator 934 AINPUT_MOTION_RANGE_PRESSURE = AMOTION_EVENT_AXIS_PRESSURE,
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 259 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); in initializeEventWithHistory() 269 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 22); in initializeEventWithHistory() 286 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 112); in initializeEventWithHistory() 295 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 122); in initializeEventWithHistory() 306 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 212); in initializeEventWithHistory() 315 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 222); in initializeEventWithHistory()
|
D | InputPublisherAndConsumer_test.cpp | 185 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent() 256 EXPECT_EQ(pc.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), motionEvent->getPressure(i)); in PublishAndConsumeMotionEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 654 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex); in getPressure() 726 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex); in getHistoricalPressure()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 206 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative() 417 {AMOTION_EVENT_AXIS_PRESSURE, gPointerCoordsClassInfo.pressure}, in android_view_MotionEvent_nativeGetPointerCoords()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 201 pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE)); in dump()
|
D | InputCommonConverter.cpp | 220 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_PRESSURE) == common::Axis::PRESSURE);
|
D | UnwantedInteractionBlocker.cpp | 611 touches.back().pressure = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE); in getTouches()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 1743 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in logOutboundMotionDetails() 4006 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in notifyMotion()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 3084 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()
|