/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 55 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); in TEST_F() 65 ASSERT_EQ(OK, coords.setAxisValue(3, 2)); in TEST_F() 80 ASSERT_EQ(OK, coords.setAxisValue(0, 4)); in TEST_F() 96 ASSERT_EQ(OK, coords.setAxisValue(2, 1)); in TEST_F() 113 ASSERT_EQ(OK, coords.setAxisValue(1, 6)); in TEST_F() 131 ASSERT_EQ(OK, coords.setAxisValue(axis, axis)); in TEST_F() 137 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F() 157 inCoords.setAxisValue(2, 5); in TEST_F() 158 inCoords.setAxisValue(5, 8); in TEST_F() 238 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent() 161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent() 162 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent() 163 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); in PublishAndConsumeMotionEvent() 164 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); in PublishAndConsumeMotionEvent() 165 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); in PublishAndConsumeMotionEvent() 166 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i); in PublishAndConsumeMotionEvent() 167 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.7 * i); in PublishAndConsumeMotionEvent() 168 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishAndConsumeMotionEvent()
|
D | VelocityTracker_test.cpp | 169 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_X, entry.positions[pointerId].x); in createMotionEventStream() 170 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_Y, entry.positions[pointerId].y); in createMotionEventStream()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 37 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs() 38 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs() 39 coords.setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.5); in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 41 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs() 42 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 537 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in injectMotionDown() 538 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in injectMotionDown() 575 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionArgs() 576 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 200); in generateMotionArgs()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 354 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync() 355 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 356 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in sync() 357 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync() 360 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync() 361 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 365 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 451 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync() 452 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync()
|
D | TouchInputMapper.cpp | 1671 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in applyExternalStylusTouchState() 2284 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData() 2285 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData() 2286 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData() 2287 out.setAxisValue(AMOTION_EVENT_AXIS_SIZE, size); in cookPointerData() 2288 out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, touchMajor); in cookPointerData() 2289 out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, touchMinor); in cookPointerData() 2290 out.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, orientation); in cookPointerData() 2291 out.setAxisValue(AMOTION_EVENT_AXIS_TILT, tilt); in cookPointerData() 2292 out.setAxisValue(AMOTION_EVENT_AXIS_DISTANCE, distance); in cookPointerData() [all …]
|
D | RotaryEncoderInputMapper.cpp | 120 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_SCROLL, scroll * mScalingFactor); in sync()
|
D | JoystickInputMapper.cpp | 345 pointerCoords->setAxisValue(axis, value); in setPointerCoordsAxisValue() 352 pointerCoords->setAxisValue(compatAxis, value); in setPointerCoordsAxisValue()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 112 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() function in android::PointerCoords 141 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue() 166 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 167 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset() 441 c.setAxisValue(AMOTION_EVENT_AXIS_X, x - mXOffset); in transform() 442 c.setAxisValue(AMOTION_EVENT_AXIS_Y, y - mYOffset); in transform() 445 c.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in transform()
|
D | InputTransport.cpp | 876 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage() 877 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage() 999 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState() 1001 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 197 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative() 199 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative() 201 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative() 203 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_SIZE, in pointerCoordsToNative() 205 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, in pointerCoordsToNative() 207 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, in pointerCoordsToNative() 209 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, in pointerCoordsToNative() 211 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, in pointerCoordsToNative() 213 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in pointerCoordsToNative() 228 outRawPointerCoords->setAxisValue(axis, values[index++]); in pointerCoordsToNative()
|
/frameworks/native/include/input/ |
D | Input.h | 271 status_t setAxisValue(int32_t axis, float value);
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3933 public void setAxisValue(int axis, float value) { in setAxisValue() method in MotionEvent.PointerCoords
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 33060 method public void setAxisValue(int, float);
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 51105 method public void setAxisValue(int, float);
|
/frameworks/base/api/ |
D | current.txt | 51249 method public void setAxisValue(int, float);
|