/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 | 38 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs() 39 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 535 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in injectMotionDown() 536 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in injectMotionDown() 573 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionArgs() 574 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 200); in generateMotionArgs()
|
/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/services/inputflinger/ |
D | InputReader.cpp | 2803 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync() 2804 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 2805 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in sync() 2806 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync() 2809 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync() 2810 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 2814 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 2896 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync() 2897 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync() 3042 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_SCROLL, scroll * mScalingFactor); in sync() [all …]
|
/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 | 3932 public void setAxisValue(int axis, float value) { in setAxisValue() method in MotionEvent.PointerCoords
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |