Searched refs:motionEvent (Results 1 – 5 of 5) sorted by relevance
34 MotionEvent motionEvent = constructor.newInstance(); in obtain() local35 … ShadowMotionEvent shadowMotionEvent = (ShadowMotionEvent) Robolectric.shadowOf_(motionEvent); in obtain()41 return motionEvent; in obtain()48 public static MotionEvent obtain(MotionEvent motionEvent) { in obtain() argument49 …urn obtain(motionEvent.getDownTime(), motionEvent.getEventTime(), motionEvent.getAction(), motionE… in obtain()
262 private void pan(final MotionEvent motionEvent) { in pan() argument264 … firstFingerPos = new PointF(motionEvent.getX(), motionEvent.getY()); //update finger position in pan()323 private void zoom(final MotionEvent motionEvent) { in zoom() argument325 final float newDist = getXDistance(motionEvent); in zoom()
155 public boolean onTouch(View view, MotionEvent motionEvent) { in onCreate()156 if(motionEvent.getAction() == MotionEvent.ACTION_DOWN) { in onCreate()157 onPlotClicked(new PointF(motionEvent.getX(), motionEvent.getY())); in onCreate()
174 @Override public boolean onTouchEvent(MotionEvent motionEvent, MapView mapView) { in onTouchEvent() argument175 lastMotionEvent = motionEvent; in onTouchEvent()
299 public boolean onTouch(View view, MotionEvent motionEvent) { in dispatchTouchEvent_listensToTrueFromListener()312 public boolean onTouch(View view, MotionEvent motionEvent) { in dispatchTouchEvent_listensToFalseFromListener()