/frameworks/base/core/java/android/view/ |
MotionEvent.aidl | 20 parcelable MotionEvent;
|
/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);
|
/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) {
|
/frameworks/support/v4/gingerbread/android/support/v4/view/ |
MotionEventCompatGingerbread.java | 19 import android.view.MotionEvent; 25 public static int getSource(MotionEvent event) {
|
/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 | 20 import android.view.MotionEvent; 23 * Helper for accessing features in {@link MotionEvent} introduced 31 public int findPointerIndex(MotionEvent event, int pointerId); 32 public int getPointerId(MotionEvent event, int pointerIndex); 33 public float getX(MotionEvent event, int pointerIndex); 34 public float getY(MotionEvent event, int pointerIndex); 35 public int getPointerCount(MotionEvent event); 36 public int getSource(MotionEvent event); 37 float getAxisValue(MotionEvent event, int axis); 38 float getAxisValue(MotionEvent event, int axis, int pointerIndex) [all...] |
/developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 22 import android.view.MotionEvent; 32 public boolean onSingleTapUp(MotionEvent e) { 39 public void onLongPress(MotionEvent e) { 46 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, 54 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 62 public void onShowPress(MotionEvent e) { 68 public boolean onDown(MotionEvent e) { 75 public boolean onDoubleTap(MotionEvent e) [all...] |
/developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 22 import android.view.MotionEvent; 32 public boolean onSingleTapUp(MotionEvent e) { 39 public void onLongPress(MotionEvent e) { 46 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, 54 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 62 public void onShowPress(MotionEvent e) { 68 public boolean onDown(MotionEvent e) { 75 public boolean onDoubleTap(MotionEvent e) [all...] |
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
GestureListener.java | 22 import android.view.MotionEvent; 32 public boolean onSingleTapUp(MotionEvent e) { 39 public void onLongPress(MotionEvent e) { 46 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, 54 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 62 public void onShowPress(MotionEvent e) { 68 public boolean onDown(MotionEvent e) { 75 public boolean onDoubleTap(MotionEvent e) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
TouchFilter.java | 20 import android.view.MotionEvent; 24 public abstract void updateTouch(MotionEvent event);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
VelocityTrackerInterface.java | 19 import android.view.MotionEvent; 26 public void addMovement(MotionEvent event);
|
/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/accessibility/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...] |
/frameworks/support/v4/honeycomb_mr1/android/support/v4/view/ |
MotionEventCompatHoneycombMr1.java | 19 import android.view.MotionEvent; 25 static float getAxisValue(MotionEvent event, int axis) { 29 static float getAxisValue(MotionEvent event, int axis, int pointerIndex) {
|
/cts/tests/tests/view/src/android/view/cts/ |
GestureDetectorCtsActivity.java | 23 import android.view.MotionEvent; 97 private MotionEvent mPreviousContextClickEvent; 99 public boolean onDown(MotionEvent e) { 104 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { 109 public void onLongPress(MotionEvent e) { 113 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 118 public void onShowPress(MotionEvent e) { 122 public boolean onSingleTapUp(MotionEvent e) [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
OverlayTouchActivity.java | 20 import android.view.MotionEvent; 31 public boolean dispatchTouchEvent(MotionEvent event) { 32 mObscuredTouch = (event.getFlags() & MotionEvent.FLAG_WINDOW_IS_OBSCURED) != 0;
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardLayout.java | 22 import android.view.MotionEvent; 61 public boolean onTouchEvent(MotionEvent event) { 63 case MotionEvent.ACTION_CANCEL: 64 case MotionEvent.ACTION_UP: 72 public boolean onInterceptTouchEvent(MotionEvent event) { 75 case MotionEvent.ACTION_MOVE: 80 case MotionEvent.ACTION_DOWN: 85 case MotionEvent.ACTION_CANCEL: 86 case MotionEvent.ACTION_UP:
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardLayout.java | 22 import android.view.MotionEvent; 61 public boolean onTouchEvent(MotionEvent event) { 63 case MotionEvent.ACTION_CANCEL: 64 case MotionEvent.ACTION_UP: 72 public boolean onInterceptTouchEvent(MotionEvent event) { 75 case MotionEvent.ACTION_MOVE: 80 case MotionEvent.ACTION_DOWN: 85 case MotionEvent.ACTION_CANCEL: 86 case MotionEvent.ACTION_UP:
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
StylusEventHelper.java | 6 import android.view.MotionEvent; 12 * This can occur in {@value MotionEvent#ACTION_DOWN} or {@value MotionEvent#ACTION_MOVE}. On a 31 public boolean checkAndPerformStylusEvent(MotionEvent event) { 41 case MotionEvent.ACTION_DOWN: 48 case MotionEvent.ACTION_MOVE: 58 case MotionEvent.ACTION_UP: 59 case MotionEvent.ACTION_CANCEL: 74 * Identifies if the provided {@link MotionEvent} is a stylus with the primary stylus button 80 public static boolean isStylusButtonPressed(MotionEvent event) [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...] |