Searched defs:anchor_rect (Results 1 - 7 of 7) sorted by relevance

/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/ui/views/touchui/
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
/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 -
/external/chromium_org/ui/views/bubble/
H A Dbubble_delegate.h62 const gfx::Rect& anchor_rect() const { return anchor_rect_; } function in class:views::BubbleDelegateView
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...]
/external/chromium_org/chrome/browser/ui/views/profiles/
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/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);

Completed in 186 milliseconds