/frameworks/native/libs/input/tests/ |
D | TouchVideoFrame_test.cpp | 27 TEST(TouchVideoFrame, Constructor) { in TEST() argument 32 TouchVideoFrame frame(height, width, data, TIMESTAMP); in TEST() 41 TEST(TouchVideoFrame, Equality) { in TEST() argument 45 TouchVideoFrame frame(height, width, data, TIMESTAMP); in TEST() 47 TouchVideoFrame identicalFrame(height, width, data, TIMESTAMP); in TEST() 53 TouchVideoFrame changedHeightFrame(height + 1, width, data, TIMESTAMP); in TEST() 57 TouchVideoFrame changedWidthFrame(height, width + 1, data, TIMESTAMP); in TEST() 62 TouchVideoFrame changedDataFrame(height, width, differentData, TIMESTAMP); in TEST() 67 TouchVideoFrame changedTimestampFrame(height, width, data, differentTimestamp); in TEST() 73 TEST(TouchVideoFrame, Rotate90_0x0) { in TEST() argument [all …]
|
/frameworks/native/libs/input/ |
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(ui::Rotation orientation) { in rotate() 68 void TouchVideoFrame::rotateQuarterTurn(bool clockwise) { in rotateQuarterTurn() 94 void TouchVideoFrame::rotate180() { in rotate180()
|
D | Android.bp | 235 "TouchVideoFrame.cpp",
|
/frameworks/native/services/inputflinger/reader/include/ |
D | TouchVideoDevice.h | 78 std::vector<TouchVideoFrame> consumeFrames(); 105 std::vector<TouchVideoFrame> mFrames; 117 std::vector<TouchVideoFrame> readFrames(); 121 std::optional<TouchVideoFrame> readFrame();
|
D | EventHub.h | 316 virtual std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) = 0; 571 std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) override final;
|
D | InputDevice.h | 371 inline std::vector<TouchVideoFrame> getVideoFrames() { return mEventHub->getVideoFrames(mId); } in getVideoFrames()
|
/frameworks/native/include/input/ |
D | TouchVideoFrame.h | 32 class TouchVideoFrame { 34 TouchVideoFrame(uint32_t height, uint32_t width, std::vector<int16_t> data, 37 bool operator==(const TouchVideoFrame& rhs) const;
|
/frameworks/native/services/inputflinger/reader/ |
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() 208 TouchVideoFrame frame(mHeight, mWidth, std::move(data), buf.timestamp); in readFrame() 222 std::vector<TouchVideoFrame> TouchVideoDevice::readFrames() { in readFrames() 223 std::vector<TouchVideoFrame> frames; in readFrames() 225 std::optional<TouchVideoFrame> frame = readFrame(); in readFrames()
|
D | EventHub.cpp | 2112 std::vector<TouchVideoFrame> EventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames()
|
/frameworks/native/services/inputflinger/tests/ |
D | NotifyArgs_test.cpp | 71 TouchVideoFrame frame(2, 2, std::move(videoData), timestamp); in TEST() 72 std::vector<TouchVideoFrame> videoFrames = {frame}; in TEST()
|
D | InputProcessor_test.cpp | 210 TouchVideoFrame frame(2, 2, std::move(videoData), timestamp); in TEST_F() 226 TouchVideoFrame frame1(2, 2, std::move(videoData1), timestamp1); in TEST_F() 230 TouchVideoFrame frame2(2, 2, std::move(videoData2), timestamp2); in TEST_F()
|
D | FakeEventHub.h | 89 std::unordered_map<int32_t /*deviceId*/, std::vector<TouchVideoFrame>> mVideoFrames; 152 std::unordered_map<int32_t /*deviceId*/, std::vector<TouchVideoFrame>> videoFrames); 185 std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) override;
|
D | FakeEventHub.cpp | 224 std::unordered_map<int32_t /*deviceId*/, std::vector<TouchVideoFrame>> videoFrames) { in setVideoFrames() 372 std::vector<TouchVideoFrame> FakeEventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames() 375 std::vector<TouchVideoFrame> frames = std::move(it->second); in getVideoFrames()
|
D | InterfaceMocks.h | 108 MOCK_METHOD(std::vector<TouchVideoFrame>, getVideoFrames, (int32_t deviceId));
|
D | InputReader_test.cpp | 8933 TouchVideoFrame frame(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F() 8934 std::vector<TouchVideoFrame> frames{frame}; in TEST_F() 8947 ASSERT_EQ(std::vector<TouchVideoFrame>(), motionArgs.videoFrames); in TEST_F() 8955 TouchVideoFrame frame(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F() 8963 std::vector<TouchVideoFrame> frames{frame}; in TEST_F() 8980 TouchVideoFrame frame(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F() 8988 std::vector<TouchVideoFrame> frames{frame}; in TEST_F() 9012 TouchVideoFrame frame1(3, 2, {1, 2, 3, 4, 5, 6}, {1, 2}); in TEST_F() 9013 TouchVideoFrame frame2(3, 3, {0, 1, 2, 3, 4, 5, 6, 7, 8}, {1, 3}); in TEST_F() 9014 TouchVideoFrame frame3(2, 2, {10, 20, 10, 0}, {1, 4}); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgs.h | 121 std::vector<TouchVideoFrame> videoFrames; 132 const std::vector<TouchVideoFrame>& videoFrames);
|
/frameworks/native/services/inputflinger/ |
D | InputCommonConverter.cpp | 271 static common::VideoFrame getHalVideoFrame(const TouchVideoFrame& frame) { in getHalVideoFrame() 284 const std::vector<TouchVideoFrame>& frames) { in convertVideoFrames() 286 for (const TouchVideoFrame& frame : frames) { in convertVideoFrames()
|
D | NotifyArgs.cpp | 72 const std::vector<TouchVideoFrame>& videoFrames) in NotifyMotionArgs()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 97 std::vector<TouchVideoFrame> mVideoFrames; 154 std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) override { return mVideoFrames; } in getVideoFrames()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 3696 std::vector<TouchVideoFrame> frames = getDeviceContext().getVideoFrames(); in dispatchMotion() 3698 [this](TouchVideoFrame& frame) { frame.rotate(this->mInputDeviceOrientation); }); in dispatchMotion()
|