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

1 2 3 4 5 6 7 891011>>

  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AbsActionBarView.java 31 import android.view.MotionEvent;
89 public boolean onTouchEvent(MotionEvent ev) {
96 if (action == MotionEvent.ACTION_DOWN) {
102 if (action == MotionEvent.ACTION_DOWN && !handled) {
107 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
115 public boolean onHoverEvent(MotionEvent ev) {
132 || action == MotionEvent.ACTION_CANCEL) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageGrad.java 23 import android.view.MotionEvent;
58 public boolean onTouchEvent(MotionEvent event) {
62 if (MotionEvent.ACTION_DOWN != mask) {
100 case MotionEvent.ACTION_UP: {
105 case MotionEvent.ACTION_DOWN: {
117 case (MotionEvent.ACTION_DOWN): {
121 case (MotionEvent.ACTION_UP):
122 case (MotionEvent.ACTION_MOVE): {
ImageMirror.java 23 import android.view.MotionEvent;
57 public boolean onTouchEvent(MotionEvent event) {
ImageRotate.java 23 import android.view.MotionEvent;
57 public boolean onTouchEvent(MotionEvent event) {
ImageVignette.java 23 import android.view.MotionEvent;
140 public boolean onTouchEvent(MotionEvent event) {
145 if (MotionEvent.ACTION_DOWN != mask) {
156 case MotionEvent.ACTION_UP:
159 case MotionEvent.ACTION_DOWN:
171 case (MotionEvent.ACTION_DOWN):
174 case (MotionEvent.ACTION_UP):
175 case (MotionEvent.ACTION_MOVE):
ImageRedEye.java 26 import android.view.MotionEvent;
47 public boolean onTouchEvent(MotionEvent event) {
62 if (event.getAction() == MotionEvent.ACTION_DOWN) {
67 if (event.getAction() == MotionEvent.ACTION_MOVE) {
71 if (event.getAction() == MotionEvent.ACTION_UP) {
  /packages/apps/Launcher2/src/com/android/launcher2/
DrawableStateProxyView.java 22 import android.view.MotionEvent;
66 public boolean onHoverEvent(MotionEvent event) {
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
OverlayRenderer.java 21 import android.view.MotionEvent;
48 public boolean onTouchEvent(MotionEvent evt) {
RenderOverlay.java 22 import android.view.MotionEvent;
34 public boolean onTouchEvent(MotionEvent evt);
94 public boolean dispatchTouchEvent(MotionEvent m) {
98 public boolean directDispatchTouch(MotionEvent m, Renderer target) {
135 public boolean onTouchEvent(MotionEvent evt) {
  /packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DigitsEditText.java 25 import android.view.MotionEvent;
55 public boolean onTouchEvent(MotionEvent event) {
  /packages/apps/Settings/src/com/android/settings/widget/
LinkTextView.java 26 import android.view.MotionEvent;
60 protected boolean dispatchHoverEvent(@NonNull MotionEvent event) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLView.java 21 import android.view.MotionEvent;
178 MotionEvent cancelEvent = MotionEvent.obtain(
179 now, now, MotionEvent.ACTION_CANCEL, 0, 0, 0);
291 protected boolean onTouch(MotionEvent event) {
295 protected boolean dispatchTouchEvent(MotionEvent event,
311 protected boolean dispatchTouchEvent(MotionEvent event) {
316 if (action == MotionEvent.ACTION_DOWN) {
317 MotionEvent cancel = MotionEvent.obtain(event)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
TouchRotateActivity.java 28 import android.view.MotionEvent;
82 @Override public boolean onTrackballEvent(MotionEvent e) {
89 @Override public boolean onTouchEvent(MotionEvent e) {
90 if (e.getActionMasked() == MotionEvent.ACTION_MOVE) {
98 private void updateAngles(MotionEvent e) {
TouchPaint.java 32 import android.view.MotionEvent;
339 public boolean onTrackballEvent(MotionEvent event) {
341 if (action == MotionEvent.ACTION_DOWN) {
346 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_MOVE) {
369 public boolean onTouchEvent(MotionEvent event) {
374 public boolean onHoverEvent(MotionEvent event) {
378 private boolean onTouchOrHoverEvent(MotionEvent event, boolean isTouch) {
383 if ((pressedButtons & MotionEvent.BUTTON_SECONDARY) != 0) {
390 if ((buttonState & MotionEvent.BUTTON_TERTIARY) != 0)
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlWheelContainer.java 26 import android.view.MotionEvent;
69 public boolean dispatchTouchEvent(MotionEvent event) {
83 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_UP) {
91 event.setAction(MotionEvent.ACTION_CANCEL);
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
GalleryGridItemView.java 22 import android.view.MotionEvent;
93 public boolean onTouchEvent(MotionEvent event) {
95 case MotionEvent.ACTION_DOWN:
98 case MotionEvent.ACTION_UP:
99 case MotionEvent.ACTION_CANCEL:
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
AccessibilityUtils.java 27 import android.view.MotionEvent;
116 public static boolean isTouchExplorationEvent(final MotionEvent event) {
118 return action == MotionEvent.ACTION_HOVER_ENTER
119 || action == MotionEvent.ACTION_HOVER_EXIT
120 || action == MotionEvent.ACTION_HOVER_MOVE;
  /cts/tests/tests/view/src/android/view/cts/
ViewGroupOverlayTest.java 30 import android.view.MotionEvent;
277 MotionEvent eventDown = MotionEvent.obtain(
278 downTime, downTime, MotionEvent.ACTION_DOWN, emulatedTapX, emulatedTapY, 1);
283 MotionEvent eventMove = MotionEvent.obtain(
284 moveTime, moveTime, MotionEvent.ACTION_MOVE, emulatedTapX, emulatedTapY, 1);
289 MotionEvent eventUp = MotionEvent.obtain(
290 upTime, upTime, MotionEvent.ACTION_UP, emulatedTapX, emulatedTapY, 1)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
PopupMenuTest.java 28 import android.view.MotionEvent;
206 MotionEvent eventDown = MotionEvent.obtain(
207 downTime, downTime, MotionEvent.ACTION_DOWN, emulatedTapX, emulatedTapY, 1);
212 MotionEvent eventMove = MotionEvent.obtain(
213 moveTime, moveTime, MotionEvent.ACTION_MOVE, emulatedTapX, emulatedTapY, 1);
218 MotionEvent eventUp = MotionEvent.obtain(
219 upTime, upTime, MotionEvent.ACTION_UP, emulatedTapX, emulatedTapY, 1)
    [all...]
  /frameworks/base/core/java/android/accessibilityservice/
GestureDescription.java 27 import android.view.MotionEvent;
28 import android.view.MotionEvent.PointerCoords;
29 import android.view.MotionEvent.PointerProperties;
477 public static List<MotionEvent> getMotionEventsFromGestureSteps(List<GestureStep> steps) {
478 final List<MotionEvent> motionEvents = new ArrayList<>();
542 private static void appendMoveEventIfNeeded(List<MotionEvent> motionEvents,
559 motionEvents.add(obtainMotionEvent(downTime, currentTime, MotionEvent.ACTION_MOVE,
564 private static int appendUpEvents(List<MotionEvent> motionEvents,
576 int action = (lastTouchPointsSize == 1) ? MotionEvent.ACTION_UP
577 : MotionEvent.ACTION_POINTER_UP
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureOverlayView.java 28 import android.view.MotionEvent;
472 final MotionEvent event = MotionEvent.obtain(now, now,
473 MotionEvent.ACTION_CANCEL, 0.0f, 0.0f, 0);
502 public boolean dispatchTouchEvent(MotionEvent event) {
511 event.setAction(MotionEvent.ACTION_CANCEL);
522 private boolean processEvent(MotionEvent event) {
524 case MotionEvent.ACTION_DOWN:
528 case MotionEvent.ACTION_MOVE:
537 case MotionEvent.ACTION_UP
    [all...]
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
ListPopupWindowTest.java 29 import android.view.MotionEvent;
203 MotionEvent eventDown = MotionEvent.obtain(
204 downTime, downTime, MotionEvent.ACTION_DOWN, emulatedTapX, emulatedTapY, 1);
209 MotionEvent eventMove = MotionEvent.obtain(
210 moveTime, moveTime, MotionEvent.ACTION_MOVE, emulatedTapX, emulatedTapY, 1);
215 MotionEvent eventUp = MotionEvent.obtain(
216 upTime, upTime, MotionEvent.ACTION_UP, emulatedTapX, emulatedTapY, 1)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
ModeListView.java 38 import android.view.MotionEvent;
123 private MotionEvent mLastChildTouchEvent = null;
197 public boolean shouldHandleTouchEvent(MotionEvent ev) {
203 * {@link ModeListState#shouldHandleTouchEvent(android.view.MotionEvent)}
209 public boolean onTouchEvent(MotionEvent ev) {
291 public boolean onDown(MotionEvent e) {
296 public void onShowPress(MotionEvent e) {
301 public boolean onSingleTapUp(MotionEvent e) {
306 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
InstrumentationTestActivity.java 29 import android.view.MotionEvent;
53 private MotionEvent mMotionEvent;
77 public boolean onTouchEvent(MotionEvent event) {
82 public boolean onTrackballEvent(MotionEvent event) {
130 public boolean onTouchEvent(MotionEvent event) {
218 public boolean onTrackballEvent(MotionEvent event) {
338 public MotionEvent getMotionEvent() {
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 26 import android.view.MotionEvent;
100 public boolean onScroll(MotionEvent e1, MotionEvent e2,
262 public boolean onTouchEvent(MotionEvent me) {
274 case MotionEvent.ACTION_DOWN:
278 case MotionEvent.ACTION_MOVE:
288 case MotionEvent.ACTION_UP:

Completed in 924 milliseconds

1 2 3 4 5 6 7 891011>>