Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java75 final MotionEvent.PointerCoords pc2 = new MotionEvent.PointerCoords(); in sendPinchZoomAction() local
76 pc2.x = secondFingerStartCoords[0]; in sendPinchZoomAction()
77 pc2.y = secondFingerEndCoords[1]; in sendPinchZoomAction()
78 pc2.pressure = 1; in sendPinchZoomAction()
79 pc2.size = 1; in sendPinchZoomAction()
83 final MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[]{pc1, pc2}; in sendPinchZoomAction()
127 pc2.x = stepsSecondFinger[i][0]; in sendPinchZoomAction()
128 pc2.y = stepsSecondFinger[i][1]; in sendPinchZoomAction()
/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp1914 auto pc2 = assertPointerControllerCreated(ControllerType::TOUCH); in TEST_F_WITH_FLAGS() local
1926 pc2->assertIsSkipScreenshotFlagNotSet(DISPLAY_ID); in TEST_F_WITH_FLAGS()
1927 pc2->assertIsSkipScreenshotFlagNotSet(ANOTHER_DISPLAY_ID); in TEST_F_WITH_FLAGS()
2433 auto pc2 = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() local
2435 ASSERT_TRUE(pc2->isPointerShown()); in TEST_F()
2441 ASSERT_TRUE(pc2->isPointerShown()); in TEST_F()
2446 ASSERT_TRUE(pc2->isPointerShown()); in TEST_F()