Searched refs:ev (Results 1 – 11 of 11) sorted by relevance
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | VersionedGestureDetector.java | 47 public abstract boolean onTouchEvent(MotionEvent ev); in onTouchEvent() argument 58 float getActiveX(MotionEvent ev) { in getActiveX() argument 59 return ev.getX(); in getActiveX() 62 float getActiveY(MotionEvent ev) { in getActiveY() argument 63 return ev.getY(); in getActiveY() 71 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent() argument 72 switch (ev.getAction()) { in onTouchEvent() 74 mLastTouchX = getActiveX(ev); in onTouchEvent() 75 mLastTouchY = getActiveY(ev); in onTouchEvent() 79 final float x = getActiveX(ev); in onTouchEvent() [all …]
|
D | TouchExampleView.java | 50 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent() argument 51 mDetector.onTouchEvent(ev); in onTouchEvent()
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | DragFrameLayout.java | 105 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent() argument 106 final int action = ev.getActionMasked(); in onInterceptTouchEvent() 111 return mDragHelper.shouldInterceptTouchEvent(ev); in onInterceptTouchEvent() 115 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent() argument 116 mDragHelper.processTouchEvent(ev); in onTouchEvent()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyMotionEvent.java | 137 MotionEvent ev = MotionEvent.obtain(mDownTime, in getEvent() local 141 return ev; in getEvent()
|
D | MonkeySourceScript.java | 958 MonkeyEvent ev; in getNextEvent() local 969 ev = mQ.getFirst(); in getNextEvent() 975 if (ev.getEventType() == MonkeyEvent.EVENT_TYPE_KEY) { in getNextEvent() 976 adjustKeyEventTime((MonkeyKeyEvent) ev); in getNextEvent() 977 } else if (ev.getEventType() == MonkeyEvent.EVENT_TYPE_TOUCH in getNextEvent() 978 || ev.getEventType() == MonkeyEvent.EVENT_TYPE_TRACKBALL) { in getNextEvent() 979 adjustMotionEventTime((MonkeyMotionEvent) ev); in getNextEvent() 981 return ev; in getNextEvent()
|
D | Monkey.java | 1199 MonkeyEvent ev = mEventSource.getNextEvent(); in runMonkeyCycles() local 1200 if (ev != null) { in runMonkeyCycles() 1201 int injectCode = ev.injectEvent(mWm, mAm, mVerbose); in runMonkeyCycles() 1204 if (ev instanceof MonkeyKeyEvent) { in runMonkeyCycles() 1206 } else if (ev instanceof MonkeyMotionEvent) { in runMonkeyCycles() 1208 } else if (ev instanceof MonkeyFlipEvent) { in runMonkeyCycles() 1210 } else if (ev instanceof MonkeyRotationEvent) { in runMonkeyCycles() 1224 if (!(ev instanceof MonkeyThrottleEvent)) { in runMonkeyCycles()
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardFlip.java | 159 public int getStack(MotionEvent ev) { in getStack() argument 160 boolean isLeft = ev.getX() <= mCardWidth; in getStack()
|
/development/ndk/platforms/android-21/include/linux/ |
D | soundcard.h | 827 #define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8); _seqbuf[_seqbufptr+0] = EV_TIMING; _seqbuf[_seq… argument 840 #define _LOCAL_EVENT(ev, parm) {_SEQ_NEEDBUF(8); _seqbuf[_seqbufptr+0] = EV_SEQ_LOCAL; _seqbuf[_… argument
|
D | input.h | 84 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) argument
|
/development/ndk/platforms/android-9/include/linux/ |
D | input.h | 60 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + ev, len) argument
|
D | soundcard.h | 804 #define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8); _seqbuf[_seqbufptr+0] = EV_TIMING; _seqbuf[_seq… argument 816 #define _LOCAL_EVENT(ev, parm) {_SEQ_NEEDBUF(8); _seqbuf[_seqbufptr+0] = EV_SEQ_LOCAL; _seqbuf[_… argument
|