Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 19 of 19) sorted by relevance

/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java47 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 …]
DTouchExampleView.java50 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent() argument
51 mDetector.onTouchEvent(ev); in onTouchEvent()
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DDragFrameLayout.java105 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/ndk/platforms/android-4/samples/san-angeles/jni/
Dapp-linux.c216 XEvent ev; in main() local
217 XNextEvent(sDisplay, &ev); in main()
218 switch (ev.type) in main()
223 keycode = ((XKeyEvent *)&ev)->keycode; in main()
/development/perftests/panorama/feature_mos/src/mosaic/
DDelaunay.cpp47 *edges = ev; in triangulate()
201 ev = (SEdgeVector *) (org = sp + n); in allocMemory()
310 return (ev[i].first - ev[j].first); in cmpev()
335 temp = ev[i]; in swapev()
336 ev[i] = ev[j]; in swapev()
337 ev[j] = temp; in swapev()
351 ev[j] = ev[i]; in copyev()
609 currv = prevv = ev;
DDelaunay.h57 SEdgeVector *ev; variable
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyMotionEvent.java137 MotionEvent ev = MotionEvent.obtain(mDownTime, in getEvent() local
141 return ev; in getEvent()
DMonkeySourceScript.java958 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()
DMonkey.java1149 MonkeyEvent ev = mEventSource.getNextEvent(); in runMonkeyCycles() local
1150 if (ev != null) { in runMonkeyCycles()
1151 int injectCode = ev.injectEvent(mWm, mAm, mVerbose); in runMonkeyCycles()
1154 if (ev instanceof MonkeyKeyEvent) { in runMonkeyCycles()
1156 } else if (ev instanceof MonkeyMotionEvent) { in runMonkeyCycles()
1158 } else if (ev instanceof MonkeyFlipEvent) { in runMonkeyCycles()
1160 } else if (ev instanceof MonkeyRotationEvent) { in runMonkeyCycles()
1174 if (!(ev instanceof MonkeyThrottleEvent)) { in runMonkeyCycles()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java159 public int getStack(MotionEvent ev) { in getStack() argument
160 boolean isLeft = ev.getX() <= mCardWidth; in getStack()
/development/ndk/platforms/android-L/include/linux/
Dsoundcard.h827 #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
Dinput.h84 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) argument
/development/ndk/platforms/android-3/include/linux/
Dinput.h60 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + ev, len) argument
Dsoundcard.h804 #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
/development/perftests/panorama/input/
Dtest_008.ppm868 VP�O�Y�ev�~��FXQ!|3Eu,>VO�Z
6527 …�����������������������������������������������������������������~��l~�h�ev�[z�[x�Z�Zs�Mo�Io�In…
6565 ���������������z��wz�ev�a{�`}�bz�Yw�Wx�Rw�Qu�Lw�On�?d�5]{,Ts#Zw,l�=l�;b�1k�;t�Dq�Bi�:k�=i�<_�0Z|,M…
Dtest_011.ppm6327 Oi&?�;T 5O1K<R s�Bm{4Zh!figk��-lvmz|�"evn"i~,La>W;S�IbYs]xPl
7165 …Xw*^}0Xx.Yz/Xx/_6f�;e�:l�Bi�?n�Fp�Iiz?s�Is�Hq�Ffv<bs8bs8fv<bs8n~Daq7^n4gx<ev:i|6q�>z�Bw�?f1[u'Ph…
Dtest_034.ppm347 …������������������������������������������������Ʒ�����������������������|��ev~.?H0:.?IDV_;LV);D#5…
Dtest_012.ppm6674 …0a�8W�.Y�0[�3Q}&Kw IvO|!T�%[�,Y�)KxCpW�'S�&V�(e�3MxKvW�#Y�'^�,a�6X�-n�ev�m|��|��}��}���������…
Dtest_007.ppm4567 …YTI1-!_aSsug]gQuihs[JT=&1' "/ 3?KX*Ta4CV#Re3P`8Sd<Q^57D<J5CCSRb!Zl#ev.O`RdM^aq0EQITEO…