Home
last modified time | relevance | path

Searched refs:target_rect (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer.cc84 DesktopRect target_rect = DesktopRect::MakeSize(cursor.image()->size()); in DesktopFrameWithCursor() local
85 target_rect.Translate(image_pos); in DesktopFrameWithCursor()
86 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor()
87 target_rect.IntersectWith(DesktopRect::MakeSize(size())); in DesktopFrameWithCursor()
89 if (target_rect.is_empty()) in DesktopFrameWithCursor()
93 restore_position_ = target_rect.top_left(); in DesktopFrameWithCursor()
94 restore_frame_.reset(new BasicDesktopFrame(target_rect.size())); in DesktopFrameWithCursor()
95 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(), in DesktopFrameWithCursor()
100 target_rect.top() * stride() + in DesktopFrameWithCursor()
101 target_rect.left() * DesktopFrame::kBytesPerPixel; in DesktopFrameWithCursor()
[all …]
/external/chromium_org/ash/host/
Dash_window_tree_host_win.cc36 gfx::Rect target_rect; in ToggleFullScreen() local
54 target_rect = gfx::Rect(mi.rcMonitor); in ToggleFullScreen()
59 target_rect = gfx::Rect(saved_window_rect_); in ToggleFullScreen()
63 target_rect.x(), in ToggleFullScreen()
64 target_rect.y(), in ToggleFullScreen()
65 target_rect.width(), in ToggleFullScreen()
66 target_rect.height(), in ToggleFullScreen()
/external/chromium_org/chrome/browser/ui/views/link_disambiguation/
Dlink_disambiguation_popup.cc22 ZoomBubbleView(const gfx::Rect& target_rect,
51 const gfx::Rect& target_rect, in ZoomBubbleView() argument
59 static_cast<float>(target_rect.width())), in ZoomBubbleView()
64 target_rect_(target_rect) { in ZoomBubbleView()
153 const gfx::Rect& target_rect, in Show() argument
160 target_rect, in Show()
173 gfx::Point target_screen(target_rect.x() + (target_rect.width() / 2), in Show()
174 target_rect.y() + (target_rect.height() / 2)); in Show()
Dlink_disambiguation_popup.h35 const gfx::Rect& target_rect,
/external/chromium_org/cc/test/
Dlayer_test_common.cc87 gfx::Rect target_rect = in VerifyQuadsAreOccluded() local
92 bool fully_occluded_horizontal = target_rect.x() >= occluded.x() && in VerifyQuadsAreOccluded()
93 target_rect.right() <= occluded.right(); in VerifyQuadsAreOccluded()
94 bool fully_occluded_vertical = target_rect.y() >= occluded.y() && in VerifyQuadsAreOccluded()
95 target_rect.bottom() <= occluded.bottom(); in VerifyQuadsAreOccluded()
97 target_rect.Intersects(occluded) && in VerifyQuadsAreOccluded()
/external/chromium_org/ash/wm/maximize_mode/
Dworkspace_backdrop_delegate.cc140 gfx::Rect target_rect(gfx::Point(0, 0), container_->bounds().size()); in AdjustToContainerBounds() local
141 if (target_rect != background_->GetNativeWindow()->bounds()) { in AdjustToContainerBounds()
146 background_->GetNativeWindow()->SetBounds(target_rect); in AdjustToContainerBounds()
/external/chromium_org/ui/app_list/
Dapp_list_folder_item.cc123 gfx::Rect target_rect(folder_icon_bounds); in GetTargetIconRectInFolderForItem() local
124 target_rect.ClampToCenteredSize( in GetTargetIconRectInFolderForItem()
126 return target_rect; in GetTargetIconRectInFolderForItem()
/external/chromium_org/content/shell/browser/
Dshell_web_contents_view_delegate.h31 const gfx::Rect& target_rect,
Dshell_web_contents_view_delegate_win.cc237 const gfx::Rect& target_rect, in ShowDisambiguationPopup() argument
/external/chromium_org/chrome/browser/ui/views/tab_contents/
Dchrome_web_contents_view_delegate_views.cc175 const gfx::Rect& target_rect, in ShowDisambiguationPopup() argument
183 zoomed_bitmap, target_rect, content, gesture_cb, mouse_cb); in ShowDisambiguationPopup()
Dchrome_web_contents_view_delegate_views.h54 const gfx::Rect& target_rect,
/external/chromium_org/ui/gfx/image/
Dimage_ios_unittest.mm33 CGRect target_rect = CGRectMake(0, 0,
36 CGContextFillRect(context, target_rect);
/external/chromium_org/content/public/browser/
Dweb_contents_view_delegate.h67 const gfx::Rect& target_rect,
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_delegate_view.h91 const gfx::Rect& target_rect, in ShowDisambiguationPopup() argument
/external/chromium_org/cc/output/
Dsoftware_renderer.cc160 const gfx::Rect& target_rect) { in BindFramebufferToTexture() argument
167 target_rect, in BindFramebufferToTexture()
168 gfx::Rect(target_rect.size()), in BindFramebufferToTexture()
169 target_rect.size()); in BindFramebufferToTexture()
Dsoftware_renderer.h50 const gfx::Rect& target_rect) OVERRIDE;
Ddirect_renderer.h96 const gfx::Rect& target_rect) = 0;
Dgl_renderer.h107 const gfx::Rect& target_rect) OVERRIDE;
Dgl_renderer.cc2661 const gfx::Rect& target_rect) { in BindFramebufferToTexture() argument
2681 frame, target_rect, gfx::Rect(target_rect.size()), target_rect.size()); in BindFramebufferToTexture()
/external/chromium_org/athena/content/
Dweb_contents_view_delegate_factory_impl.cc55 const gfx::Rect& target_rect, in ShowDisambiguationPopup() argument
/external/chromium_org/ui/base/resource/
Dresource_bundle_ios.mm166 CGRect target_rect = CGRectMake(0, 0,
169 CGContextDrawImage(context, target_rect, [ui_image CGImage]);
/external/chromium_org/cc/trees/
Dlayer_tree_host_common.cc264 gfx::Rect target_rect = drawable_content_rect; in UpdateAccumulatedSurfaceState() local
266 target_rect = in UpdateAccumulatedSurfaceState()
281 target_rect.Intersect(clip_rect); in UpdateAccumulatedSurfaceState()
298 current_state->drawable_content_rect.Union(target_rect); in UpdateAccumulatedSurfaceState()
316 target_rect = gfx::ToEnclosingRect( in UpdateAccumulatedSurfaceState()
317 MathUtil::MapClippedRect(current_draw_transform, target_rect)); in UpdateAccumulatedSurfaceState()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.h140 const gfx::Rect& target_rect,
Dweb_contents_view_aura.cc1274 const gfx::Rect& target_rect, in ShowDisambiguationPopup() argument
1279 delegate_->ShowDisambiguationPopup(target_rect, zoomed_bitmap, in ShowDisambiguationPopup()
/external/chromium_org/ui/views/
Dview_unittest.cc425 void CheckRect(const SkRect& check_rect, const SkRect& target_rect) { in CheckRect() argument
426 EXPECT_EQ(target_rect.fLeft, check_rect.fLeft); in CheckRect()
427 EXPECT_EQ(target_rect.fRight, check_rect.fRight); in CheckRect()
428 EXPECT_EQ(target_rect.fTop, check_rect.fTop); in CheckRect()
429 EXPECT_EQ(target_rect.fBottom, check_rect.fBottom); in CheckRect()

12