Home
last modified time | relevance | path

Searched refs:setAxisValue (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/ui/tests/
DInputEvent_test.cpp56 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 …]
DInputPublisherAndConsumer_test.cpp182 pc.setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i + j); in PublishAndConsumeMotionEvent()
183 pc.setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i + j); in PublishAndConsumeMotionEvent()
184 pc.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i + j); in PublishAndConsumeMotionEvent()
185 pc.setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i + j); in PublishAndConsumeMotionEvent()
186 pc.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i + j); in PublishAndConsumeMotionEvent()
187 pc.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i + j); in PublishAndConsumeMotionEvent()
188 pc.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i + j); in PublishAndConsumeMotionEvent()
189 pc.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.7 * i + j); in PublishAndConsumeMotionEvent()
190 pc.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 3.5 * i + j); in PublishAndConsumeMotionEvent()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp194 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative()
196 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative()
198 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in pointerCoordsToNative()
200 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_SIZE, in pointerCoordsToNative()
202 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, in pointerCoordsToNative()
204 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, in pointerCoordsToNative()
206 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, in pointerCoordsToNative()
208 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, in pointerCoordsToNative()
210 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, in pointerCoordsToNative()
226 outRawPointerCoords->setAxisValue(axis, values[index++]); in pointerCoordsToNative()
/frameworks/base/services/input/
DInputReader.cpp2240 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync()
2241 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync()
2243 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
2244 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync()
2247 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync()
2291 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
2292 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync()
3889 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData()
3890 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData()
3891 out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure); in cookPointerData()
[all …]
/frameworks/base/libs/ui/
DInput.cpp278 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() function in android::PointerCoords
306 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue()
573 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset); in transform()
574 c.setAxisValue(AMOTION_EVENT_AXIS_Y, SkScalarToFloat(point.fY) - newYOffset); in transform()
577 c.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, transformAngle(matrix, orientation)); in transform()
/frameworks/base/include/ui/
DInput.h208 status_t setAxisValue(int32_t axis, float value);
/frameworks/base/docs/html/sdk/api_diff/12/
DmissingSinces.txt74 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method setAxisValue(int, float)
/frameworks/base/core/java/android/view/
DMotionEvent.java3294 public void setAxisValue(int axis, float value) { in setAxisValue() method in MotionEvent.PointerCoords
/frameworks/base/api/
Dcurrent.txt22590 method public void setAxisValue(int, float);
D14.txt22590 method public void setAxisValue(int, float);