Searched refs:DesktopVector (Results 1 – 18 of 18) sorted by relevance
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_geometry.h | 20 class DesktopVector { 22 DesktopVector() : x_(0), y_(0) {} in DesktopVector() function 23 DesktopVector(int32_t x, int32_t y) : x_(x), y_(y) {} in DesktopVector() function 29 bool equals(const DesktopVector& other) const { in equals() 38 DesktopVector add(const DesktopVector& other) const { in add() 39 return DesktopVector(x() + other.x(), y() + other.y()); in add() 41 DesktopVector subtract(const DesktopVector& other) const { in subtract() 42 return DesktopVector(x() - other.x(), y() - other.y()); in subtract() 94 static DesktopRect MakeOriginSize(const DesktopVector& origin, in MakeOriginSize() 108 DesktopVector top_left() const { return DesktopVector(left_, top_); } in top_left() [all …]
|
D | desktop_and_cursor_composer_unittest.cc | 38 uint32_t GetFakeFramePixelValue(const DesktopVector& p) { in GetFakeFramePixelValue() 45 uint32_t GetFramePixel(const DesktopFrame& frame, const DesktopVector& pos) { in GetFramePixel() 67 *(data++) = GetFakeFramePixelValue(DesktopVector(x, y)); in CreateTestFrame() 97 void SetState(CursorState state, const DesktopVector& pos) { in SetState() 102 void SetHotspot(const DesktopVector& hotspot) { in SetHotspot() 134 DesktopVector position_; 135 DesktopVector hotspot_; 141 const DesktopVector& pos) { in VerifyFrame() 149 DesktopVector p(x, y); in VerifyFrame() 189 fake_cursor_->SetHotspot(DesktopVector()); in TEST_F() [all …]
|
D | mouse_cursor.h | 27 MouseCursor(DesktopFrame* image, const DesktopVector& hotspot); 36 void set_hotspot(const DesktopVector& hotspot ) { hotspot_ = hotspot; } in set_hotspot() 37 const DesktopVector& hotspot() const { return hotspot_; } in hotspot() 41 DesktopVector hotspot_;
|
D | desktop_frame.h | 50 const DesktopVector& dpi() const { return dpi_; } in dpi() 51 void set_dpi(const DesktopVector& dpi) { dpi_ = dpi; } in set_dpi() 67 const DesktopVector& src_pos, 71 uint8_t* GetFrameDataAtPos(const DesktopVector& pos) const; 89 DesktopVector dpi_;
|
D | desktop_and_cursor_composer.cc | 61 const DesktopVector& position); 67 DesktopVector restore_position_; 75 const DesktopVector& position) in DesktopFrameWithCursor() 83 DesktopVector image_pos = position.subtract(cursor.hotspot()); in DesktopFrameWithCursor() 86 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor() 102 DesktopVector origin_shift = target_rect.top_left().subtract(target_origin); in DesktopFrameWithCursor() 169 const DesktopVector& position) { in OnMouseCursorPosition()
|
D | desktop_and_cursor_composer.h | 47 const DesktopVector& position) override; 56 DesktopVector cursor_position_;
|
D | desktop_frame.cc | 44 const DesktopVector& src_pos, in CopyPixelsFrom() 53 uint8_t* DesktopFrame::GetFrameDataAtPos(const DesktopVector& pos) const { in GetFrameDataAtPos()
|
D | mouse_cursor_monitor_unittest.cc | 36 const DesktopVector& position) override { in OnMouseCursorPosition() 45 DesktopVector position_;
|
D | mouse_cursor_monitor_x11.cc | 165 webrtc::DesktopVector(win_x, win_y)); in Capture() 204 DesktopVector hotspot(std::min(img->width, img->xhot), in CaptureCursor()
|
D | mouse_cursor.cc | 21 MouseCursor::MouseCursor(DesktopFrame* image, const DesktopVector& hotspot) in MouseCursor()
|
D | mouse_cursor_monitor.h | 53 const DesktopVector& position) = 0;
|
D | desktop_geometry.cc | 17 bool DesktopRect::Contains(const DesktopVector& point) const { in Contains()
|
D | mouse_cursor_monitor_mac.mm | 103 DesktopVector position(gc_position.x, gc_position.y); 223 position = DesktopVector(round(position.x() * scale), 236 DesktopVector hotspot(
|
D | mouse_cursor_monitor_win.cc | 105 DesktopVector position(cursor_info.ptScreenPos.x, cursor_info.ptScreenPos.y); in Capture()
|
D | screen_capturer_mac.mm | 913 DesktopVector translate_vector = 914 DesktopVector().subtract(screen_pixel_bounds_.top_left()); 963 frame->set_dpi(DesktopVector(kStandardDPI * dip_to_pixel_scale_,
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | cursor.cc | 245 image.release(), DesktopVector(hotspot_x, hotspot_y)); in CreateMouseCursorFromHCursor()
|
D | screen_capturer_win_gdi.cc | 125 frame->set_dpi(DesktopVector( in Capture()
|
D | screen_capturer_win_magnifier.cc | 161 frame->set_dpi(DesktopVector(GetDeviceCaps(desktop_dc_, LOGPIXELSX), in Capture()
|