Searched refs:target_rect (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc84 DesktopRect target_rect = DesktopRect::MakeSize(cursor.image()->size()); local
85 target_rect.Translate(image_pos);
86 DesktopVector target_origin = target_rect.top_left();
87 target_rect.IntersectWith(DesktopRect::MakeSize(size()));
89 if (target_rect.is_empty())
93 restore_position_ = target_rect.top_left();
94 restore_frame_.reset(new BasicDesktopFrame(target_rect.size()));
95 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(),
100 target_rect.top() * stride() +
101 target_rect
114 DesktopRect target_rect = DesktopRect::MakeSize(restore_frame_->size()); local
[all...]
/external/chromium_org/ash/host/
H A Dash_window_tree_host_win.cc36 gfx::Rect target_rect; variable
54 target_rect = gfx::Rect(mi.rcMonitor);
59 target_rect = gfx::Rect(saved_window_rect_);
63 target_rect.x(),
64 target_rect.y(),
65 target_rect.width(),
66 target_rect.height(),
/external/chromium_org/chrome/browser/ui/views/link_disambiguation/
H A Dlink_disambiguation_popup.cc22 ZoomBubbleView(const gfx::Rect& target_rect,
51 const gfx::Rect& target_rect,
59 static_cast<float>(target_rect.width())),
64 target_rect_(target_rect) {
153 const gfx::Rect& target_rect,
160 target_rect,
168 // work area in the current display. Since |target_rect| is provided in
173 gfx::Point target_screen(target_rect.x() + (target_rect.width() / 2),
174 target_rect
50 ZoomBubbleView( const gfx::Rect& target_rect, const gfx::ImageSkia* zoomed_skia_image, const aura::Window* content, LinkDisambiguationPopup* popup, const base::Callback<void(ui::GestureEvent*)>& gesture_cb, const base::Callback<void(ui::MouseEvent*)>& mouse_cb) argument
151 Show( const SkBitmap& zoomed_bitmap, const gfx::Rect& target_rect, const gfx::NativeView content, const base::Callback<void(ui::GestureEvent*)>& gesture_cb, const base::Callback<void(ui::MouseEvent*)>& mouse_cb) argument
[all...]
H A Dlink_disambiguation_popup.h29 // ambiguous web content. |target_rect| is the original, unzoomed rectangle
32 // offset within |target_rect|, and then call the |callback| with the
35 const gfx::Rect& target_rect,
/external/chromium_org/content/shell/browser/
H A Dshell_web_contents_view_delegate.h31 const gfx::Rect& target_rect,
H A Dshell_web_contents_view_delegate_win.cc237 const gfx::Rect& target_rect,
236 ShowDisambiguationPopup( const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap, const gfx::NativeView content, const base::Callback<void(ui::GestureEvent*)>& gesture_cb, const base::Callback<void(ui::MouseEvent*)>& mouse_cb) argument
/external/chromium_org/cc/test/
H A Dlayer_test_common.cc87 gfx::Rect target_rect = local
92 bool fully_occluded_horizontal = target_rect.x() >= occluded.x() &&
93 target_rect.right() <= occluded.right();
94 bool fully_occluded_vertical = target_rect.y() >= occluded.y() &&
95 target_rect.bottom() <= occluded.bottom();
97 target_rect.Intersects(occluded) &&
/external/chromium_org/ash/wm/maximize_mode/
H A Dworkspace_backdrop_delegate.cc140 gfx::Rect target_rect(gfx::Point(0, 0), container_->bounds().size());
141 if (target_rect != background_->GetNativeWindow()->bounds()) {
146 background_->GetNativeWindow()->SetBounds(target_rect);
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_delegate_view.h86 // Shows a Link Disambiguation Popup. |target_rect| is the area the user
88 // system, |zoomed_bitmap| is an enlarged image of that |target_rect|, and
91 const gfx::Rect& target_rect,
90 ShowDisambiguationPopup( const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap, const base::Callback<void(ui::GestureEvent*)>& gesture_cb, const base::Callback<void(ui::MouseEvent*)>& mouse_cb) argument
/external/chromium_org/content/public/browser/
H A Dweb_contents_view_delegate.h61 // they were trying to touch. |target_rect| is the rectangle in DIPs in the
67 const gfx::Rect& target_rect,
/external/chromium_org/chrome/browser/ui/views/tab_contents/
H A Dchrome_web_contents_view_delegate_views.h54 const gfx::Rect& target_rect,
H A Dchrome_web_contents_view_delegate_views.cc175 const gfx::Rect& target_rect,
183 zoomed_bitmap, target_rect, content, gesture_cb, mouse_cb);
174 ShowDisambiguationPopup( const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap, const gfx::NativeView content, const base::Callback<void(ui::GestureEvent*)>& gesture_cb, const base::Callback<void(ui::MouseEvent*)>& mouse_cb) argument
/external/chromium_org/ui/app_list/
H A Dapp_list_folder_item.cc123 gfx::Rect target_rect(folder_icon_bounds);
124 target_rect.ClampToCenteredSize(
126 return target_rect;
/external/chromium_org/athena/content/
H A Dweb_contents_view_delegate_factory_impl.cc55 const gfx::Rect& target_rect,
/external/chromium_org/cc/output/
H A Ddirect_renderer.h96 const gfx::Rect& target_rect) = 0;
H A Dsoftware_renderer.cc160 const gfx::Rect& target_rect) {
167 target_rect,
168 gfx::Rect(target_rect.size()),
169 target_rect.size());
157 BindFramebufferToTexture( DrawingFrame* frame, const ScopedResource* texture, const gfx::Rect& target_rect) argument
H A Dsoftware_renderer.h50 const gfx::Rect& target_rect) OVERRIDE;
H A Dgl_renderer.h107 const gfx::Rect& target_rect) OVERRIDE;
H A Dgl_renderer.cc2661 const gfx::Rect& target_rect) {
2681 frame, target_rect, gfx::Rect(target_rect.size()), target_rect.size());
2659 BindFramebufferToTexture(DrawingFrame* frame, const ScopedResource* texture, const gfx::Rect& target_rect) argument
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura.h140 const gfx::Rect& target_rect,
H A Dweb_contents_view_aura.cc1274 const gfx::Rect& target_rect,
1279 delegate_->ShowDisambiguationPopup(target_rect, zoomed_bitmap,
1273 ShowDisambiguationPopup( const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap, const base::Callback<void(ui::GestureEvent*)>& gesture_cb, const base::Callback<void(ui::MouseEvent*)>& mouse_cb) argument
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.cc264 gfx::Rect target_rect = drawable_content_rect; local
266 target_rect =
281 target_rect.Intersect(clip_rect);
298 current_state->drawable_content_rect.Union(target_rect);
316 target_rect = gfx::ToEnclosingRect(
317 MathUtil::MapClippedRect(current_draw_transform, target_rect));
/external/chromium_org/ui/views/
H A Dview_unittest.cc425 void CheckRect(const SkRect& check_rect, const SkRect& target_rect) { argument
426 EXPECT_EQ(target_rect.fLeft, check_rect.fLeft);
427 EXPECT_EQ(target_rect.fRight, check_rect.fRight);
428 EXPECT_EQ(target_rect.fTop, check_rect.fTop);
429 EXPECT_EQ(target_rect.fBottom, check_rect.fBottom);
/external/chromium_org/ui/message_center/views/
H A Dmessage_center_view.cc118 void SetRepositionTarget(const gfx::Rect& target_rect);

Completed in 486 milliseconds