Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java481 public boolean onTouch(final View view, final MotionEvent motionEvent) { in onTouch() argument
482 switch (motionEvent.getAction()) { in onTouch()
487 final float dx = motionEvent.getRawX() - mDownEvent.getRawX(); in onTouch()
488 final float dy = motionEvent.getRawY() - mDownEvent.getRawY(); in onTouch()
491 (motionEvent.getEventTime() - mDownEvent.getEventTime()) / 1000.0f; in onTouch()
522 mDownEvent = MotionEvent.obtain(motionEvent); in onTouch()
535 final float dx = mDownEvent.getRawX() - motionEvent.getRawX(); in onTouch()
536 final float dy = mDownEvent.getRawY() - motionEvent.getRawY(); in onTouch()
DCameraManager.java272 public boolean onTouch(final View view, final MotionEvent motionEvent) { in setSurface()
273 if ((motionEvent.getActionMasked() & MotionEvent.ACTION_UP) == in setSurface()
277 (int) motionEvent.getX() + view.getLeft(), in setSurface()
278 (int) motionEvent.getY() + view.getTop()); in setSurface()
DCameraMediaChooser.java97 public boolean onTouch(final View view, final MotionEvent motionEvent) { in createView()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java250 public boolean onTouch(View view, MotionEvent motionEvent) { in onFinishInflate()
253 motionEvent.setLocation(motionEvent.getX() + mFilmstripContentLayout.getX(), in onFinishInflate()
254 motionEvent.getY() + mFilmstripContentLayout.getY()); in onFinishInflate()
255 mGestureRecognizer.onTouchEvent(motionEvent); in onFinishInflate()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java343 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument
345 LogUtils.v(LOGTAG, "onTouch ignored: %s", motionEvent); in onTouch()
352 final float x = motionEvent.getRawX() - contentLocation[0]; in onTouch()
353 final float y = motionEvent.getRawY() - contentLocation[1]; in onTouch()
368 switch (motionEvent.getActionMasked()) { in onTouch()
370 LogUtils.v(LOGTAG, "onTouch started: %s", motionEvent); in onTouch()
376 LogUtils.v(LOGTAG, "onTouch ended: %s", motionEvent); in onTouch()