Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java401 int fingerCount,
405 assertTrue(fingerCount >= 2);
407 final int strokeCount = fingerCount * tapCount;
408 final PointF[] pointers = new PointF[fingerCount];
412 for (int i = 0; i < fingerCount; i++) {
418 for (int i = 0; i < fingerCount; i++) {
419 final StrokeDescription lastStroke = strokes[(tapIndex - 1) * fingerCount + i];
421 final int nextIndex = tapIndex * fingerCount + i;
446 int fingerCount,
450 assertTrue(fingerCount >= 2);
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java404 int displayId, int fingerCount, int dx, int dy, int gestureId) { in testMultiSwipeGesture() argument
405 GestureDescription gesture = MultiFingerSwipe(displayId, fingerCount, dx, dy); in testMultiSwipeGesture()
617 private GestureDescription multiFingerMultiTap(int fingerCount, int tapCount, int displayId) { in multiFingerMultiTap() argument
623 base, FINGER_OFFSET_PX, fingerCount, tapCount, /* slop= */ 0, displayId); in multiFingerMultiTap()
627 int fingerCount, int tapCount, int displayId) { in multiFingerMultiTapAndHold() argument
633 base, FINGER_OFFSET_PX, fingerCount, tapCount, /* slop= */ 0, displayId); in multiFingerMultiTapAndHold()
637 int displayId, int fingerCount, float dx, float dy) { in MultiFingerSwipe() argument
646 float slopAdjustedDx = adjustStrokeDeltaForSlop(fingerCount, dx); in MultiFingerSwipe()
647 float slopAdjustedDy = adjustStrokeDeltaForSlop(fingerCount, dy); in MultiFingerSwipe()
652 final float fingerOffsetSum = (fingerCount - 1) * fingerOffset; in MultiFingerSwipe()
[all …]
/cts/hostsidetests/input/src/android/input/cts/hostside/
DInputAtomsTest.kt177 member("fingerCount", { fingerCount }, equalTo(3)), in testTouchpadUsageAtom_FingerAndPalmCounts()