Back to project page jmini3d.
The source code is released under:
Copyright 2012 Mobialia http://www.mobialia.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
If you think the Android project jmini3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jmini3d.android.compat; /*from w ww . ja v a2 s . c om*/ import android.opengl.GLSurfaceView; import android.view.MotionEvent; /** * Functions since API level 5 * * @author rui */ public class CompatibilityWrapper5 { public static int getPointerId(MotionEvent ev, int pointerIndex) { return ev.getPointerId(pointerIndex); } public static int getPointerCount(MotionEvent ev) { return ev.getPointerCount(); } public static float getX(MotionEvent ev, int pointerIndex) { return ev.getX(pointerIndex); } public static float getY(MotionEvent ev, int pointerIndex) { return ev.getY(pointerIndex); } public static void setZOrderOnTop(GLSurfaceView view) { view.setZOrderOnTop(true); } }