Home
last modified time | relevance | path

Searched refs:view_rect (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Drounded_view.h75 SkRect view_rect = GetViewRect(); in GetClipPath() local
76 view_rect.inset(2 * rounded_view::kStrokeWidth, in GetClipPath()
81 view_rect, in GetClipPath()
90 SkRect view_rect; in GetViewRect() local
91 view_rect.iset(this->x(), in GetViewRect()
95 return view_rect; in GetViewRect()
104 SkRect view_rect = GetViewRect(); in DrawFrame() local
111 view_rect.fLeft -= kOriginShift; in DrawFrame()
112 view_rect.fTop -= kOriginShift; in DrawFrame()
113 view_rect.inset(rounded_view::kStrokeWidth, rounded_view::kStrokeWidth); in DrawFrame()
[all …]
Dusername_view.cc64 SkRect view_rect; in GetViewRect() local
67 view_rect.iset(this->x(), in GetViewRect()
71 return view_rect; in GetViewRect()
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.mm386 gfx::Rect view_rect(NSRectToCGRect([[self view] frame]));
390 view_rect.set_y(maxY_ - view_rect.bottom());
391 return view_rect.origin();
454 gfx::Rect view_rect(NSRectToCGRect(frame));
467 view_rect.set_x(
468 container_rect.width() - view_rect.width() - kRightEdgeOffset);
474 view_rect.set_y(maxY_ - view_rect.bottom());
480 return view_rect.x();
483 // Adjust |view_rect| to avoid the |selection_rect| within |container_rect|.
485 view_rect, container_rect, selection_rect);