Home
last modified time | relevance | path

Searched refs:pointerIndex (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMotionEvent.java27 private int pointerIndex; field in ShadowMotionEvent
54 return action | (pointerIndex << MotionEvent.ACTION_POINTER_ID_SHIFT); in getAction()
78 public final float getX(int pointerIndex) { in getX() argument
79 return x[pointerIndex]; in getX()
83 public final float getY(int pointerIndex) { in getY() argument
84 return y[pointerIndex]; in getY()
126 return pointerIndex; in getActionIndex()
130 public final float getPressure(int pointerIndex) { in getPressure() argument
147 public void setPointerIndex(int pointerIndex) { in setPointerIndex() argument
148 this.pointerIndex = pointerIndex; in setPointerIndex()
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/
DAndroidInput.java228 int pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent() local
230 int pointerId = event.getPointerId(pointerIndex); in onTouchEvent()
239 … touch.set(Type.DOWN, event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex), 0, 0); in onTouchEvent()
242 touch.setPressure(event.getPressure(pointerIndex)); in onTouchEvent()
253 … touch.set(Type.UP, event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex), 0, 0); in onTouchEvent()
256 touch.setPressure(event.getPressure(pointerIndex)); in onTouchEvent()
267 Vector2f lastPos = lastPositions.get(pointerIndex); in onTouchEvent()
269 … lastPos = new Vector2f(event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex)); in onTouchEvent()
273 ….getX(pointerIndex), this.getHeight() - event.getY(pointerIndex), event.getX(pointerIndex) - lastP… in onTouchEvent()
276 touch.setPressure(event.getPressure(pointerIndex)); in onTouchEvent()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DField.java210 int pointerIndex = nameBuilder.indexOf("*"); in parseField() local
211 while (pointerIndex >= 0) { in parseField()
213 nameBuilder.deleteCharAt(pointerIndex); in parseField()
214 pointerIndex = nameBuilder.indexOf("*"); in parseField()
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...