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

1 2 3 4 5 6 7 8 91011>>

  /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);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
TouchController.java 3 import android.view.MotionEvent;
6 boolean onTouchEvent(MotionEvent ev);
7 boolean onInterceptTouchEvent(MotionEvent ev);
  /frameworks/support/compat/ics/android/support/v4/view/
MotionEventCompatICS.java 19 import android.view.MotionEvent;
22 public static int getButtonState(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...]
  /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/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidTouchHandler.java 20 import android.view.MotionEvent;
23 public void onTouch (MotionEvent event, AndroidInput input);
  /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/packages/SystemUI/src/com/android/systemui/classifier/
PointerCountClassifier.java 19 import android.view.MotionEvent;
37 public void onTouchEvent(MotionEvent event) {
40 if (action == MotionEvent.ACTION_DOWN) {
44 if (action == MotionEvent.ACTION_POINTER_DOWN) {
  /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/support/compat/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) {
  /packages/apps/Launcher3/src/com/android/launcher3/
StylusEventHelper.java 3 import android.view.MotionEvent;
9 * This can occur in {@value MotionEvent#ACTION_DOWN} or {@value MotionEvent#ACTION_MOVE}.
20 * @param event The MotionEvent that the button press occurred for.
23 public boolean onPressed(MotionEvent event);
29 * @param event The MotionEvent the button release occurred for.
32 public boolean onReleased(MotionEvent event);
42 * {@link #onMotionEvent(MotionEvent)} and {@link #onGenericMotionEvent(MotionEvent)} are called on
58 public boolean onMotionEvent(MotionEvent event)
    [all...]
SimpleOnStylusPressListener.java 3 import android.view.MotionEvent;
18 public boolean onPressed(MotionEvent event) {
22 public boolean onReleased(MotionEvent event) {
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
Events.java 22 import android.view.MotionEvent;
33 public static boolean isMouseEvent(MotionEvent e) {
40 public static boolean isTouchEvent(MotionEvent e) {
48 return toolType == MotionEvent.TOOL_TYPE_MOUSE;
55 return toolType == MotionEvent.TOOL_TYPE_FINGER
56 || toolType == MotionEvent.TOOL_TYPE_STYLUS
57 || toolType == MotionEvent.TOOL_TYPE_UNKNOWN;
63 public static boolean isActionDown(MotionEvent e) {
64 return e.getActionMasked() == MotionEvent.ACTION_DOWN;
70 public static boolean isActionUp(MotionEvent e)
    [all...]
  /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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
NonInterceptingScrollView.java 19 import android.view.MotionEvent;
32 public boolean onTouchEvent(MotionEvent ev) {
35 case MotionEvent.ACTION_DOWN:
  /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);
  /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:
  /frameworks/support/compat/java/android/support/v4/view/
MotionEventCompat.java 20 import android.view.MotionEvent;
23 * Helper for accessing features in {@link MotionEvent} introduced
31 float getAxisValue(MotionEvent event, int axis);
32 float getAxisValue(MotionEvent event, int axis, int pointerIndex);
33 int getButtonState(MotionEvent event);
41 public float getAxisValue(MotionEvent event, int axis) {
46 public float getAxisValue(MotionEvent event, int axis, int pointerIndex) {
51 public int getButtonState(MotionEvent event) {
62 public float getAxisValue(MotionEvent event, int axis) {
67 public float getAxisValue(MotionEvent event, int axis, int pointerIndex)
    [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...]

Completed in 428 milliseconds

1 2 3 4 5 6 7 8 91011>>