Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp240 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); in initializeEventWithHistory()
250 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 22); in initializeEventWithHistory()
266 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 112); in initializeEventWithHistory()
275 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 122); in initializeEventWithHistory()
286 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 212); in initializeEventWithHistory()
295 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 222); in initializeEventWithHistory()
DInputPublisherAndConsumer_test.cpp162 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent()
220 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in PublishAndConsumeMotionEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp34 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, AINPUT_SOURCE_STYLUS, 0.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
DCursorInputMapper.cpp83 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
365 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync()
DTouchInputMapper.cpp298 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in dump()
873 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in configureSurface()
1668 pressure = coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE); in applyExternalStylusTouchState()
1671 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in applyExternalStylusTouchState()
2286 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData()
2798 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures()
2840 .setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures()
2950 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in preparePointerGestures()
3198 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures()
3292 mPointerGesture.currentGestureCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in preparePointerGestures()
[all …]
/frameworks/native/include/android/
Dinput.h437 AMOTION_EVENT_AXIS_PRESSURE = 2, enumerator
886 AINPUT_MOTION_RANGE_PRESSURE = AMOTION_EVENT_AXIS_PRESSURE,
/frameworks/native/include/input/
DInput.h505 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex); in getPressure()
568 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex); in getHistoricalPressure()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp201 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative()
265 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_PRESSURE)); in pointerCoordsFromNative()
283 bits.clearBit(AMOTION_EVENT_AXIS_PRESSURE); in pointerCoordsFromNative()
/frameworks/base/libs/input/
DPointerController.cpp287 c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in setSpots()
310 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp221 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_PRESSURE) ==
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp984 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in logOutboundMotionDetails()
2736 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in notifyMotion()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1880 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()