Lines Matching refs:TouchHistory
39 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()
184 TouchHistory data = TouchHistory.obtain(event.getX(index), event.getY(index), in onTouchEvent()
211 TouchHistory data = mTouches.get(id); in onTouchEvent()
234 TouchHistory data = mTouches.get(id); in onTouchEvent()
264 TouchHistory data = mTouches.get(id); in onTouchEvent()
303 TouchHistory data = mTouches.valueAt(i); in onDraw()
373 protected void drawCircle(Canvas canvas, int id, TouchHistory data) { in drawCircle()