Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_X (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java23 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_AXIS_X;
132 scaleAxisValue(this, AMOTION_EVENT_AXIS_X, scaleFactor); in scale()
141 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset()
146 return getAxisValue(AMOTION_EVENT_AXIS_X); in getX()
416 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getRawX()
426 case AMOTION_EVENT_AXIS_X: in getAxisValue()
435 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getX()
487 return getHistoricalRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX()
497 case AMOTION_EVENT_AXIS_X: in getHistoricalAxisValue()
506 return getHistoricalAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalX()
[all …]
DNativeAndroidInput.java249 static final int AMOTION_EVENT_AXIS_X = 0; field in NativeAndroidInput
DShadowMotionEvent.java16 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_AXIS_X;
115 outRawPointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, pointerCoordsObj.x - xOffset); in pointerCoordsToNative()
162 outPointerCoordsObj.x = rawPointerCoords.getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset; in pointerCoordsFromNative()
173 bits.clearBit(AMOTION_EVENT_AXIS_X); in pointerCoordsFromNative()
1034 pointerCoords.get(1).setAxisValue(AMOTION_EVENT_AXIS_X, pointer1X); in setPointer2()