Home
last modified time | relevance | path

Searched refs:getSurfaceRotation (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java185 assertEquals(Surface.ROTATION_0, event.getSurfaceRotation()); in testEventRotation()
191 assertEquals(Surface.ROTATION_90, rot90.getSurfaceRotation()); in testEventRotation()
197 assertEquals(Surface.ROTATION_180, rot180.getSurfaceRotation()); in testEventRotation()
203 assertEquals(Surface.ROTATION_270, rot270.getSurfaceRotation()); in testEventRotation()
210 assertEquals(Surface.ROTATION_270, compoundRot.getSurfaceRotation()); in testEventRotation()
216 assertEquals(-1, rotInvalid.getSurfaceRotation()); in testEventRotation()
/frameworks/native/include/input/
DInput.h574 int getSurfaceRotation() const;
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp766 return jint(event->getSurfaceRotation()); in android_view_MotionEvent_nativeGetSurfaceRotation()
/frameworks/native/libs/input/
DInput.cpp531 int MotionEvent::getSurfaceRotation() const { in getSurfaceRotation() function in android::MotionEvent
/frameworks/base/core/java/android/view/
DMotionEvent.java3908 public @Surface.Rotation int getSurfaceRotation() { in getSurfaceRotation() method in MotionEvent