/frameworks/base/libs/androidfw/tests/ |
D | InputEvent_test.cpp | 56 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); in TEST_F() 66 ASSERT_EQ(OK, coords.setAxisValue(3, 2)); in TEST_F() 81 ASSERT_EQ(OK, coords.setAxisValue(0, 4)); in TEST_F() 97 ASSERT_EQ(OK, coords.setAxisValue(2, 1)); in TEST_F() 114 ASSERT_EQ(OK, coords.setAxisValue(1, 6)); in TEST_F() 132 ASSERT_EQ(OK, coords.setAxisValue(axis, axis)); in TEST_F() 138 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F() 158 inCoords.setAxisValue(2, 5); in TEST_F() 159 inCoords.setAxisValue(5, 8); in TEST_F() 233 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 154 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent() 155 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent() 156 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); in PublishAndConsumeMotionEvent() 157 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); in PublishAndConsumeMotionEvent() 158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); in PublishAndConsumeMotionEvent() 159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); in PublishAndConsumeMotionEvent() 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i); in PublishAndConsumeMotionEvent() 161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.7 * i); in PublishAndConsumeMotionEvent() 162 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i); in PublishAndConsumeMotionEvent()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 195 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative() 197 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative() 199 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative() 201 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_SIZE, in pointerCoordsToNative() 203 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, in pointerCoordsToNative() 205 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, in pointerCoordsToNative() 207 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, in pointerCoordsToNative() 209 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, in pointerCoordsToNative() 211 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in pointerCoordsToNative() 227 outRawPointerCoords->setAxisValue(axis, values[index++]); in pointerCoordsToNative()
|
/frameworks/base/libs/androidfw/ |
D | Input.cpp | 171 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() function in android::PointerCoords 199 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue() 466 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset); in transform() 467 c.setAxisValue(AMOTION_EVENT_AXIS_Y, SkScalarToFloat(point.fY) - newYOffset); in transform() 470 c.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, transformAngle(matrix, orientation)); in transform()
|
D | InputTransport.cpp | 660 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage() 661 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage() 761 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState() 763 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
|
/frameworks/base/services/input/ |
D | InputReader.cpp | 2464 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync() 2465 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 2467 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync() 2468 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 2471 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 2515 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync() 2516 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync() 4119 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData() 4120 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData() 4121 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData() [all …]
|
/frameworks/base/include/androidfw/ |
D | Input.h | 176 status_t setAxisValue(int32_t axis, float value);
|
/frameworks/base/docs/html/sdk/api_diff/12/ |
D | missingSinces.txt | 74 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method setAxisValue(int, float)
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3396 public void setAxisValue(int axis, float value) { in setAxisValue() method in MotionEvent.PointerCoords
|
/frameworks/base/api/ |
D | 14.txt | 22590 method public void setAxisValue(int, float);
|
D | 15.txt | 22736 method public void setAxisValue(int, float);
|
D | current.txt | 23794 method public void setAxisValue(int, float);
|
D | 16.txt | 23794 method public void setAxisValue(int, float);
|