Searched refs:mFingers (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | TouchEventTranslator.java | 52 private final SparseArray<PointF> mFingers; field in TouchEventTranslator 58 mFingers = new SparseArray<>(); in TouchEventTranslator() 66 mFingers.clear(); in reset() 99 if(mFingers.get(pid, null) != null) { in processMotionEvent() 137 boolean isInitialDown = (mFingers.size() == 0); in put() 139 mFingers.put(id, new PointF(x, y)); in put() 140 int n = mFingers.size(); in put() 166 mFingers.get(id).set(x, y); in position() 172 boolean isFinalUp = (mFingers.size() == 1); in lift() 182 mFingers.remove(id); in lift() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TouchEventGenerator.java | 46 private Map<Integer, Point> mFingers; field in TouchEventGenerator 77 mFingers = new HashMap<Integer, Point>(); in TouchEventGenerator() 85 boolean isInitialDown = mFingers.isEmpty(); in put() 86 mFingers.put(id, new Point(x, y)); in put() 113 mFingers.get(id).set(x, y); in position() 157 boolean isFinalUp = mFingers.size() == 1; in lift() 167 mFingers.remove(id); in lift() 176 mFingers.get(id).set(x, y); in lift() 192 mFingers.clear(); in cancel() 204 if (shouldExist != mFingers.containsKey(id)) { in checkFingerExistence() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | TouchPointView.java | 47 List<Finger> mFingers; field in TouchPointView 56 mFingers = new ArrayList<Finger>(); in TouchPointView() 68 mFingers.clear(); in onTouchEvent() 80 mFingers.add(finger); in onTouchEvent() 108 for (int i = 0; i < mFingers.size(); i++) { in onDraw() 109 Finger finger = mFingers.get(i); in onDraw()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/ |
D | TouchPointView.java | 50 private final List<Finger> mFingers; field in TouchPointView 59 mFingers = new ArrayList<Finger>(); in TouchPointView() 71 mFingers.clear(); in onTouchEvent() 84 mFingers.add(finger); in onTouchEvent() 112 for (Finger finger: mFingers) { in onDraw()
|