Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina); in rotated()
189 PointF topRight = rotatePoint(topRight(), center, cosa, sina); in rotated()
190 PointF bottomLeft = rotatePoint(bottomLeft(), center, cosa, sina); in rotated()
191 PointF bottomRight = rotatePoint(bottomRight(), center, cosa, sina); in rotated()
340 private static PointF rotatePoint(PointF p, PointF c, float cosa, float sina) { in rotatePoint() method in Quad
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchCursorInputMapperCommon.h77 static void rotatePoint(int32_t orientation, float& x, float& y, int32_t width, int32_t height) { in rotatePoint() function
H A DCursorInputMapper.cpp370 rotatePoint(mOrientation, xCursorPosition /*byRef*/, yCursorPosition /*byRef*/, in sync()
H A DTouchInputMapper.cpp4048 rotatePoint(orientation, x, y, mViewport.deviceWidth, mViewport.deviceHeight); in getMouseCursorPosition()
4056 rotatePoint(mViewport.orientation, x, y, mRawSurfaceWidth, mRawSurfaceHeight); in setMouseCursorPosition()
4075 rotatePoint(mViewport.orientation, x, y, mRawSurfaceWidth, mRawSurfaceHeight); in setTouchSpots()
/aosp12/frameworks/native/libs/input/
H A DInput.cpp77 vec2 rotatePoint(uint32_t orientation, float x, float y, int32_t displayWidth = 0, in rotatePoint() function
544 ? rotatePoint(mDisplayOrientation, coords->getX(), coords->getY()) in getHistoricalRawAxisValue()
545 : rotatePoint(mDisplayOrientation, coords->getX(), coords->getY(), mDisplayWidth, in getHistoricalRawAxisValue()
554 const vec2 relativeXy = rotatePoint(mDisplayOrientation, in getHistoricalRawAxisValue()