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

<<11121314151617181920>>

  /development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayoutActivity.java 33 import android.view.MotionEvent;
273 public boolean onTouchEvent(MotionEvent me) {
363 public boolean onDown (MotionEvent e) {
380 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
  /frameworks/base/core/java/android/webkit/
WebViewProvider.java 36 import android.view.MotionEvent;
365 public boolean onTouchEvent(MotionEvent ev);
367 public boolean onHoverEvent(MotionEvent event);
369 public boolean onGenericMotionEvent(MotionEvent event);
371 public boolean onTrackballEvent(MotionEvent ev);
  /frameworks/base/core/java/com/android/internal/widget/
ExploreByTouchHelper.java 23 import android.view.MotionEvent;
121 * Dispatches hover {@link android.view.MotionEvent}s to the virtual view hierarchy when
128 * public boolean dispatchHoverEvent(MotionEvent event) {
139 public boolean dispatchHoverEvent(MotionEvent event) {
145 case MotionEvent.ACTION_HOVER_MOVE:
146 case MotionEvent.ACTION_HOVER_ENTER:
150 case MotionEvent.ACTION_HOVER_EXIT:
  /frameworks/base/core/tests/coretests/src/android/view/
VelocityTest.java 248 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN);
257 addMotionEvent(vt, x, y, time, MotionEvent.ACTION_MOVE);
259 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP);
263 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
270 * (removing last MotionEvent for N > 3) implies that tests
  /packages/apps/Settings/src/com/android/settings/widget/
ExploreByTouchHelper.java 22 import android.view.MotionEvent;
116 * Dispatches hover {@link android.view.MotionEvent}s to the virtual view hierarchy when
123 * public boolean dispatchHoverEvent(MotionEvent event) {
134 public boolean dispatchHoverEvent(MotionEvent event) {
140 case MotionEvent.ACTION_HOVER_MOVE:
141 case MotionEvent.ACTION_HOVER_ENTER:
145 case MotionEvent.ACTION_HOVER_EXIT:
ChartSweepView.java 35 import android.view.MotionEvent;
108 private MotionEvent mTracking;
404 * Test if given {@link MotionEvent} is closer to another
407 public boolean isTouchCloserTo(MotionEvent eventInParent, ChartSweepView another) {
413 private float getTouchDistanceFromTarget(MotionEvent eventInParent) {
422 public boolean onTouchEvent(MotionEvent event) {
427 case MotionEvent.ACTION_DOWN: {
442 final MotionEvent eventInParent = event.copy();
475 case MotionEvent.ACTION_MOVE: {
515 case MotionEvent.ACTION_UP:
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
TutorialEN.java 49 import android.view.MotionEvent;
171 public boolean onTouch(View view, MotionEvent me) {
174 case MotionEvent.ACTION_UP:
295 public boolean onTouch(View v, MotionEvent event) {
297 if (event.getAction() == MotionEvent.ACTION_UP) {
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationContainer.java 28 import android.view.MotionEvent;
59 * {@link #forwardFakeMotionEvent(MotionEvent, int)} method that deals with one WebView
130 * WebView internal logic requires that a stream of {@link MotionEvent#ACTION_MOVE} events be
131 * preceded by a {@link MotionEvent#ACTION_DOWN} event.
135 * Remember if touch interception was triggered on a {@link MotionEvent#ACTION_POINTER_DOWN},
136 * so we can send a make-up event in {@link #onTouchEvent(MotionEvent)}.
363 private void forwardFakeMotionEvent(MotionEvent original, int newAction) {
364 MotionEvent newEvent = MotionEvent.obtain(original);
373 * Touch slop code was copied from {@link ScrollView#onInterceptTouchEvent(MotionEvent)}
    [all...]
  /external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/
SDLActivity.java 675 public static boolean handleJoystickMotionEvent(MotionEvent event) {
    [all...]
  /frameworks/base/core/java/android/widget/
StackView.java 39 import android.view.MotionEvent;
584 public boolean onGenericMotionEvent(MotionEvent event) {
587 case MotionEvent.ACTION_SCROLL: {
588 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
619 public boolean onInterceptTouchEvent(MotionEvent ev) {
621 switch(action & MotionEvent.ACTION_MASK) {
622 case MotionEvent.ACTION_DOWN: {
630 case MotionEvent.ACTION_MOVE: {
643 case MotionEvent.ACTION_POINTER_UP: {
647 case MotionEvent.ACTION_UP
    [all...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
GlowPadView.java 45 import android.view.MotionEvent;
801 public boolean onTouchEvent(MotionEvent event) {
805 case MotionEvent.ACTION_POINTER_DOWN:
806 case MotionEvent.ACTION_DOWN:
813 case MotionEvent.ACTION_MOVE:
819 case MotionEvent.ACTION_POINTER_UP:
820 case MotionEvent.ACTION_UP:
827 case MotionEvent.ACTION_CANCEL:
847 private void handleDown(MotionEvent event) {
860 private void handleUp(MotionEvent event)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageShow.java 41 import android.view.MotionEvent;
612 public boolean onTouchEvent(MotionEvent event) {
615 action = action & MotionEvent.ACTION_MASK;
631 if (action == MotionEvent.ACTION_DOWN) {
640 if (action == MotionEvent.ACTION_MOVE && mInteractionMode == InteractionMode.MOVE) {
662 if (action == MotionEvent.ACTION_UP
663 || action == MotionEvent.ACTION_CANCEL
664 || action == MotionEvent.ACTION_OUTSIDE) {
742 public boolean onDoubleTap(MotionEvent arg0) {
    [all...]
  /frameworks/base/core/java/android/view/
Window.java 348 public boolean dispatchTouchEvent(MotionEvent event);
360 public boolean dispatchTrackballEvent(MotionEvent event);
372 public boolean dispatchGenericMotionEvent(MotionEvent event);
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
GalleryThumbnailView.java 30 import android.view.MotionEvent;
280 public boolean onInterceptTouchEvent(MotionEvent ev) {
284 case MotionEvent.ACTION_DOWN:
297 case MotionEvent.ACTION_MOVE: {
321 public boolean onTouchEvent(MotionEvent ev) {
325 case MotionEvent.ACTION_DOWN:
333 case MotionEvent.ACTION_MOVE: {
360 case MotionEvent.ACTION_CANCEL:
364 case MotionEvent.ACTION_UP: {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
EmojiPalettesView.java 31 import android.view.MotionEvent;
235 public boolean dispatchTouchEvent(final MotionEvent ev) {
237 // in MotionEvent that sporadically happens.
292 * Note that this method is used only for observing {@link MotionEvent#ACTION_DOWN} to trigger
297 public boolean onTouch(final View v, final MotionEvent event) {
298 if (event.getActionMasked() != MotionEvent.ACTION_DOWN) {
448 public boolean onTouch(final View v, final MotionEvent event) {
450 case MotionEvent.ACTION_DOWN:
453 case MotionEvent.ACTION_MOVE:
461 case MotionEvent.ACTION_CANCEL
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
ConsoleActivity.java 50 import android.view.MotionEvent;
356 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
381 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
393 if (e2.getAction() == MotionEvent.ACTION_UP) {
448 public boolean onTouch(View v, MotionEvent event) {
458 case MotionEvent.ACTION_DOWN:
468 case MotionEvent.ACTION_MOVE:
486 case MotionEvent.ACTION_UP
    [all...]
  /frameworks/support/core-ui/java/android/support/v4/widget/
SwipeRefreshLayout.java 35 import android.view.MotionEvent;
687 public boolean onInterceptTouchEvent(MotionEvent ev) {
693 if (mReturningToStart && action == MotionEvent.ACTION_DOWN) {
704 case MotionEvent.ACTION_DOWN:
716 case MotionEvent.ACTION_MOVE:
734 case MotionEvent.ACTION_UP:
735 case MotionEvent.ACTION_CANCEL:
    [all...]
ViewDragHelper.java 25 import android.view.MotionEvent;
498 * {@link #processTouchEvent(android.view.MotionEvent)} receiving an ACTION_CANCEL event.
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
MultiShrinkScroller.java 31 import android.view.MotionEvent;
456 public boolean onInterceptTouchEvent(MotionEvent event) {
466 private boolean shouldStartDrag(MotionEvent event) {
478 case MotionEvent.ACTION_DOWN:
490 case MotionEvent.ACTION_MOVE:
503 public boolean onTouchEvent(MotionEvent event) {
518 if (action == MotionEvent.ACTION_UP && mReceivedDown) {
526 case MotionEvent.ACTION_MOVE:
551 case MotionEvent.ACTION_UP:
552 case MotionEvent.ACTION_CANCEL
    [all...]
  /cts/tests/tests/tv/src/android/media/tv/cts/
TvInputServiceTest.java 40 import android.view.MotionEvent;
600 final MotionEvent event = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1.0f, 1.0f,
620 final MotionEvent event = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1.0f, 1.0f,
640 final MotionEvent event = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1.0f, 1.0f
    [all...]
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
CardStreamLinearLayout.java 30 import android.view.MotionEvent;
71 public boolean onTouch(final View v, MotionEvent event) {
74 case MotionEvent.ACTION_DOWN:
78 case MotionEvent.ACTION_CANCEL:
84 case MotionEvent.ACTION_MOVE: {
103 case MotionEvent.ACTION_UP: {
  /developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
OverlayDisplayWindow.java 29 import android.view.MotionEvent;
419 public boolean onTouch(View view, MotionEvent event) {
429 case MotionEvent.ACTION_UP:
430 case MotionEvent.ACTION_CANCEL:
444 public boolean onScroll(MotionEvent e1, MotionEvent e2,
  /developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
OverlayDisplayWindow.java 29 import android.view.MotionEvent;
419 public boolean onTouch(View view, MotionEvent event) {
429 case MotionEvent.ACTION_UP:
430 case MotionEvent.ACTION_CANCEL:
444 public boolean onScroll(MotionEvent e1, MotionEvent e2,
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameControllerInput.java 32 import android.view.MotionEvent;
142 public boolean dispatchGenericMotionEvent(MotionEvent event) {
146 && event.getAction() == MotionEvent.ACTION_MOVE) {
286 public boolean onJoystickMotion(MotionEvent event) {
295 message.append(" ").append(MotionEvent.axisToString(axis)).append(": ");
392 column = new TextColumn(id, MotionEvent.axisToString(axis));
  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
CardStreamLinearLayout.java 30 import android.view.MotionEvent;
71 public boolean onTouch(final View v, MotionEvent event) {
74 case MotionEvent.ACTION_DOWN:
78 case MotionEvent.ACTION_CANCEL:
84 case MotionEvent.ACTION_MOVE: {
103 case MotionEvent.ACTION_UP: {

Completed in 1742 milliseconds

<<11121314151617181920>>