Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_PRESSURE (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp35 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, AINPUT_SOURCE_STYLUS, 0.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
DCursorInputMapper.cpp95 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()
DTouchInputMapper.cpp316 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/
DTouchSpotController.cpp89 c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), displayId); in setSpots()
101 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
DPointerController.cpp209 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/
Dinput.h450 AMOTION_EVENT_AXIS_PRESSURE = 2, enumerator
934 AINPUT_MOTION_RANGE_PRESSURE = AMOTION_EVENT_AXIS_PRESSURE,
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp259 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()
DInputPublisherAndConsumer_test.cpp185 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/
DInput.h654 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex); in getPressure()
726 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex); in getHistoricalPressure()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp206 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative()
417 {AMOTION_EVENT_AXIS_PRESSURE, gPointerCoordsClassInfo.pressure}, in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/native/services/inputflinger/
DInputListener.cpp201 pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE)); in dump()
DInputCommonConverter.cpp220 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_PRESSURE) == common::Axis::PRESSURE);
DUnwantedInteractionBlocker.cpp611 touches.back().pressure = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE); in getTouches()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1743 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/
DInputReader_test.cpp3084 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()