Searched refs:anchor_rect (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/ui/views/touchui/
H A Dtouch_editing_menu.h48 const gfx::Rect& anchor_rect,
56 const gfx::Rect& anchor_rect,
H A Dtouch_editing_menu.cc42 const gfx::Rect& anchor_rect,
60 gfx::Rect adjusted_anchor_rect(anchor_rect);
62 if (menu_width > anchor_rect.width() - handle_image_size.width())
76 const gfx::Rect& anchor_rect,
82 return new TouchEditingMenuView(controller, anchor_rect,
40 TouchEditingMenuView( TouchEditingMenuController* controller, const gfx::Rect& anchor_rect, const gfx::Size& handle_image_size, gfx::NativeView context) argument
74 Create( TouchEditingMenuController* controller, const gfx::Rect& anchor_rect, const gfx::Size& handle_image_size, gfx::NativeView context) argument
H A Dtouch_selection_controller_impl_unittest.cc772 gfx::Rect anchor_rect(
775 quick_menu_controller.get(), anchor_rect, handle_image_size, window));
776 anchor_rect.Inset(0, 0, 0, -handle_image_size.height());
777 EXPECT_EQ(anchor_rect.ToString(), quick_menu->GetAnchorRect().ToString());
781 anchor_rect =
784 quick_menu_controller.get(), anchor_rect, handle_image_size, window);
785 EXPECT_EQ(anchor_rect.ToString(), quick_menu->GetAnchorRect().ToString());
/external/chromium_org/ui/views/bubble/
H A Dbubble_frame_view.cc262 gfx::Rect BubbleFrameView::GetUpdatedWindowBounds(const gfx::Rect& anchor_rect, argument
271 MirrorArrowIfOffScreen(true, anchor_rect, size);
272 MirrorArrowIfOffScreen(false, anchor_rect, size);
275 MirrorArrowIfOffScreen(mirror_vertical, anchor_rect, size);
276 OffsetArrowIfOffScreen(anchor_rect, size);
281 return bubble_border_->GetBounds(anchor_rect, size);
293 const gfx::Rect& anchor_rect,
296 gfx::Rect available_bounds(GetAvailableScreenBounds(anchor_rect));
297 gfx::Rect window_bounds(bubble_border_->GetBounds(anchor_rect, client_size));
305 bubble_border_->GetBounds(anchor_rect, client_siz
291 MirrorArrowIfOffScreen( bool vertical, const gfx::Rect& anchor_rect, const gfx::Size& client_size) argument
317 OffsetArrowIfOffScreen(const gfx::Rect& anchor_rect, const gfx::Size& client_size) argument
[all...]
H A Dbubble_frame_view.h79 gfx::Rect GetUpdatedWindowBounds(const gfx::Rect& anchor_rect,
93 const gfx::Rect& anchor_rect,
98 void OffsetArrowIfOffScreen(const gfx::Rect& anchor_rect,
H A Dbubble_border.cc141 gfx::Rect BubbleBorder::GetBounds(const gfx::Rect& anchor_rect,
143 int x = anchor_rect.x();
144 int y = anchor_rect.y();
145 int w = anchor_rect.width();
146 int h = anchor_rect.height();
H A Dbubble_delegate.h62 const gfx::Rect& anchor_rect() const { return anchor_rect_; } function in class:views::BubbleDelegateView
H A Dbubble_border.h186 virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect,
/external/chromium_org/ash/ime/
H A Dinfolist_window.cc46 virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect,
63 gfx::Rect InfolistBorder::GetBounds(const gfx::Rect& anchor_rect, argument
67 anchor_rect.right() : anchor_rect.x() - contents_size.width());
72 bounds.set_y(anchor_rect.y() + contents_size.height() / 2 -
H A Dcandidate_window_view.cc44 virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect,
48 anchor_rect.x() - offset_,
50 anchor_rect.bottom() : anchor_rect.y() - content_size.height()));
54 // to be visible even when |anchor_rect| is out of the screen.
/external/chromium_org/ash/shelf/
H A Doverflow_bubble_view.cc191 const gfx::Rect anchor_rect = GetAnchorRect(); local
193 anchor_rect,
198 anchor_rect.CenterPoint()).work_area();
208 border->set_arrow_offset(anchor_rect.CenterPoint().x() - bubble_rect.x());
216 border->set_arrow_offset(anchor_rect.CenterPoint().y() - bubble_rect.y());
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Davatar_menu_bubble_view.h55 const gfx::Rect& anchor_rect,
93 const gfx::Rect& anchor_rect,
H A Davatar_menu_bubble_view.cc481 const gfx::Rect& anchor_rect,
488 anchor_view, arrow, anchor_rect, browser);
511 const gfx::Rect& anchor_rect,
514 anchor_rect_(anchor_rect),
476 ShowBubble( views::View* anchor_view, views::BubbleBorder::Arrow arrow, views::BubbleBorder::ArrowPaintType arrow_paint_type, views::BubbleBorder::BubbleAlignment border_alignment, const gfx::Rect& anchor_rect, Browser* browser) argument
508 AvatarMenuBubbleView( views::View* anchor_view, views::BubbleBorder::Arrow arrow, const gfx::Rect& anchor_rect, Browser* browser) argument
/external/chromium_org/content/browser/renderer_host/input/
H A Dtouch_selection_controller_unittest.cc429 gfx::RectF anchor_rect(10, 0, 0, 10);
431 ChangeInsertion(anchor_rect, visible);
433 EXPECT_EQ(anchor_rect.bottom_left(), GetLastEventAnchor());
440 EXPECT_EQ(anchor_rect.bottom_left(), GetLastEventAnchor());
445 EXPECT_EQ(anchor_rect.bottom_left(), GetLastEventAnchor());
447 anchor_rect.Offset(5, 15);
448 ChangeInsertion(anchor_rect, visible);
450 EXPECT_EQ(anchor_rect.bottom_left(), GetLastEventAnchor());
458 EXPECT_EQ(anchor_rect.bottom_left(), GetLastEventAnchor());
463 EXPECT_EQ(anchor_rect
[all...]
/external/chromium_org/ash/wm/
H A Dapp_list_controller_unittest.cc179 app_list->anchor_rect().y() - app_list->bounds().height() / 2;
/external/chromium_org/content/browser/frame_host/
H A Drender_widget_host_view_guest.cc355 guest_params.anchor_rect.set_origin(
356 guest_->GetScreenCoordinates(params.anchor_rect.origin()));
/external/chromium_org/pdf/
H A Dinstance.cc880 pp::Rect anchor_rect = autoscroll_rect_.Intersect((*ready)[i].rect); local
881 if (!anchor_rect.IsEmpty()) {
883 pp::Point(anchor_rect.x() - autoscroll_rect_.x(),
884 anchor_rect.y() - autoscroll_rect_.y()),
885 anchor_rect.size());
888 &image_data_, anchor_rect.point(), kOpaqueAlpha);
/external/chromium_org/content/renderer/
H A Drender_widget.cc1866 GetSelectionBounds(&params.anchor_rect, &params.focus_rect);
1867 if (selection_anchor_rect_ != params.anchor_rect ||
1869 selection_anchor_rect_ = params.anchor_rect;
/external/chromium_org/content/common/
H A Dview_messages.h339 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect)
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_delegate_proxy.cc933 bounds_params.anchor_rect = bounds_params.focus_rect = caret_rect;
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_aura.cc944 if (selection_anchor_rect_ == params.anchor_rect &&
948 selection_anchor_rect_ = params.anchor_rect;

Completed in 278 milliseconds