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

<<11121314151617181920>>

  /frameworks/native/libs/input/tests/
InputEvent_test.cpp 212 void initializeEventWithHistory(MotionEvent* event);
213 void assertEqualsEventWithHistory(const MotionEvent* event);
221 void MotionEventTest::initializeEventWithHistory(MotionEvent* event) {
299 void MotionEventTest::assertEqualsEventWithHistory(const MotionEvent* event) {
427 MotionEvent event;
447 MotionEvent event;
450 MotionEvent copy;
457 MotionEvent event;
460 MotionEvent copy;
475 MotionEvent event
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ViewTest.java 288 MotionEvent event = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 12f, 34f, 0);
299 public boolean onTouch(View view, MotionEvent motionEvent) {
303 MotionEvent event = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 12f, 34f, 0);
312 public boolean onTouch(View view, MotionEvent motionEvent) {
    [all...]
  /frameworks/support/design/src/android/support/design/widget/
BottomSheetBehavior.java 37 import android.view.MotionEvent;
255 public boolean onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) {
261 if (action == MotionEvent.ACTION_DOWN) {
269 case MotionEvent.ACTION_UP:
270 case MotionEvent.ACTION_CANCEL:
272 mActivePointerId = MotionEvent.INVALID_POINTER_ID;
279 case MotionEvent.ACTION_DOWN:
287 mIgnoreEvents = mActivePointerId == MotionEvent.INVALID_POINTER_ID &&
298 return action == MotionEvent.ACTION_MOVE && scroll != null &&
305 public boolean onTouchEvent(CoordinatorLayout parent, V child, MotionEvent event)
    [all...]
  /frameworks/base/core/java/android/widget/
ZoomButtonsController.java 31 import android.view.MotionEvent;
532 public boolean onTouch(View v, MotionEvent event) {
542 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
557 case MotionEvent.ACTION_DOWN:
562 case MotionEvent.ACTION_UP:
563 case MotionEvent.ACTION_CANCEL:
573 MotionEvent containerEvent = MotionEvent.obtain(event);
ScrollView.java 37 import android.view.MotionEvent;
475 public boolean onInterceptTouchEvent(MotionEvent ev) {
488 if ((action == MotionEvent.ACTION_MOVE) && (mIsBeingDragged)) {
503 switch (action & MotionEvent.ACTION_MASK) {
504 case MotionEvent.ACTION_MOVE: {
546 case MotionEvent.ACTION_DOWN: {
578 case MotionEvent.ACTION_CANCEL:
579 case MotionEvent.ACTION_UP:
589 case MotionEvent.ACTION_POINTER_UP:
602 public boolean onTouchEvent(MotionEvent ev)
    [all...]
MenuPopupWindow.java 27 import android.view.MotionEvent;
148 public boolean onHoverEvent(MotionEvent ev) {
166 if (ev.getAction() != MotionEvent.ACTION_HOVER_EXIT) {
  /frameworks/base/core/java/com/android/internal/widget/
AutoScrollHelper.java 22 import android.view.MotionEvent;
454 public boolean onTouch(View v, MotionEvent event) {
461 case MotionEvent.ACTION_DOWN:
465 case MotionEvent.ACTION_MOVE:
478 case MotionEvent.ACTION_UP:
479 case MotionEvent.ACTION_CANCEL:
672 * Sends a {@link MotionEvent#ACTION_CANCEL} event to the target view,
677 final MotionEvent cancel = MotionEvent.obtain(
678 eventTime, eventTime, MotionEvent.ACTION_CANCEL, 0, 0, 0)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationPanelView.java 34 import android.view.MotionEvent;
575 public boolean onInterceptTouchEvent(MotionEvent event) {
592 private boolean onQsIntercept(MotionEvent event) {
602 case MotionEvent.ACTION_DOWN:
619 case MotionEvent.ACTION_POINTER_UP:
630 case MotionEvent.ACTION_MOVE:
657 case MotionEvent.ACTION_CANCEL:
658 case MotionEvent.ACTION_UP:
662 event.getActionMasked() == MotionEvent.ACTION_CANCEL);
678 private void initDownStates(MotionEvent event)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthByWeekAdapter.java 27 import android.view.MotionEvent;
315 public boolean onTouch(View v, MotionEvent event) {
335 case MotionEvent.ACTION_DOWN:
341 case MotionEvent.ACTION_UP:
342 case MotionEvent.ACTION_SCROLL:
343 case MotionEvent.ACTION_CANCEL:
346 case MotionEvent.ACTION_MOVE:
366 public boolean onSingleTapUp(MotionEvent e) {
371 public void onLongPress(MotionEvent e) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLRootView.java 28 import android.view.MotionEvent;
162 MotionEvent cancelEvent = MotionEvent.obtain(
163 now, now, MotionEvent.ACTION_CANCEL, 0, 0, 0);
460 public boolean dispatchTouchEvent(MotionEvent event) {
464 if (action == MotionEvent.ACTION_CANCEL
465 || action == MotionEvent.ACTION_UP) {
467 } else if (!mInDownState && action != MotionEvent.ACTION_DOWN) {
480 if (action == MotionEvent.ACTION_DOWN && handled) {
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
MultiTouchActivity.java 27 import android.view.MotionEvent;
166 public boolean onTouch(View v, MotionEvent event) {
169 final int action_code = action & MotionEvent.ACTION_MASK;
170 final int action_pid_index = action >> MotionEvent.ACTION_POINTER_ID_SHIFT;
176 case MotionEvent.ACTION_MOVE:
187 case MotionEvent.ACTION_DOWN:
195 case MotionEvent.ACTION_UP:
203 case MotionEvent.ACTION_POINTER_DOWN:
211 case MotionEvent.ACTION_POINTER_UP:
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorPickerDialog.java 23 import android.view.MotionEvent;
167 public boolean onTouchEvent(MotionEvent event) {
173 case MotionEvent.ACTION_DOWN:
180 case MotionEvent.ACTION_MOVE:
197 case MotionEvent.ACTION_UP:
FingerPaint.java 24 import android.view.MotionEvent;
118 public boolean onTouchEvent(MotionEvent event) {
123 case MotionEvent.ACTION_DOWN:
127 case MotionEvent.ACTION_MOVE:
131 case MotionEvent.ACTION_UP:
ShadowCardDrag.java 33 import android.view.MotionEvent;
212 public boolean onTouch(View v, MotionEvent event) {
214 case MotionEvent.ACTION_DOWN:
227 case MotionEvent.ACTION_MOVE:
234 case MotionEvent.ACTION_UP:
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
ToonGame.java 29 import android.view.MotionEvent;
99 public boolean onTouch(View v, MotionEvent event) {
101 case MotionEvent.ACTION_DOWN:
107 case MotionEvent.ACTION_MOVE:
116 case MotionEvent.ACTION_UP:
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
ColorWheel.java 22 import android.view.MotionEvent;
184 public boolean onTouchEvent(MotionEvent event) {
190 case MotionEvent.ACTION_DOWN:
197 case MotionEvent.ACTION_MOVE:
215 case MotionEvent.ACTION_UP:
  /frameworks/base/core/java/android/text/method/
Touch.java 24 import android.view.MotionEvent;
89 MotionEvent event) {
93 case MotionEvent.ACTION_DOWN:
105 case MotionEvent.ACTION_UP:
118 case MotionEvent.ACTION_MOVE:
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
ExploreByTouchHelperActivity.java 36 import android.view.MotionEvent;
106 public boolean dispatchHoverEvent(MotionEvent event) {
116 public boolean onTouchEvent(MotionEvent event) {
118 case MotionEvent.ACTION_DOWN:
120 case MotionEvent.ACTION_UP:
  /packages/apps/Launcher2/src/com/android/launcher2/
BubbleTextView.java 28 import android.view.MotionEvent;
208 public boolean onTouchEvent(MotionEvent event) {
214 case MotionEvent.ACTION_DOWN:
233 case MotionEvent.ACTION_CANCEL:
234 case MotionEvent.ACTION_UP:
  /packages/apps/Launcher3/src/com/android/launcher3/
DragLayer.java 32 import android.view.MotionEvent;
143 private boolean isEventOverFolderTextRegion(Folder folder, MotionEvent ev) {
151 private boolean isEventOverFolder(Folder folder, MotionEvent ev) {
159 private boolean isEventOverDropTargetBar(MotionEvent ev) {
167 private boolean handleTouchDown(MotionEvent ev, boolean intercept) {
210 public boolean onInterceptTouchEvent(MotionEvent ev) {
213 if (action == MotionEvent.ACTION_DOWN) {
217 } else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
228 public boolean onInterceptHoverEvent(MotionEvent ev)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ListPopupWindowTest.java 35 import android.view.MotionEvent;
400 MotionEvent eventDown = MotionEvent.obtain(
401 downTime, downTime, MotionEvent.ACTION_DOWN, emulatedTapX, emulatedTapY, 1);
406 MotionEvent eventMove = MotionEvent.obtain(
407 moveTime, moveTime, MotionEvent.ACTION_MOVE, emulatedTapX, emulatedTapY, 1);
412 MotionEvent eventUp = MotionEvent.obtain(
413 upTime, upTime, MotionEvent.ACTION_UP, emulatedTapX, emulatedTapY, 1)
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 36 import android.view.MotionEvent;
210 public boolean onTouchEvent(MotionEvent event) {
221 case MotionEvent.ACTION_UP:
222 case MotionEvent.ACTION_CANCEL:
233 public boolean onDoubleTap(MotionEvent e) {
242 public boolean onDoubleTapEvent(MotionEvent e) {
247 case MotionEvent.ACTION_DOWN:
253 case MotionEvent.ACTION_UP:
258 case MotionEvent.ACTION_MOVE:
273 private boolean scale(MotionEvent e)
    [all...]
  /frameworks/base/core/java/android/inputmethodservice/
SoftInputWindow.java 25 import android.view.MotionEvent;
88 public boolean dispatchTouchEvent(MotionEvent ev) {
95 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
AnglesClassifier.java 19 import android.view.MotionEvent;
62 public void onTouchEvent(MotionEvent event) {
65 if (action == MotionEvent.ACTION_DOWN) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
ToggleSlider.java 23 import android.view.MotionEvent;
131 public boolean dispatchTouchEvent(MotionEvent ev) {
133 MotionEvent copy = ev.copy();

Completed in 482 milliseconds

<<11121314151617181920>>