Home
last modified time | relevance | path

Searched refs:arrow_bounds (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/views/bubble/
Dbubble_border.cc230 const gfx::Rect arrow_bounds = GetArrowRect(view.GetLocalBounds()); in Paint() local
231 if (arrow_bounds.IsEmpty()) { in Paint()
238 SkRect arrow_rect(gfx::RectToSkRect(arrow_bounds)); in Paint()
243 DrawArrow(canvas, arrow_bounds); in Paint()
330 const gfx::Rect& arrow_bounds) const { in DrawArrow()
331 canvas->DrawImageInt(*GetArrowImage(), arrow_bounds.x(), arrow_bounds.y()); in DrawArrow()
334 float tip_x = horizontal ? arrow_bounds.CenterPoint().x() : in DrawArrow()
335 is_arrow_on_left(arrow_) ? arrow_bounds.right() - thickness : in DrawArrow()
336 arrow_bounds.x() + thickness; in DrawArrow()
337 float tip_y = !horizontal ? arrow_bounds.CenterPoint().y() + 0.5f : in DrawArrow()
[all …]
Dbubble_border.h172 void DrawArrow(gfx::Canvas* canvas, const gfx::Rect& arrow_bounds) const;
/external/chromium_org/ui/views/controls/button/
Dmenu_button.cc261 gfx::Rect arrow_bounds(width() - insets.right() - in PaintMenuMarker() local
266 arrow_bounds.set_x(GetMirroredXForRect(arrow_bounds)); in PaintMenuMarker()
267 canvas->DrawImageInt(*menu_marker_, arrow_bounds.x(), arrow_bounds.y()); in PaintMenuMarker()
/external/chromium/chrome/browser/ui/gtk/infobars/
Dinfobar_gtk.cc294 gfx::Rect arrow_bounds(x - size, y - size, 2 * size, size); in OnBackgroundExpose() local
295 arrow_model_.Paint(sender, event, arrow_bounds, border_color); in OnBackgroundExpose()
/external/chromium_org/ui/views/controls/combobox/
Dcombobox.cc658 gfx::Rect arrow_bounds(arrow_x, in PaintText() local
662 AdjustBoundsForRTLUI(&arrow_bounds); in PaintText()
668 canvas->DrawImageInt(*disclosure_arrow_, arrow_bounds.x(), arrow_bounds.y(), in PaintText()
/external/chromium_org/ui/views/controls/menu/
Dmenu_item_view.cc840 gfx::Rect arrow_bounds(this->width() - config.arrow_width - in PaintButton() local
845 AdjustBoundsForRTLUI(&arrow_bounds); in PaintButton()
847 arrow_bounds.x(), arrow_bounds.y()); in PaintButton()