Home
last modified time | relevance | path

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

/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java39 private SparseArray<TouchHistory> mTouches;
50 static final class TouchHistory { class in TouchDisplayView
68 private static final SimplePool<TouchHistory> sPool =
69 new SimplePool<TouchHistory>(MAX_POOL_SIZE);
71 public static TouchHistory obtain(float x, float y, float pressure) { in obtain()
72 TouchHistory data = sPool.acquire(); in obtain()
74 data = new TouchHistory(); in obtain()
82 public TouchHistory() { in TouchHistory() method in TouchDisplayView.TouchHistory
126 mTouches = new SparseArray<TouchHistory>(10); in TouchDisplayView()
154 TouchHistory data = TouchHistory.obtain(event.getX(0), event.getY(0), in onTouchEvent()
[all …]