Searched refs:AMOTION_EVENT_AXIS_PRESSURE (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 234 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); in initializeEventWithHistory() 244 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 22); in initializeEventWithHistory() 260 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 112); in initializeEventWithHistory() 269 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 122); in initializeEventWithHistory() 280 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 212); in initializeEventWithHistory() 289 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 222); in initializeEventWithHistory()
|
D | InputPublisherAndConsumer_test.cpp | 157 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent() 213 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in PublishAndConsumeMotionEvent()
|
/frameworks/native/include/android/ |
D | input.h | 353 AMOTION_EVENT_AXIS_PRESSURE = 2, enumerator 479 AINPUT_MOTION_RANGE_PRESSURE = AMOTION_EVENT_AXIS_PRESSURE,
|
/frameworks/native/include/input/ |
D | Input.h | 402 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex); in getPressure() 465 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex); in getHistoricalPressure()
|
/frameworks/base/services/input/ |
D | PointerController.cpp | 254 c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE)); in setSpots() 266 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots()
|
D | InputReader.cpp | 2259 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 2484 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 2694 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in dump() 3124 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in configureSurface() 4301 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData() 4816 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() 4860 AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() 4974 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in preparePointerGestures() 5220 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() 5315 AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures() [all …]
|
D | InputDispatcher.cpp | 899 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in logOutboundMotionDetailsLocked() 2446 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in notifyMotion()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 198 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative() 263 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_PRESSURE)); in pointerCoordsFromNative() 280 | (1LL << AMOTION_EVENT_AXIS_PRESSURE) in pointerCoordsFromNative()
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 1452 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords()
|