Searched refs:setAxisValue (Results 1 – 2 of 2) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMotionEvent.java | 115 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, pointerCoordsObj.x - xOffset); in pointerCoordsToNative() 116 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, pointerCoordsObj.y - yOffset); in pointerCoordsToNative() 117 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerCoordsObj.pressure); in pointerCoordsToNative() 118 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_SIZE, pointerCoordsObj.size); in pointerCoordsToNative() 119 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, pointerCoordsObj.touchMajor); in pointerCoordsToNative() 120 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, pointerCoordsObj.touchMinor); in pointerCoordsToNative() 121 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, pointerCoordsObj.toolMajor); in pointerCoordsToNative() 122 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, pointerCoordsObj.toolMinor); in pointerCoordsToNative() 123 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerCoordsObj.orientation); in pointerCoordsToNative() 132 outRawPointerCoords.setAxisValue(axis, valuesArray[index++]); in pointerCoordsToNative() [all …]
|
D | NativeInput.java | 100 public boolean setAxisValue(int axis, float value) { in setAxisValue() method in NativeInput.PointerCoords 125 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue() 141 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 142 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset() 674 c.setAxisValue(AMOTION_EVENT_AXIS_X, x.get() - mXOffset); in transform() 675 c.setAxisValue(AMOTION_EVENT_AXIS_Y, y.get() - mYOffset); in transform() 677 c.setAxisValue( in transform()
|