/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 59 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); in TEST_F() 69 ASSERT_EQ(OK, coords.setAxisValue(3, 2)); in TEST_F() 84 ASSERT_EQ(OK, coords.setAxisValue(0, 4)); in TEST_F() 100 ASSERT_EQ(OK, coords.setAxisValue(2, 1)); in TEST_F() 117 ASSERT_EQ(OK, coords.setAxisValue(1, 6)); in TEST_F() 135 ASSERT_EQ(OK, coords.setAxisValue(axis, axis)); in TEST_F() 141 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F() 161 inCoords.setAxisValue(2, 5); in TEST_F() 162 inCoords.setAxisValue(5, 8); in TEST_F() 247 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 177 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent() 178 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent() 179 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent() 180 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); in PublishAndConsumeMotionEvent() 181 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); in PublishAndConsumeMotionEvent() 182 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); in PublishAndConsumeMotionEvent() 183 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i); in PublishAndConsumeMotionEvent() 184 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.7 * i); in PublishAndConsumeMotionEvent() 185 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 | 958 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, position.x); 959 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, position.y); 1013 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, points[i].x); in generateMotionArgs() 1014 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, points[i].y); in generateMotionArgs() 1600 motionArgs.pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in TEST_F()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 333 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, xCursorPosition); in sync() 334 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, yCursorPosition); in sync() 335 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in sync() 336 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync() 339 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync() 340 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 344 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 429 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync() 430 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync()
|
D | TouchInputMapper.cpp | 1646 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in applyExternalStylusTouchState() 2245 out.setAxisValue(AMOTION_EVENT_AXIS_X, xTransformed); in cookPointerData() 2246 out.setAxisValue(AMOTION_EVENT_AXIS_Y, yTransformed); in cookPointerData() 2247 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData() 2248 out.setAxisValue(AMOTION_EVENT_AXIS_SIZE, size); in cookPointerData() 2249 out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, touchMajor); in cookPointerData() 2250 out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, touchMinor); in cookPointerData() 2251 out.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, orientation); in cookPointerData() 2252 out.setAxisValue(AMOTION_EVENT_AXIS_TILT, tilt); in cookPointerData() 2253 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 | 347 pointerCoords->setAxisValue(axis, value); in setPointerCoordsAxisValue() 354 pointerCoords->setAxisValue(compatAxis, value); in setPointerCoordsAxisValue()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 200 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionEvent() 201 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 100); in generateMotionEvent() 227 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionArgs() 228 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 100); in generateMotionArgs()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 194 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() function in android::PointerCoords 223 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue() 248 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 249 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset() 545 c.setAxisValue(AMOTION_EVENT_AXIS_X, (x - mXOffset) / mXScale); in transform() 546 c.setAxisValue(AMOTION_EVENT_AXIS_Y, (y - mYOffset) / mYScale); in transform() 549 c.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in transform()
|
D | InputTransport.cpp | 916 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage() 917 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage() 1039 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState() 1041 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
|
/frameworks/native/include/input/ |
D | Input.h | 334 status_t setAxisValue(int32_t axis, float value);
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 4030 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/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 33060 method public void setAxisValue(int, float);
|
/frameworks/base/api/ |
D | current.txt | 53359 method public void setAxisValue(int, float);
|