/external/chromium_org/ui/views/color_chooser/ |
H A D | color_chooser_view.cc | 30 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 D | bookmark_sync_promo_view.cc | 27 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 D | message_center_frame_view.cc | 14 const int kBorderWidth = 1; member in namespace:__anon6381 24 kBorderWidth, message_center::kMessageCenterBorderColor));
|
/external/chromium_org/ui/views/controls/ |
H A D | progress_bar.cc | 20 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 D | gtk_chrome_shrinkable_hbox_unittest.cc | 14 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 D | gtk_chrome_shrinkable_hbox_unittest.cc | 14 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 D | webtreemap.js | 34 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 D | native_theme_base.cc | 719 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...] |