HomeSort by relevance Sort by last modified time
    Searched full:text_rect (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/chrome/browser/ui/cocoa/location_bar/
location_bar_decoration.mm 86 NSRect text_rect = frame;
87 text_rect.size.height = [str size].height;
88 text_rect.origin.y = roundf(NSMidY(frame) - NSHeight(text_rect) / 2.0) - 1;
89 [str drawInRect:text_rect];
  /external/chromium_org/ui/gfx/
render_text.cc 97 void AddFadeEffect(const Rect& text_rect,
103 const SkScalar left = static_cast<SkScalar>(fade_rect.x() - text_rect.x());
105 const SkScalar p0 = left / text_rect.width();
106 const SkScalar p1 = (left + width) / text_rect.width();
120 skia::RefPtr<SkShader> CreateFadeShader(const Rect& text_rect,
130 AddFadeEffect(text_rect, left_part, fade_color, color,
133 AddFadeEffect(text_rect, right_part, color, fade_color,
144 points[0].iset(text_rect.x(), text_rect.y());
145 points[1].iset(text_rect.right(), text_rect.y())
1053 Rect text_rect = display_rect(); local
    [all...]

Completed in 2863 milliseconds