Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java333 final PointF[] pointers = new PointF[fingerCount];
338 pointers[i] = add(basePoint, times(i, delta));
339 strokes[i] = click(pointers[i]);
347 pointers[i] = getPointWithinSlop(pointers[i], slop);
348 strokes[nextIndex] = startingAt(nextStartTime, click(pointers[i]));
378 final PointF[] pointers = new PointF[fingerCount];
383 pointers[i] = add(basePoint, times(i, delta));
385 strokes[i] = longClick(pointers[i]);
387 strokes[i] = click(pointers[i]);
396 pointers[i] = getPointWithinSlop(pointers[i], slop);
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp137 outMsg->body.motion.pointers[i].properties.id = in sanitizeMessage()
138 msg.body.motion.pointers[i].properties.id; in sanitizeMessage()
139 outMsg->body.motion.pointers[i].properties.toolType = in sanitizeMessage()
140 msg.body.motion.pointers[i].properties.toolType; in sanitizeMessage()
142 outMsg->body.motion.pointers[i].coords.bits = in sanitizeMessage()
143 msg.body.motion.pointers[i].coords.bits; in sanitizeMessage()
144 const uint32_t count = BitSet64::count(msg.body.motion.pointers[i].coords.bits); in sanitizeMessage()
145 memcpy(&outMsg->body.motion.pointers[i].coords.values[0], in sanitizeMessage()
146 &msg.body.motion.pointers[i].coords.values[0], in sanitizeMessage()
147 count * sizeof(msg.body.motion.pointers[i].coords.values[0])); in sanitizeMessage()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java491 JSONArray pointers = entry.optJSONArray("axes"); in parseMotionEvent() local
492 int pointerCount = pointers == null ? 1 : pointers.length(); in parseMotionEvent()
521 if (pointers == null) { in parseMotionEvent()
524 axes = pointers.getJSONObject(i); in parseMotionEvent()