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

<<11121314151617181920>>

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPopupWindow.java 5 import android.view.MotionEvent;
158 public boolean dispatchTouchEvent(MotionEvent e) {
  /frameworks/base/core/java/android/text/method/
BaseMovementMethod.java 23 import android.view.MotionEvent;
83 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event) {
88 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event) {
93 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event) {
96 case MotionEvent.ACTION_SCROLL: {
101 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
103 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL);
104 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL);
ScrollingMovementMethod.java 19 import android.view.MotionEvent;
89 public boolean onTouchEvent(TextView widget, Spannable buffer, MotionEvent event) {
  /frameworks/base/core/java/android/view/
IWindow.aidl 26 import android.view.MotionEvent;
InputQueue.java 46 private static native long nativeSendMotionEvent(long ptr, MotionEvent e);
98 id = nativeSendMotionEvent(mPtr, (MotionEvent) e);
VelocityTracker.java 27 * {@link #addMovement(MotionEvent)}. When you want to determine the velocity call
43 private static native void nativeAddMovement(long ptr, MotionEvent event);
115 * initial {@link MotionEvent#ACTION_DOWN}, the following
116 * {@link MotionEvent#ACTION_MOVE} events that you receive, and the
117 * final {@link MotionEvent#ACTION_UP}. You can, however, call this
120 * @param event The MotionEvent you received and would like to track.
122 public void addMovement(MotionEvent event) {
  /frameworks/base/core/java/com/android/internal/widget/
ResolverDrawerLayout.java 34 import android.view.MotionEvent;
102 private int mActivePointerId = MotionEvent.INVALID_POINTER_ID;
233 public boolean onInterceptTouchEvent(MotionEvent ev) {
236 if (action == MotionEvent.ACTION_DOWN) {
243 case MotionEvent.ACTION_DOWN: {
252 case MotionEvent.ACTION_MOVE: {
266 case MotionEvent.ACTION_POINTER_UP: {
271 case MotionEvent.ACTION_CANCEL:
272 case MotionEvent.ACTION_UP: {
285 public boolean onTouchEvent(MotionEvent ev)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
MouseClickAction.java 28 import android.view.MotionEvent;
90 this(tapper, coordinatesProvider, MotionEvent.BUTTON_PRIMARY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NoisyVelocityTracker.java 21 import android.view.MotionEvent;
59 public void addMovement(MotionEvent event) {
  /frameworks/base/services/core/java/com/android/server/wm/
TaskPositioner.java 52 import android.view.MotionEvent;
127 if (!(event instanceof MotionEvent)
131 final MotionEvent motionEvent = (MotionEvent) event;
143 final float newX = motionEvent.getRawX();
144 final float newY = motionEvent.getRawY();
146 switch (motionEvent.getAction()) {
147 case MotionEvent.ACTION_DOWN: {
153 case MotionEvent.ACTION_MOVE:
    [all...]
  /frameworks/native/include/input/
Input.h 370 class MotionEvent : public InputEvent {
372 virtual ~MotionEvent() { }
575 void copyFrom(const MotionEvent* other, bool keepHistory);
639 virtual MotionEvent* createMotionEvent() = 0;
652 virtual MotionEvent* createMotionEvent() { return & mMotionEvent; }
656 MotionEvent mMotionEvent;
668 virtual MotionEvent* createMotionEvent();
676 Vector<MotionEvent*> mMotionEventPool;
  /frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/
RichTextView.java 29 import android.view.MotionEvent;
140 protected boolean dispatchHoverEvent(MotionEvent event) {
  /frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
StickyHeaderRecyclerView.java 25 import android.view.MotionEvent;
131 public boolean dispatchTouchEvent(MotionEvent ev) {
  /frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
MainActivity.java 33 import android.view.MotionEvent;
89 public boolean onTouch(View v, MotionEvent event) {
100 case MotionEvent.ACTION_DOWN:
104 case MotionEvent.ACTION_UP:
108 case MotionEvent.ACTION_MOVE:
152 case MotionEvent.ACTION_DOWN:
159 case MotionEvent.ACTION_UP:
169 case MotionEvent.ACTION_MOVE:
  /frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
FixedAspectSurfaceView.java 23 import android.view.MotionEvent;
151 public boolean onTouchEvent(MotionEvent event) {
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
DialpadFragment.java 28 import android.view.MotionEvent;
332 public boolean onHover(View v, MotionEvent event) {
346 case MotionEvent.ACTION_HOVER_ENTER:
350 case MotionEvent.ACTION_HOVER_EXIT:
389 public boolean onTouch(View v, MotionEvent event) {
396 case MotionEvent.ACTION_DOWN:
401 case MotionEvent.ACTION_UP:
402 case MotionEvent.ACTION_CANCEL:
  /packages/apps/ExactCalculator/src/com/android/calculator2/
CalculatorResult.java 37 import android.view.MotionEvent;
52 public boolean onTouch(View v, MotionEvent event) {
117 public boolean onDown(MotionEvent e) {
121 public boolean onFling(MotionEvent e1, MotionEvent e2,
137 public boolean onScroll(MotionEvent e1, MotionEvent e2,
159 public void onLongPress(MotionEvent e) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
StateView.java 22 import android.view.MotionEvent;
306 public boolean onTouchEvent(MotionEvent event) {
310 if (event.getActionMasked() == MotionEvent.ACTION_UP) {
313 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) {
320 if (event.getActionMasked() == MotionEvent.ACTION_UP
321 || event.getActionMasked() == MotionEvent.ACTION_CANCEL) {
325 if (mType != BEGIN && event.getActionMasked() == MotionEvent.ACTION_UP) {
339 if (mType != BEGIN && event.getActionMasked() == MotionEvent.ACTION_MOVE) {
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlBar.java 25 import android.view.MotionEvent;
73 public boolean dispatchTouchEvent(MotionEvent event) {
  /packages/experimental/DreamTheater/src/com/android/dreamtheater/
BouncyDroid.java 15 import android.view.MotionEvent;
335 public boolean onTouchEvent(MotionEvent event) {
339 case MotionEvent.ACTION_DOWN:
340 case MotionEvent.ACTION_MOVE:
341 case MotionEvent.ACTION_POINTER_DOWN:
346 case MotionEvent.ACTION_UP:
347 case MotionEvent.ACTION_POINTER_UP:
351 case MotionEvent.ACTION_CANCEL:
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
LogPane.java 35 import android.view.MotionEvent;
73 public boolean onTouch(View view, MotionEvent event) {
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
KeyboardView.java 42 import android.view.MotionEvent;
267 openPopupIfRequired((MotionEvent) msg.obj);
383 public boolean onFling(MotionEvent me1, MotionEvent me2,
    [all...]
  /cts/tests/app/src/android/app/cts/
InstrumentationTest.java 44 import android.view.MotionEvent;
175 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN,
180 MotionEvent motionEvent = mActivity.getMotionEvent();
181 assertEquals(orig.getMetaState(), motionEvent.getMetaState());
182 assertEquals(orig.getEventTime(), motionEvent.getEventTime());
183 assertEquals(orig.getDownTime(), motionEvent.getDownTime());
323 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 30 import android.view.MotionEvent;
207 public boolean onGenericMotionEvent(MotionEvent event) {
213 && event.getAction() == MotionEvent.ACTION_MOVE) {
244 private void processJoystickInput(MotionEvent event, int historyPos) {
249 float x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_X, historyPos);
251 x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_X, historyPos);
254 x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Z, historyPos);
257 float y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Y, historyPos);
259 y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_Y, historyPos);
262 y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_RZ, historyPos)
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceScript.java 22 import android.view.MotionEvent;
361 if (action == MotionEvent.ACTION_POINTER_DOWN) {
362 e = new MonkeyTouchEvent(MotionEvent.ACTION_POINTER_DOWN
363 | (pointerId << MotionEvent.ACTION_POINTER_INDEX_SHIFT))
395 if(action == MotionEvent.ACTION_POINTER_UP) {
448 MonkeyMotionEvent e1 = new MonkeyTouchEvent(MotionEvent.ACTION_DOWN)
456 MonkeyMotionEvent e2 = new MonkeyTouchEvent(MotionEvent.ACTION_UP)
477 MonkeyMotionEvent e1 = new MonkeyTouchEvent(MotionEvent.ACTION_DOWN)
482 MonkeyMotionEvent e3 = new MonkeyTouchEvent(MotionEvent.ACTION_UP)
514 new MonkeyTouchEvent(MotionEvent.ACTION_DOWN).setDownTime(downTime
    [all...]

Completed in 1246 milliseconds

<<11121314151617181920>>