/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/build/prebuilts/gradle/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...] |
/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);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
TouchEventSynthesizer.java | 8 import android.view.MotionEvent; 9 import android.view.MotionEvent.PointerCoords; 10 import android.view.MotionEvent.PointerProperties; 63 MotionEvent event = MotionEvent.obtain( 64 mDownTime, time, MotionEvent.ACTION_DOWN, 1, 71 event = MotionEvent.obtain( 72 mDownTime, time, MotionEvent.ACTION_POINTER_DOWN, 81 MotionEvent event = MotionEvent.obtain(mDownTime, time [all...] |
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
TouchCommon.java | 10 import android.view.MotionEvent; 36 MotionEvent event = MotionEvent.obtain(downTime, downTime, 37 MotionEvent.ACTION_DOWN, x, y, 0); 63 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 64 MotionEvent.ACTION_MOVE, x, y, 0); 80 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 81 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...] |
/developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/ |
CardLayout.java | 24 import android.view.MotionEvent; 63 public boolean onTouchEvent(MotionEvent event) { 65 case MotionEvent.ACTION_CANCEL: 66 case MotionEvent.ACTION_UP: 74 public boolean onInterceptTouchEvent(MotionEvent event) { 77 case MotionEvent.ACTION_MOVE: 82 case MotionEvent.ACTION_DOWN: 87 case MotionEvent.ACTION_CANCEL: 88 case MotionEvent.ACTION_UP:
|
/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/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
TouchInputHandler.java | 7 import android.view.MotionEvent; 26 boolean onTouchEvent(MotionEvent event);
|
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/ |
AndroidTouchInputListener.java | 4 import android.view.MotionEvent; 19 public void onMotionEvent(MotionEvent evt);
|