/aosp12/frameworks/native/libs/input/tests/ |
H A D | TouchVideoFrame_test.cpp | 27 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 D | TouchVideoFrame.cpp | 22 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 D | Android.bp | 52 "TouchVideoFrame.cpp",
|
/aosp12/frameworks/native/services/inputflinger/reader/include/ |
H A D | TouchVideoDevice.h | 79 std::vector<TouchVideoFrame> consumeFrames(); 106 std::vector<TouchVideoFrame> mFrames; 118 std::vector<TouchVideoFrame> readFrames(); 122 std::optional<TouchVideoFrame> readFrame();
|
H A D | EventHub.h | 280 virtual std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) = 0; 489 std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) override final;
|
H A D | InputDevice.h | 308 inline std::vector<TouchVideoFrame> getVideoFrames() { return mEventHub->getVideoFrames(mId); } in getVideoFrames()
|
/aosp12/frameworks/native/services/inputflinger/reader/ |
H A D | TouchVideoDevice.cpp | 162 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 D | EventHub.cpp | 1717 std::vector<TouchVideoFrame> EventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames()
|
/aosp12/frameworks/native/include/input/ |
H A D | TouchVideoFrame.h | 31 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 D | InputClassifier_test.cpp | 233 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 D | InputReader_test.cpp | 647 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 D | InputListener.h | 126 std::vector<TouchVideoFrame> videoFrames; 137 const std::vector<TouchVideoFrame>& videoFrames);
|
/aosp12/frameworks/native/services/inputflinger/ |
H A D | InputClassifierConverter.cpp | 308 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 D | InputListener.cpp | 105 const std::vector<TouchVideoFrame>& videoFrames) in NotifyMotionArgs()
|
/aosp12/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | TouchInputMapper.cpp | 3681 std::vector<TouchVideoFrame> frames = getDeviceContext().getVideoFrames(); in dispatchMotion() 3683 [this](TouchVideoFrame& frame) { frame.rotate(this->mSurfaceOrientation); }); in dispatchMotion()
|