Home
last modified time | relevance | path

Searched refs:border_size (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/profiles/
Dprofile_avatar_icon_util.cc113 int border_size = std::max(width_, height_); in Draw() local
115 x = (canvas_size_.width() - border_size) / 2; in Draw()
116 y = (canvas_size_.height() - border_size) / 2; in Draw()
128 SkFloatToScalar(x + border_size - 0.5f), // right in Draw()
129 SkFloatToScalar(y + border_size - 0.5f)); // bottom in Draw()
/external/chromium_org/ui/views/bubble/
Dtray_bubble_view.cc119 gfx::Size border_size(contents_size); in GetBounds() local
121 border_size.Enlarge(insets.width(), insets.height()); in GetBounds()
123 position_relative_to.width() / 2 - border_size.width() / 2; in GetBounds()
125 const int y = position_relative_to.y() - border_size.height() + in GetBounds()
127 return gfx::Rect(x, y, border_size.width(), border_size.height()); in GetBounds()
Dbubble_border.cc216 int BubbleBorder::GetArrowOffset(const gfx::Size& border_size) const { in GetArrowOffset()
218 border_size.width() : border_size.height(); in GetArrowOffset()
Dbubble_border.h168 int GetArrowOffset(const gfx::Size& border_size) const;
/external/chromium_org/ash/shelf/
Doverflow_bubble_view.cc182 const int border_size = in GetBubbleBounds() local
185 const int arrow_offset = border_size + kPadding + kShelfViewLeadingInset + in GetBubbleBounds()
/external/chromium_org/ppapi/tests/
Dtest_file_io.cc784 const int32_t border_size = strlen(border); in TestParallelReads() local
789 std::vector<char> extended_buf_1(border_size * 2 + size_1); in TestParallelReads()
790 char* buf_1 = &extended_buf_1[border_size]; in TestParallelReads()
791 memcpy(&extended_buf_1[0], border, border_size); in TestParallelReads()
792 memcpy(buf_1 + size_1, border, border_size); in TestParallelReads()
797 std::vector<char> extended_buf_2(border_size * 2 + size_2); in TestParallelReads()
798 char* buf_2 = &extended_buf_2[border_size]; in TestParallelReads()
799 memcpy(&extended_buf_2[0], border, border_size); in TestParallelReads()
800 memcpy(buf_2 + size_2, border, border_size); in TestParallelReads()