/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() 232 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent() 159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent() 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent() 161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); in PublishAndConsumeMotionEvent() 162 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); in PublishAndConsumeMotionEvent() 163 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); in PublishAndConsumeMotionEvent() 164 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i); in PublishAndConsumeMotionEvent() 165 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.7 * i); in PublishAndConsumeMotionEvent() 166 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishAndConsumeMotionEvent()
|
/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/libs/input/ |
D | Input.cpp | 98 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() function in android::PointerCoords 127 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue() 143 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 144 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset() 414 c.setAxisValue(AMOTION_EVENT_AXIS_X, x - mXOffset); in transform() 415 c.setAxisValue(AMOTION_EVENT_AXIS_Y, y - mYOffset); in transform() 418 c.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in transform()
|
D | InputTransport.cpp | 779 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage() 780 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage() 900 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState() 902 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2847 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync() 2848 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 2849 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in sync() 2850 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync() 2853 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync() 2854 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 2858 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 2936 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync() 2937 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync() 3067 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_SCROLL, scroll * mScalingFactor); in sync() [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewOnGenericMotionEventTest.java | 122 coords.setAxisValue(axis, axisValue); in obtainScrollMotionEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 238 status_t setAxisValue(int32_t axis, float value);
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3679 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/api/ |
D | current.txt | 45084 method public void setAxisValue(int, float);
|
D | test-current.txt | 45534 method public void setAxisValue(int, float);
|
D | system-current.txt | 48671 method public void setAxisValue(int, float);
|