Home
last modified time | relevance | path

Searched refs:pointerIndex (Results 1 – 16 of 16) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemPointerIconButton.java45 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
50 final float x = event.getX(pointerIndex); in onResolvePointerIcon()
51 final float y = event.getY(pointerIndex); in onResolvePointerIcon()
DLivePointerIconButton.java48 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
68 final float relativeX = (event.getX(pointerIndex) / getWidth()) - 0.5f; in onResolvePointerIcon()
69 final float relativeY = (event.getY(pointerIndex) / getHeight()) - 0.5f; in onResolvePointerIcon()
DResourcePointerIconButton.java47 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
DStaticPointerIconButton.java49 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java122 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent() local
124 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
128 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java260 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent() local
262 mLastEventY = (int) event.getY(pointerIndex); in onTouchEvent()
290 pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onTouchEvent()
292 final int pointerId = event.getPointerId(pointerIndex); in onTouchEvent()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...