Searched refs:view_rect (Results 1 – 3 of 3) sorted by relevance
75 SkRect view_rect = GetViewRect(); in GetClipPath() local76 view_rect.inset(2 * rounded_view::kStrokeWidth, in GetClipPath()81 view_rect, in GetClipPath()90 SkRect view_rect; in GetViewRect() local91 view_rect.iset(this->x(), in GetViewRect()95 return view_rect; in GetViewRect()104 SkRect view_rect = GetViewRect(); in DrawFrame() local111 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 …]
64 SkRect view_rect; in GetViewRect() local67 view_rect.iset(this->x(), in GetViewRect()71 return view_rect; in GetViewRect()
386 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);