Searched refs:AMOTION_EVENT_AXIS_PRESSURE (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 240 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()
|
D | InputPublisherAndConsumer_test.cpp | 162 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/ |
D | ExternalStylusInputMapper.cpp | 34 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, AINPUT_SOURCE_STYLUS, 0.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
|
D | CursorInputMapper.cpp | 83 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()
|
D | TouchInputMapper.cpp | 298 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/ |
D | input.h | 437 AMOTION_EVENT_AXIS_PRESSURE = 2, enumerator 886 AINPUT_MOTION_RANGE_PRESSURE = AMOTION_EVENT_AXIS_PRESSURE,
|
/frameworks/native/include/input/ |
D | Input.h | 505 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex); in getPressure() 568 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex); in getHistoricalPressure()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 201 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/ |
D | PointerController.cpp | 287 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/ |
D | InputClassifierConverter.cpp | 221 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_PRESSURE) ==
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 984 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/ |
D | InputReader_test.cpp | 1880 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()
|