Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/
Drect_based_targeting_utils.cc27 gfx::Point center_point = rect.CenterPoint(); in DistanceSquaredFromCenterToPoint() local
28 int dx = center_point.x() - point.x(); in DistanceSquaredFromCenterToPoint()
29 int dy = center_point.y() - point.y(); in DistanceSquaredFromCenterToPoint()
/external/chromium_org/ui/views/controls/
Dglow_hover_controller.cc92 SkPoint center_point; in Draw() local
93 center_point.iset(location_.x(), location_.y()); in Draw()
101 center_point, SkIntToScalar(radius), colors, NULL, 2, in Draw()
/external/chromium_org/chrome/browser/ui/views/message_center/
Dweb_notification_tray.cc92 gfx::Point center_point = rect.CenterPoint(); in GetClosestCorner() local
95 if (query.x() > center_point.x()) in GetClosestCorner()
100 if (query.y() > center_point.y()) in GetClosestCorner()
/external/chromium_org/ui/gfx/
Dcanvas.cc313 void Canvas::DrawCircle(const Point& center_point, in DrawCircle() argument
316 canvas_->drawCircle(SkIntToScalar(center_point.x()), in DrawCircle()
317 SkIntToScalar(center_point.y()), SkIntToScalar(radius), paint); in DrawCircle()
Dcanvas.h277 void DrawCircle(const Point& center_point,
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.cc1285 SkPoint center_point; in PaintInactiveTabBackgroundWithTitleChange() local
1286 center_point.iset(x, 0); in PaintInactiveTabBackgroundWithTitleChange()
1291 center_point, SkIntToScalar(radius), colors, NULL, 2, in PaintInactiveTabBackgroundWithTitleChange()