/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 | 1204 MonkeyEvent ev = mEventSource.getNextEvent(); in runMonkeyCycles() local 1205 if (ev != null) { in runMonkeyCycles() 1206 int injectCode = ev.injectEvent(mWm, mAm, mVerbose); in runMonkeyCycles() 1209 if (ev instanceof MonkeyKeyEvent) { in runMonkeyCycles() 1211 } else if (ev instanceof MonkeyMotionEvent) { in runMonkeyCycles() 1213 } else if (ev instanceof MonkeyFlipEvent) { in runMonkeyCycles() 1215 } else if (ev instanceof MonkeyRotationEvent) { in runMonkeyCycles() 1229 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/samples/training/NavigationDrawer/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/multiscreen/newsreader/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/InteractiveChart/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/EffectiveNavigation/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/ContactsList/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/ControllerSample/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/basic/ActivityLifecycle/libs/ |
D | android-support-v13.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/basic/FragmentBasics/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/location-aware/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/AnimationsDemo/libs/ |
D | android-support-v13.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |