HomeSort by relevance Sort by last modified time
    Searched refs:MotionEvent (Results 1 - 25 of 659) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/view/
MotionEvent.aidl 20 parcelable MotionEvent;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
LoggingUtils.java 19 import android.view.MotionEvent;
28 case MotionEvent.ACTION_CANCEL: return "CANCEL";
29 case MotionEvent.ACTION_UP: return "UP";
30 case MotionEvent.ACTION_DOWN: return "DOWN";
31 case MotionEvent.ACTION_POINTER_UP: return "POINTER_UP";
32 case MotionEvent.ACTION_POINTER_DOWN: return "POINTER_DOWN";
33 case MotionEvent.ACTION_MOVE: return "MOVE";
34 case MotionEvent.ACTION_OUTSIDE: return "OUTSIDE";
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
Gefingerpoken.java 19 import android.view.MotionEvent;
23 boolean onInterceptTouchEvent(MotionEvent ev);
24 boolean onTouchEvent(MotionEvent ev);
  /packages/apps/Camera2/src/com/android/camera/util/
MotionEventHelper.java 4 import android.view.MotionEvent;
9 public static MotionEvent transformEvent(MotionEvent e, Matrix m) {
15 private static MotionEvent transformEventNew(MotionEvent e, Matrix m) {
16 MotionEvent newEvent = MotionEvent.obtain(e);
  /frameworks/support/v4/eclair/android/support/v4/view/
MotionEventCompatEclair.java 19 import android.view.MotionEvent;
25 public static int findPointerIndex(MotionEvent event, int pointerId) {
28 public static int getPointerId(MotionEvent event, int pointerIndex) {
31 public static float getX(MotionEvent event, int pointerIndex) {
34 public static float getY(MotionEvent event, int pointerIndex) {
37 public static int getPointerCount(MotionEvent event) {
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
ItemMoveGestureListener.java 19 import android.view.MotionEvent;
34 public boolean onMoveBegin(View view, MotionEvent e);
45 public boolean onMove(View view, MotionEvent e1, MotionEvent e2);
ItemSimpleGestureListener.java 19 import android.view.MotionEvent;
42 public boolean onSingleTapConfirmed(View view, int area, MotionEvent e);
46 * MotionEvent that triggered it.
52 public void onLongPress(View view, MotionEvent e);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
DownUpDetector.java 19 import android.view.MotionEvent;
23 void onDown(MotionEvent e);
24 void onUp(MotionEvent e);
34 private void setState(boolean down, MotionEvent e) {
44 public void onTouchEvent(MotionEvent ev) {
45 switch (ev.getAction() & MotionEvent.ACTION_MASK) {
46 case MotionEvent.ACTION_DOWN:
50 case MotionEvent.ACTION_UP:
51 case MotionEvent.ACTION_CANCEL:
52 case MotionEvent.ACTION_POINTER_DOWN: // Multitouch event - abort
    [all...]
GestureRecognizer.java 22 import android.view.MotionEvent;
35 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY);
57 public void onTouchEvent(MotionEvent event) {
69 MotionEvent cancelEvent = MotionEvent.obtain(
70 now, now, MotionEvent.ACTION_CANCEL, 0, 0, 0);
78 public boolean onSingleTapUp(MotionEvent e) {
83 public boolean onDoubleTap(MotionEvent e) {
89 MotionEvent e1, MotionEvent e2, float dx, float dy)
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
MotionEventCompat.java 19 import android.view.MotionEvent;
22 * Helper for accessing features in {@link MotionEvent} introduced
30 public int findPointerIndex(MotionEvent event, int pointerId);
31 public int getPointerId(MotionEvent event, int pointerIndex);
32 public float getX(MotionEvent event, int pointerIndex);
33 public float getY(MotionEvent event, int pointerIndex);
34 public int getPointerCount(MotionEvent event);
42 public int findPointerIndex(MotionEvent event, int pointerId) {
50 public int getPointerId(MotionEvent event, int pointerIndex) {
58 public float getX(MotionEvent event, int pointerIndex)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
TouchFilter.java 20 import android.view.MotionEvent;
24 public abstract void updateTouch(MotionEvent event);
  /developers/samples/android/input/gestures/BasicGestureDetect/BasicGestureDetectSample/src/main/java/com/example/android/basicgesturedetect/
GestureListener.java 20 import android.view.MotionEvent;
30 public boolean onSingleTapUp(MotionEvent e) {
37 public void onLongPress(MotionEvent e) {
44 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
52 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
60 public void onShowPress(MotionEvent e) {
66 public boolean onDown(MotionEvent e) {
73 public boolean onDoubleTap(MotionEvent e)
    [all...]
  /development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
GestureListener.java 20 import android.view.MotionEvent;
30 public boolean onSingleTapUp(MotionEvent e) {
37 public void onLongPress(MotionEvent e) {
44 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
52 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
60 public void onShowPress(MotionEvent e) {
66 public boolean onDown(MotionEvent e) {
73 public boolean onDoubleTap(MotionEvent e)
    [all...]
  /frameworks/base/core/jni/
android_view_MotionEvent.h 25 class MotionEvent;
27 /* Obtains an instance of a DVM MotionEvent object as a copy of a native MotionEvent instance.
29 extern jobject android_view_MotionEvent_obtainAsCopy(JNIEnv* env, const MotionEvent* event);
31 /* Gets the underlying native MotionEvent instance within a DVM MotionEvent object.
33 extern MotionEvent* android_view_MotionEvent_getNativePtr(JNIEnv* env, jobject eventObj);
35 /* Recycles a DVM MotionEvent object.
  /frameworks/base/services/java/com/android/server/accessibility/
EventStreamTransformation.java 20 import android.view.MotionEvent;
45 * {@link KeyEvent#FLAG_CANCELED}. To cancel a {@link MotionEvent} the handler
46 * has to send an event with action {@link MotionEvent#ACTION_CANCEL}.
68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags);
GestureUtils.java 4 import android.view.MotionEvent;
15 public static boolean isTap(MotionEvent down, MotionEvent up, int tapTimeSlop,
20 public static boolean isMultiTap(MotionEvent firstUp, MotionEvent secondUp,
26 private static boolean eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second,
38 public static double computeDistance(MotionEvent first, MotionEvent second, int pointerIndex) {
43 public static boolean isTimedOut(MotionEvent firstUp, MotionEvent secondUp, int timeout)
    [all...]
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
TouchCommon.java 8 import android.view.MotionEvent;
35 MotionEvent event = MotionEvent.obtain(downTime, downTime,
36 MotionEvent.ACTION_DOWN, x, y, 0);
62 MotionEvent event = MotionEvent.obtain(downTime, eventTime,
63 MotionEvent.ACTION_MOVE, x, y, 0);
79 MotionEvent event = MotionEvent.obtain(downTime, eventTime,
80 MotionEvent.ACTION_UP, x, y, 0)
    [all...]
  /external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
GestureActivity.java 9 import android.view.MotionEvent;
22 private List<MotionEvent> downEvents = Lists.newArrayList();
23 private List<MotionEvent> scrollEvents = Lists.newArrayList();
24 private List<MotionEvent> longPressEvents = Lists.newArrayList();
25 private List<MotionEvent> showPresses = Lists.newArrayList();
26 private List<MotionEvent> singleTaps = Lists.newArrayList();
27 private List<MotionEvent> confirmedSingleTaps = Lists.newArrayList();
28 private List<MotionEvent> doubleTapEvents = Lists.newArrayList();
29 private List<MotionEvent> doubleTaps = Lists.newArrayList();
63 public List<MotionEvent> getDownEvents()
    [all...]
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
LongPressDetectorTest.java 11 import android.view.MotionEvent;
28 private MotionEvent motionEvent(int action, long downTime, long eventTime) {
29 return MotionEvent.obtain(downTime, eventTime, action, FAKE_COORD_X, FAKE_COORD_Y, 0);
48 MotionEvent event = motionEvent(MotionEvent.ACTION_DOWN, downTime, eventTime);
58 MotionEvent event = motionEvent(MotionEvent.ACTION_DOWN, downTime, eventTime)
    [all...]
  /external/droiddriver/src/com/google/android/droiddriver/util/
Events.java 22 import android.view.MotionEvent;
34 public static MotionEvent newTouchDownEvent(int x, int y) {
36 MotionEvent event = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, x, y, 1);
44 public static MotionEvent newTouchUpEvent(long downTime, int x, int y) {
46 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 1);
54 public static MotionEvent newTouchMoveEvent(long downTime, int x, int y)
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DragGestureDetector.java 20 import android.view.MotionEvent;
44 private void computeAveragePosition(MotionEvent event, float[] position) {
48 private void computeAveragePosition(MotionEvent event, float[] position, int ignore) {
64 public boolean onTouchEvent(MotionEvent event) {
67 case MotionEvent.ACTION_DOWN:
72 case MotionEvent.ACTION_POINTER_DOWN:
77 case MotionEvent.ACTION_POINTER_UP:
81 case MotionEvent.ACTION_MOVE:
88 case MotionEvent.ACTION_CANCEL:
89 case MotionEvent.ACTION_UP
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/input/android/
AndroidTouchInputListener.java 4 import android.view.MotionEvent;
19 public void onMotionEvent(MotionEvent evt);
  /frameworks/base/native/android/
input.cpp 37 using android::MotionEvent;
86 return static_cast<const MotionEvent*>(motion_event)->getAction();
90 return static_cast<const MotionEvent*>(motion_event)->getFlags();
94 return static_cast<const MotionEvent*>(motion_event)->getMetaState();
98 return static_cast<const MotionEvent*>(motion_event)->getButtonState();
102 return reinterpret_cast<const MotionEvent*>(motion_event)->getEdgeFlags();
106 return static_cast<const MotionEvent*>(motion_event)->getDownTime();
110 return static_cast<const MotionEvent*>(motion_event)->getEventTime();
114 return static_cast<const MotionEvent*>(motion_event)->getXOffset();
118 return static_cast<const MotionEvent*>(motion_event)->getYOffset()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
SwapButton.java 24 import android.view.MotionEvent;
54 public boolean onTouchEvent(MotionEvent me) {
62 public boolean onDown(MotionEvent e) {
67 public void onShowPress(MotionEvent e) {
71 public boolean onSingleTapUp(MotionEvent e) {
77 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
82 public void onLongPress(MotionEvent e) {
86 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
    [all...]
  /cts/tests/src/android/view/cts/
GestureDetectorStubActivity.java 23 import android.view.MotionEvent;
90 public boolean onDown(MotionEvent e) {
95 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
100 public void onLongPress(MotionEvent e) {
104 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
109 public void onShowPress(MotionEvent e) {
113 public boolean onSingleTapUp(MotionEvent e) {
118 public boolean onDoubleTap(MotionEvent e)
    [all...]

Completed in 465 milliseconds

1 2 3 4 5 6 7 8 91011>>