Searched refs:kBorderWidth (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/ui/views/color_chooser/
H A Dcolor_chooser_view.cc30 const int kBorderWidth = 1; member in namespace:__anon14450
127 level += kBorderWidth;
136 level_ = std::max(kBorderWidth,
137 std::min(height() - 1 - kBorderWidth, point.y()));
141 SkIntToScalar(base_height - (level_ - kBorderWidth))),
148 return gfx::Size(kHueBarWidth + kHueIndicatorSize * 2 + kBorderWidth * 2,
149 kSaturationValueSize + kBorderWidth * 2);
159 kHueBarWidth + kBorderWidth, height() - 1),
161 int base_left = kHueIndicatorSize + kBorderWidth;
167 canvas->FillRect(gfx::Rect(base_left, y + kBorderWidth, kHueBarWidt
[all...]
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_sync_promo_view.cc27 const int kBorderWidth = 1; member in namespace:__anon6312
37 set_border(views::Border::CreateSolidSidedBorder(kBorderWidth,
/external/chromium_org/chrome/browser/ui/views/message_center/
H A Dmessage_center_frame_view.cc14 const int kBorderWidth = 1; member in namespace:__anon6381
24 kBorderWidth, message_center::kMessageCenterBorderColor));
/external/chromium_org/ui/views/controls/
H A Dprogress_bar.cc20 const int kBorderWidth = 1; member in namespace:__anon14477
217 kBorderWidth);
221 if (progress_width > kBorderWidth * 2) {
242 SkScalar border_width = SkScalarDiv(SkIntToScalar(kBorderWidth),
266 // Do not start from (kBorderWidth, kBorderWidth) because it makes gaps
287 SK_Scalar1 - SkScalarDiv(SkIntToScalar(kBorderWidth), scalar_height),
296 std::max(0, progress_width - kHighlightWidth - kBorderWidth);
306 kHighlightWidth + kBorderWidth, bar_height),
318 kBorderWidth);
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_chrome_shrinkable_hbox_unittest.cc14 const int kBorderWidth = 5; member in namespace:__anon2635
26 gtk_container_set_border_width(GTK_CONTAINER(box_), kBorderWidth); local
134 for (int width = 500; width > kBorderWidth * 2; --width) {
147 for (int width = kBorderWidth * 2; width <= 500; ++width) {
162 for (int width = 500; width > kBorderWidth * 2; --width) {
172 for (int width = kBorderWidth * 2; width <= 500; ++width) {
/external/chromium_org/chrome/browser/ui/gtk/
H A Dgtk_chrome_shrinkable_hbox_unittest.cc14 const int kBorderWidth = 5; member in namespace:__anon6148
26 gtk_container_set_border_width(GTK_CONTAINER(box_), kBorderWidth); local
134 for (int width = 500; width > kBorderWidth * 2; --width) {
147 for (int width = kBorderWidth * 2; width <= 500; ++width) {
162 for (int width = 500; width > kBorderWidth * 2; --width) {
172 for (int width = kBorderWidth * 2; width <= 500; ++width) {
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
H A Dwebtreemap.js34 var kBorderWidth = 1; variable
65 position(t.dom, -kBorderWidth, -kBorderWidth, width, height);
101 width -= kBorderWidth*2;
102 height -= kBorderWidth*2;
/external/chromium_org/ui/native_theme/
H A Dnative_theme_base.cc719 const int kBorderWidth = text.is_listbox ? 1 : 2; local
741 path.lineTo(SkIntToScalar(left + kBorderWidth),
742 SkIntToScalar(top + kBorderWidth));
743 path.lineTo(SkIntToScalar(right - kBorderWidth),
744 SkIntToScalar(top + kBorderWidth));
750 path.moveTo(SkIntToScalar(left + kBorderWidth),
751 SkIntToScalar(bottom - kBorderWidth));
754 path.lineTo(SkIntToScalar(right - kBorderWidth),
755 SkIntToScalar(bottom - kBorderWidth));
762 path.lineTo(SkIntToScalar(left + kBorderWidth),
[all...]

Completed in 195 milliseconds