Back to project page Roundr.
The source code is released under:
Copyright (C) 2013 Mohammad Adib Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the te...
If you think the Android project Roundr 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 wei.mark.standout.ui; //ww w .j ava 2 s .c o m /** * This class holds temporal touch and gesture information. Mainly used to hold * temporary data for onTouchEvent(MotionEvent). * * @author Mark Wei <markwei@gmail.com> * */ public class TouchInfo { /** * The state of the window. */ public int firstX, firstY, lastX, lastY; public double dist, scale, firstWidth, firstHeight; public float ratio; /** * Whether we're past the move threshold already. */ public boolean moving; @Override public String toString() { return String .format("WindowTouchInfo { firstX=%d, firstY=%d,lastX=%d, lastY=%d, firstWidth=%d, firstHeight=%d }", firstX, firstY, lastX, lastY, firstWidth, firstHeight); } }