HomeSort by relevance Sort by last modified time
    Searched refs:MotionEvent (Results 151 - 175 of 779) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
DragAction.java 34 import android.view.MotionEvent;
65 public MotionEvent perform(
67 MotionEvent downEvent = MotionEvents.sendDown(
100 public MotionEvent perform(
131 public MotionEvent perform(
133 MotionEvent downEvent = MotionEvents.sendDown(
166 public MotionEvent perform(
168 MotionEvent downEvent = MotionEvents.sendDown(
218 public MotionEvent perform(
220 MotionEvent downEvent = MotionEvents.sendDown
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 29 import android.view.MotionEvent;
140 final MotionEvent event1 = MotionEvent.obtain(downTime, eventTime,
141 MotionEvent.ACTION_DOWN, dragAmount, 0, 0);
142 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime,
143 MotionEvent.ACTION_MOVE, 0, 0, 0);
144 final MotionEvent event3 = MotionEvent.obtain(downTime, eventTime,
145 MotionEvent.ACTION_UP, 0, 0, 0)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
InputView.java 22 import android.view.MotionEvent;
58 protected boolean dispatchHoverEvent(final MotionEvent event) {
69 public boolean onInterceptTouchEvent(final MotionEvent me) {
95 public boolean onTouchEvent(final MotionEvent me) {
109 * This class forwards series of {@link MotionEvent}s from <code>SenderView</code> to
112 * @param <SenderView> a {@link View} that may send a {@link MotionEvent} to <ReceiverView>.
113 * @param <ReceiverView> a {@link View} that receives forwarded {@link MotionEvent} from
143 * Callback when a {@link MotionEvent} is forwarded.
146 protected void onForwardingEvent(final MotionEvent me) {}
148 // Returns true if a {@link MotionEvent} is needed to be forwarded t
    [all...]
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
InteractionController.java 30 import android.view.MotionEvent;
31 import android.view.MotionEvent.PointerCoords;
32 import android.view.MotionEvent.PointerProperties;
309 MotionEvent event = MotionEvent.obtain(
310 mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y, 1);
320 MotionEvent event = MotionEvent.obtain(
321 mDownTime, eventTime, MotionEvent.ACTION_UP, x, y, 1);
332 MotionEvent event = MotionEvent.obtain
    [all...]
  /frameworks/support/compat/java/android/support/v4/view/
GestureDetectorCompat.java 26 import android.view.MotionEvent;
32 * Detects various gestures and events using the supplied {@link MotionEvent}s.
34 * motion event has occurred. This class should only be used with {@link MotionEvent}s
43 * <li>In the {@link View#onTouchEvent(MotionEvent)} method ensure you call
44 * {@link #onTouchEvent(MotionEvent)}. The methods defined in your callback
51 boolean onTouchEvent(MotionEvent ev);
81 private MotionEvent mCurrentDownEvent;
82 private MotionEvent mPreviousUpEvent;
227 public boolean onTouchEvent(MotionEvent ev) {
287 case MotionEvent.ACTION_DOWN
    [all...]
NestedScrollingChild.java 20 import android.view.MotionEvent;
76 * of a touch scroll this corresponds to the initial {@link MotionEvent#ACTION_DOWN}.
  /developers/build/prebuilts/gradle/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/
SampleTests.java 21 import android.view.MotionEvent;
117 MotionEvent event = MotionEvent.obtain(SystemClock.uptimeMillis(),
118 SystemClock.uptimeMillis() + 100, MotionEvent.ACTION_DOWN, x, y, 0);
120 event = MotionEvent.obtain(SystemClock.uptimeMillis(),
121 SystemClock.uptimeMillis() + 100, MotionEvent.ACTION_UP, x, y, 0);
  /developers/samples/android/content/webview/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/
SampleTests.java 21 import android.view.MotionEvent;
117 MotionEvent event = MotionEvent.obtain(SystemClock.uptimeMillis(),
118 SystemClock.uptimeMillis() + 100, MotionEvent.ACTION_DOWN, x, y, 0);
120 event = MotionEvent.obtain(SystemClock.uptimeMillis(),
121 SystemClock.uptimeMillis() + 100, MotionEvent.ACTION_UP, x, y, 0);
  /development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
AnticiButton.java 26 import android.view.MotionEvent;
167 public boolean onTouch(View v, MotionEvent event) {
169 case MotionEvent.ACTION_UP:
176 case MotionEvent.ACTION_CANCEL:
180 case MotionEvent.ACTION_MOVE:
189 case MotionEvent.ACTION_DOWN:
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
SettingsButton.java 24 import android.view.MotionEvent;
59 public boolean onTouchEvent(MotionEvent event) {
61 case MotionEvent.ACTION_DOWN:
64 case MotionEvent.ACTION_UP:
71 case MotionEvent.ACTION_CANCEL:
74 case MotionEvent.ACTION_MOVE:
NavigationBarTransitions.java 23 import android.view.MotionEvent;
86 public boolean onTouch(View v, MotionEvent ev) {
87 if (ev.getAction() == MotionEvent.ACTION_DOWN) {
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
DropDownListView.java 25 import android.view.MotionEvent;
97 public boolean onForwardedEvent(MotionEvent event, int activePointerId) {
103 case MotionEvent.ACTION_CANCEL:
106 case MotionEvent.ACTION_UP:
109 case MotionEvent.ACTION_MOVE:
128 if (actionMasked == MotionEvent.ACTION_UP) {
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
AccessibleAnswerFragment.java 24 import android.view.MotionEvent;
54 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
105 public boolean onTouch(View v, MotionEvent event) {
110 private boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationWebView.java 25 import android.view.MotionEvent;
188 public boolean onTouchEvent(MotionEvent ev) {
192 case MotionEvent.ACTION_DOWN:
195 case MotionEvent.ACTION_POINTER_DOWN:
199 case MotionEvent.ACTION_CANCEL:
200 case MotionEvent.ACTION_UP:
  /developers/build/prebuilts/gradle/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/
MainActivity.java 25 import android.view.MotionEvent;
75 public boolean dispatchTouchEvent(MotionEvent event) {
81 public void onLongPress(MotionEvent event) {
  /developers/samples/android/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/
MainActivity.java 25 import android.view.MotionEvent;
75 public boolean dispatchTouchEvent(MotionEvent event) {
81 public void onLongPress(MotionEvent event) {
  /development/samples/ApiDemos/src/com/example/android/apis/view/
LivePointerIconButton.java 25 import android.view.MotionEvent;
48 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
75 if (event.getAction() == MotionEvent.ACTION_MOVE) {
SecureView.java 25 import android.view.MotionEvent;
62 * perform its own filtering and provide additional feedback by examining the {@MotionEvent}
65 * {@link View#onFilterTouchEventForSecurity(MotionEvent)}.
127 public boolean onTouch(View v, MotionEvent event) {
128 if ((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_OBSCURED) != 0) {
129 if (event.getAction() == MotionEvent.ACTION_UP) {
  /development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/
MainActivity.java 25 import android.view.MotionEvent;
75 public boolean dispatchTouchEvent(MotionEvent event) {
81 public void onLongPress(MotionEvent event) {
  /development/samples/devbytes/ui/ImmersiveMode/src/main/java/com/example/android/immersive/
ImmersiveActivity.java 24 import android.view.MotionEvent;
55 public boolean onSingleTapUp(MotionEvent e) {
68 public boolean onTouch(View view, MotionEvent motionEvent) {
69 return clickDetector.onTouchEvent(motionEvent);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
AccelerationClassifier.java 19 import android.view.MotionEvent;
44 public void onTouchEvent(MotionEvent event) {
47 if (action == MotionEvent.ACTION_DOWN) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
ClipboardView.java 23 import android.view.MotionEvent;
53 public boolean onTouchEvent(MotionEvent ev) {
54 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN && mCurrentClip != null) {
  /packages/apps/Music/src/com/android/music/
RepeatingImageButton.java 23 import android.view.MotionEvent;
72 public boolean onTouchEvent(MotionEvent event) {
73 if (event.getAction() == MotionEvent.ACTION_UP) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
MovieControllerOverlay.java 22 import android.view.MotionEvent;
135 public boolean onTouchEvent(MotionEvent event) {
145 case MotionEvent.ACTION_DOWN:
151 case MotionEvent.ACTION_UP:
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
MoreKeysKeyboardAccessibilityDelegate.java 21 import android.view.MotionEvent;
63 protected void onHoverEnter(final MotionEvent event) {
77 protected void onHoverMove(final MotionEvent event) {
88 protected void onHoverExit(final MotionEvent event) {

Completed in 1632 milliseconds

1 2 3 4 5 67 8 91011>>