Searched refs:getSurfaceRotation (Results 1 – 5 of 5) sorted by relevance
180 assertEquals(Surface.ROTATION_0, event.getSurfaceRotation()); in testEventRotation()186 assertEquals(Surface.ROTATION_90, rot90.getSurfaceRotation()); in testEventRotation()192 assertEquals(Surface.ROTATION_180, rot180.getSurfaceRotation()); in testEventRotation()198 assertEquals(Surface.ROTATION_270, rot270.getSurfaceRotation()); in testEventRotation()205 assertEquals(Surface.ROTATION_270, compoundRot.getSurfaceRotation()); in testEventRotation()211 assertEquals(-1, rotInvalid.getSurfaceRotation()); in testEventRotation()
687 std::optional<ui::Rotation> getSurfaceRotation() const;
830 auto rotation = event->getSurfaceRotation(); in android_view_MotionEvent_nativeGetSurfaceRotation()
651 std::optional<ui::Rotation> MotionEvent::getSurfaceRotation() const { in getSurfaceRotation() function in android::MotionEvent
4144 public @Surface.Rotation int getSurfaceRotation() { in getSurfaceRotation() method in MotionEvent