Lines Matching refs:screen_bounds
22 const gfx::Rect& screen_bounds) { in IsFocusRingOffscreen() argument
23 if (top.y() > screen_bounds.bottom()) in IsFocusRingOffscreen()
25 if (middle.right() < screen_bounds.x()) in IsFocusRingOffscreen()
27 if (middle.x() > screen_bounds.right()) in IsFocusRingOffscreen()
29 if (bottom.bottom() < screen_bounds.y()) in IsFocusRingOffscreen()
211 gfx::Rect screen_bounds = GetScreenBoundsForRect(middle); in CreateWithParagraphShape() local
212 screen_bounds.Inset(kScreenPaddingDip, kScreenPaddingDip); in CreateWithParagraphShape()
215 if (IsFocusRingOffscreen(top, middle, bottom, screen_bounds)) in CreateWithParagraphShape()
218 if (top.Intersects(screen_bounds)) in CreateWithParagraphShape()
219 top.Intersect(screen_bounds); in CreateWithParagraphShape()
221 ClipToBounds(&top, screen_bounds); in CreateWithParagraphShape()
223 if (middle.Intersects(screen_bounds)) in CreateWithParagraphShape()
224 middle.Intersect(screen_bounds); in CreateWithParagraphShape()
226 ClipToBounds(&middle, screen_bounds); in CreateWithParagraphShape()
228 if (bottom.Intersects(screen_bounds)) in CreateWithParagraphShape()
229 bottom.Intersect(screen_bounds); in CreateWithParagraphShape()
231 ClipToBounds(&bottom, screen_bounds); in CreateWithParagraphShape()