Searched refs:center_point (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/views/ |
D | rect_based_targeting_utils.cc | 27 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/ |
D | glow_hover_controller.cc | 92 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/ |
D | web_notification_tray.cc | 92 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/ |
D | canvas.cc | 313 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()
|
D | canvas.h | 277 void DrawCircle(const Point& center_point,
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab.cc | 1285 SkPoint center_point; in PaintInactiveTabBackgroundWithTitleChange() local 1286 center_point.iset(x, 0); in PaintInactiveTabBackgroundWithTitleChange() 1291 center_point, SkIntToScalar(radius), colors, NULL, 2, in PaintInactiveTabBackgroundWithTitleChange()
|