Home
last modified time | relevance | path

Searched refs:getYCursorPosition (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java105 assertTrue(Float.isNaN(event.getYCursorPosition())); in testCalculatesCursorPositionForTouchscreenEvents()
115 assertEquals(50, event.getYCursorPosition(), 0.1); in testCalculatesCursorPositionForSimpleMouseEvents()
126 assertEquals(70, event.getYCursorPosition(), 0.1); in testCalculatesCursorPositionForSimpleMouseEventsWithOffset()
143 assertEquals(50, event.getYCursorPosition(), 0.1); in testCalculatesCursorPositionForMultiTouchMouseEvents()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp867 ASSERT_NEAR(sinf(PI_180 * ROTATION) * RADIUS, event.getYCursorPosition(), 0.001); in TEST_F()
1064 ASSERT_EQ(600, event.getYCursorPosition()); in TEST_F()
1074 ASSERT_EQ(4, event.getYCursorPosition()); in TEST_F()
1112 ASSERT_EQ(EXPECTED.y, event.getYCursorPosition()); in TEST_F()
DInputPublisherAndConsumer_test.cpp148 EXPECT_NEAR(args.yCursorPosition * args.yScale + args.yOffset, motionEvent.getYCursorPosition(), in verifyArgsEqualToEvent()
DInputPublisherAndConsumerNoResampling_test.cpp155 EXPECT_NEAR(args.yCursorPosition * args.yScale + args.yOffset, motionEvent.getYCursorPosition(), in verifyArgsEqualToEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragResizeInputListener.java472 e.getYCursorPosition()); in handleMotionEvent()
/frameworks/base/core/java/android/view/
DMotionEvent.java3157 public float getYCursorPosition() { in getYCursorPosition() method in MotionEvent
4246 final float yCursorPosition = getYCursorPosition(); in getYDispatchLocation()
/frameworks/native/include/input/
DInput.h699 float getYCursorPosition() const;
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp783 return event->getYCursorPosition(); in android_view_MotionEvent_nativeGetYCursorPosition()
/frameworks/native/libs/input/
DInput.cpp674 float MotionEvent::getYCursorPosition() const { in getYCursorPosition() function in android::MotionEvent