@Test public void toStringTests() { MotionEvent m = MotionEvent.obtain( 100, SystemClock.uptimeMillis(), MotionEvent.ACTION_DOWN, 100, 200, 0); TouchEvent t = new TouchEvent(m); assertEquals(t.toString(), "TE: X: 100.000000 Y: 200.000000"); }
@Override public String toString() { return String.format(Locale.ROOT, "TE: X: %f Y: %f", x, y); }
TouchEvent implements Serializable { @Override public String toString() { return String.format(Locale.ROOT, "TE: X: %f Y: %f", x, y); } }
TouchEvent implements Serializable { @Override public String toString() { return String.format(Locale.ROOT, "TE: X: %f Y: %f", x, y); } TouchEvent(float x, float y, int action, long downTime);  TouchEvent(MotionEvent m);  TouchEvent(MotionEvent m, Point screenSize); }
TouchEvent implements Serializable { @Override public String toString() { return String.format(Locale.ROOT, "TE: X: %f Y: %f", x, y); } TouchEvent(float x, float y, int action, long downTime);  TouchEvent(MotionEvent m);  TouchEvent(MotionEvent m, Point screenSize); MotionEvent getConstructedMotionEvent(int maxX, int maxY); @Override String toString(); }
TouchEvent implements Serializable { @Override public String toString() { return String.format(Locale.ROOT, "TE: X: %f Y: %f", x, y); } TouchEvent(float x, float y, int action, long downTime);  TouchEvent(MotionEvent m);  TouchEvent(MotionEvent m, Point screenSize); MotionEvent getConstructedMotionEvent(int maxX, int maxY); @Override String toString(); public float x; public float y; public int action; public long downTime; }