Home
last modified time | relevance | path

Searched refs:TouchVideoFrame (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/native/libs/input/tests/
H A DTouchVideoFrame_test.cpp27 TEST(TouchVideoFrame, Constructor) { in TEST() argument
41 TEST(TouchVideoFrame, Equality) { in TEST() argument
73 TEST(TouchVideoFrame, Rotate90_0x0) { in TEST() argument
80 TEST(TouchVideoFrame, Rotate90_1x1) { in TEST() argument
87 TEST(TouchVideoFrame, Rotate90_2x2) { in TEST() argument
94 TEST(TouchVideoFrame, Rotate90_3x2) { in TEST() argument
113 TEST(TouchVideoFrame, Rotate180_0x0) { in TEST() argument
120 TEST(TouchVideoFrame, Rotate180_1x1) { in TEST() argument
127 TEST(TouchVideoFrame, Rotate180_2x2) { in TEST() argument
134 TEST(TouchVideoFrame, Rotate180_3x2) { in TEST() argument
[all …]
/aosp12/frameworks/native/libs/input/
H A DTouchVideoFrame.cpp22 TouchVideoFrame::TouchVideoFrame(uint32_t height, uint32_t width, std::vector<int16_t> data, in TouchVideoFrame() function in android::TouchVideoFrame
27 bool TouchVideoFrame::operator==(const TouchVideoFrame& rhs) const { in operator ==()
35 uint32_t TouchVideoFrame::getHeight() const { return mHeight; } in getHeight()
37 uint32_t TouchVideoFrame::getWidth() const { return mWidth; } in getWidth()
39 const std::vector<int16_t>& TouchVideoFrame::getData() const { return mData; } in getData()
41 const struct timeval& TouchVideoFrame::getTimestamp() const { return mTimestamp; } in getTimestamp()
43 void TouchVideoFrame::rotate(int32_t orientation) { in rotate()
65 void TouchVideoFrame::rotateQuarterTurn(bool clockwise) { in rotateQuarterTurn()
91 void TouchVideoFrame::rotate180() { in rotate180()
H A DAndroid.bp52 "TouchVideoFrame.cpp",
/aosp12/frameworks/native/services/inputflinger/reader/include/
H A DTouchVideoDevice.h79 std::vector<TouchVideoFrame> consumeFrames();
106 std::vector<TouchVideoFrame> mFrames;
118 std::vector<TouchVideoFrame> readFrames();
122 std::optional<TouchVideoFrame> readFrame();
H A DEventHub.h280 virtual std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) = 0;
489 std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) override final;
H A DInputDevice.h308 inline std::vector<TouchVideoFrame> getVideoFrames() { return mEventHub->getVideoFrames(mId); } in getVideoFrames()
/aosp12/frameworks/native/services/inputflinger/reader/
H A DTouchVideoDevice.cpp162 std::vector<TouchVideoFrame> frames = readFrames(); in readAndQueueFrames()
180 std::vector<TouchVideoFrame> TouchVideoDevice::consumeFrames() { in consumeFrames()
181 std::vector<TouchVideoFrame> frames = std::move(mFrames); in consumeFrames()
186 std::optional<TouchVideoFrame> TouchVideoDevice::readFrame() { in readFrame()
207 TouchVideoFrame frame(mHeight, mWidth, std::move(data), buf.timestamp); in readFrame()
221 std::vector<TouchVideoFrame> TouchVideoDevice::readFrames() { in readFrames()
222 std::vector<TouchVideoFrame> frames; in readFrames()
224 std::optional<TouchVideoFrame> frame = readFrame(); in readFrames()
H A DEventHub.cpp1717 std::vector<TouchVideoFrame> EventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames()
/aosp12/frameworks/native/include/input/
H A DTouchVideoFrame.h31 class TouchVideoFrame {
33 TouchVideoFrame(uint32_t height, uint32_t width, std::vector<int16_t> data,
36 bool operator==(const TouchVideoFrame& rhs) const;
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputClassifier_test.cpp233 TouchVideoFrame frame(2, 2, std::move(videoData), timestamp); in TEST_F()
249 TouchVideoFrame frame1(2, 2, std::move(videoData1), timestamp1); in TEST_F()
253 TouchVideoFrame frame2(2, 2, std::move(videoData2), timestamp2); in TEST_F()
H A DInputReader_test.cpp647 std::vector<TouchVideoFrame>> videoFrames) { in setVideoFrames()
8002 TouchVideoFrame frame(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F()
8003 std::vector<TouchVideoFrame> frames{frame}; in TEST_F()
8024 TouchVideoFrame frame(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F()
8033 std::vector<TouchVideoFrame> frames{frame}; in TEST_F()
8050 TouchVideoFrame frame(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F()
8059 std::vector<TouchVideoFrame> frames{frame}; in TEST_F()
8079 TouchVideoFrame frame1(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F()
8081 TouchVideoFrame frame3(2, 2, {10, 20, 10, 0}, {1, 4}); in TEST_F()
8102 TouchVideoFrame frame1(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F()
[all …]
/aosp12/frameworks/native/services/inputflinger/include/
H A DInputListener.h126 std::vector<TouchVideoFrame> videoFrames;
137 const std::vector<TouchVideoFrame>& videoFrames);
/aosp12/frameworks/native/services/inputflinger/
H A DInputClassifierConverter.cpp308 static common::V1_0::VideoFrame getHalVideoFrame(const TouchVideoFrame& frame) { in getHalVideoFrame()
320 const std::vector<TouchVideoFrame>& frames) { in convertVideoFrames()
322 for (const TouchVideoFrame& frame : frames) { in convertVideoFrames()
H A DInputListener.cpp105 const std::vector<TouchVideoFrame>& videoFrames) in NotifyMotionArgs()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.cpp3681 std::vector<TouchVideoFrame> frames = getDeviceContext().getVideoFrames(); in dispatchMotion()
3683 [this](TouchVideoFrame& frame) { frame.rotate(this->mSurfaceOrientation); }); in dispatchMotion()