HomeSort by relevance Sort by last modified time
    Searched refs:thickness (Results 1 - 25 of 41) sorted by null

1 2

  /external/webkit/WebCore/platform/haiku/
ScrollbarThemeHaiku.cpp 36 int buttonWidth(int scrollbarWidth, int thickness)
38 return scrollbarWidth < 2 * thickness ? scrollbarWidth / 2 : thickness;
78 int thickness = scrollbarThickness(); local
81 ? IntSize(buttonWidth(scrollbar->width(), thickness), thickness)
82 : IntSize(thickness, buttonWidth(scrollbar->height(), thickness));
93 int thickness = scrollbarThickness(); local
95 int width = buttonWidth(scrollbar->width(), thickness);
105 int thickness = scrollbarThickness(); local
    [all...]
  /external/webkit/WebCore/platform/win/
ScrollbarThemeWin.cpp 112 static int thickness; local
113 if (!thickness)
114 thickness = ::GetSystemMetrics(SM_CXVSCROLL);
115 return thickness;
148 int thickness = scrollbarThickness(); local
151 scrollbar->width() < 2 * thickness ? scrollbar->width() / 2 : thickness, thickness);
153 thickness, scrollbar->height() < 2 * thickness ? scrollbar->height() / 2 : thickness)
167 int thickness = scrollbarThickness(); local
179 int thickness = scrollbarThickness(); local
201 const int thickness = scrollbarThickness(scrollbar->controlSize()); local
    [all...]
ScrollbarThemeSafari.cpp 145 int thickness = scrollbarThickness(scrollbar->controlSize()); local
147 result = IntRect(scrollbar->x(), scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
149 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cButtonLength[scrollbar->controlSize()]);
163 int thickness = scrollbarThickness(scrollbar->controlSize()); local
165 result = IntRect(scrollbar->x() + scrollbar->width() - cButtonLength[scrollbar->controlSize()], scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
167 result = IntRect(scrollbar->x(), scrollbar->y() + scrollbar->height() - cButtonLength[scrollbar->controlSize()], thickness, cButtonLength[scrollbar->controlSize()]);
190 int thickness = scrollbarThickness(scrollbar->controlSize()); local
192 return IntRect(scrollbar->x() + cButtonLength[scrollbar->controlSize()], scrollbar->y(), scrollbar->width() - 2 * cButtonLength[scrollbar->controlSize()], thickness);
193 return IntRect(scrollbar->x(), scrollbar->y() + cButtonLength[scrollbar->controlSize()], thickness, scrollbar->height() - 2 * cButtonLength[scrollbar->controlSize()]);
  /external/webkit/WebCore/platform/chromium/
ScrollbarThemeChromiumWin.cpp 64 // thickness of the scrollbar is also their height.
65 int thickness = scrollbarThickness(scrollbar->controlSize()); local
69 if (scrollbar->width() < 2 * thickness)
71 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
73 if (scrollbar->height() < 2 * thickness)
75 return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height() - 2 * bs.height());
80 static int thickness; local
81 if (!thickness) {
84 thickness = GetSystemMetrics(SM_CXVSCROLL);
86 return thickness;
100 const int thickness = scrollbarThickness(scrollbar->controlSize()); local
269 int thickness = scrollbarThickness(scrollbar->controlSize()); local
    [all...]
ScrollbarThemeChromiumMac.mm 236 int thickness = scrollbarThickness(scrollbar->controlSize());
240 result = IntRect(scrollbar->x(), scrollbar->y(), cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0, thickness);
242 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0);
249 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
252 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]);
270 int thickness = scrollbarThickness(scrollbar->controlSize());
277 result = IntRect(scrollbar->x() + scrollbar->width() - outerButtonLength, scrollbar->y(), outerButtonLength, thickness);
281 result = IntRect(scrollbar->x(), scrollbar->y() + scrollbar->height() - outerButtonLength, thickness, outerButtonLength);
290 result = IntRect(start, scrollbar->y(), buttonLength, thickness);
293 result = IntRect(scrollbar->x(), start, thickness, buttonLength)
    [all...]
ScrollbarThemeChromiumLinux.cpp 113 // others the thickness is very unpredictable.
135 int thickness = scrollbarThickness(scrollbar->controlSize()); local
137 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width(), thickness);
138 return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height());
  /external/webkit/WebCore/platform/wx/
ScrollbarThemeWx.cpp 58 int thickness = wxSystemSettings::GetMetric(wxSYS_VSCROLL_X); local
61 if (thickness <= 0)
62 thickness = 20;
64 return thickness;
164 int thickness = scrollbarThickness(scrollbar->controlSize()); local
166 if (scrollbar->width() < 2 * thickness)
168 return IntRect(scrollbar->x() + trackStart, scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
170 if (scrollbar->height() < 2 * thickness)
172 return IntRect(scrollbar->x(), scrollbar->y() + trackStart, thickness, scrollbar->height() - 2 * bs.height());
  /external/webkit/WebCore/platform/mac/
ScrollbarThemeMac.mm 223 int thickness = scrollbarThickness(scrollbar->controlSize());
227 result = IntRect(scrollbar->x(), scrollbar->y(), cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0, thickness);
229 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0);
236 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
239 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]);
257 int thickness = scrollbarThickness(scrollbar->controlSize());
264 result = IntRect(scrollbar->x() + scrollbar->width() - outerButtonLength, scrollbar->y(), outerButtonLength, thickness);
268 result = IntRect(scrollbar->x(), scrollbar->y() + scrollbar->height() - outerButtonLength, thickness, outerButtonLength);
277 result = IntRect(start, scrollbar->y(), buttonLength, thickness);
280 result = IntRect(scrollbar->x(), start, thickness, buttonLength)
    [all...]
  /external/webkit/WebCore/platform/wx/wxcode/win/
scrollbar_render.cpp 199 int thickness = ::GetSystemMetrics(SM_CXVSCROLL) / 2; local
201 buttonRect.left += ((buttonRect.right - buttonRect.left) - thickness) / 2;
202 buttonRect.top += ((buttonRect.bottom - buttonRect.top) - thickness) / 2;
203 buttonRect.right = buttonRect.left + thickness;
204 buttonRect.bottom = buttonRect.top + thickness;
  /external/webkit/WebCore/platform/
ScrollbarThemeComposite.cpp 244 int thickness = scrollbar->orientation() == HorizontalScrollbar ? scrollbar->height() : scrollbar->width(); local
247 thumbRect = IntRect(trackRect.x() + thumbPos, trackRect.y() + (trackRect.height() - thickness) / 2, thumbLength(scrollbar), thickness);
251 thumbRect = IntRect(trackRect.x() + (trackRect.width() - thickness) / 2, trackRect.y() + thumbPos, thickness, thumbLength(scrollbar));
Scrollbar.cpp 85 // scrollbar thickness and use it when sizing scrollbars (rather than leaving one dimension of the scrollbar
87 int thickness = m_theme->scrollbarThickness(controlSize); local
88 Widget::setFrameRect(IntRect(0, 0, thickness, thickness));
  /external/webkit/WebCore/platform/graphics/openvg/
GraphicsContextOpenVG.cpp 486 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
493 UNUSED_PARAM(thickness);
529 void GraphicsContext::setPlatformStrokeThickness(float thickness)
534 m_data->setStrokeThickness(thickness);
  /external/webkit/WebCore/platform/graphics/skia/
PlatformContextSkia.h 124 void setStrokeThickness(float thickness);
GraphicsContextSkia.cpp 286 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
298 if (2 * thickness < rect.width() && 2 * thickness < rect.height()) {
299 // Adding one to the thickness doesn't make the border too thick as
302 r.inset(SkIntToScalar(thickness + 1), SkIntToScalar(thickness + 1));
678 int thickness = SkMax32(static_cast<int>(strokeThickness()), 1); local
683 r.fBottom = r.fTop + SkIntToScalar(thickness);
1045 void GraphicsContext::setPlatformStrokeThickness(float thickness)
1050 platformContext()->setStrokeThickness(thickness);
    [all...]
  /external/webkit/WebCore/platform/graphics/cg/
GraphicsContextCG.cpp 715 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
726 CGContextAddEllipseInRect(context, CGRectMake(rect.x() + thickness, rect.y() + thickness,
727 rect.width() - (thickness * 2), rect.height() - (thickness * 2)));
1046 float thickness = max(strokeThickness(), 0.5f); local
    [all...]
  /external/webkit/WebCore/rendering/
SVGInlineTextBox.cpp 530 float thickness = SVGRenderStyle::cssPrimitiveToLength(object, object->style()->svgStyle()->strokeWidth(), 1.0f); local
533 thickness = max(thickness * powf(font.size(), 2.0f) / font.unitsPerEm(), 1.0f);
536 y += thickness * 1.5f; // For compatibility with Batik/Opera
538 y += thickness;
540 float halfThickness = thickness / 2.0f;
541 return Path::createRectangle(FloatRect(x + halfThickness, y, width - 2.0f * halfThickness, thickness));
RenderBoxModelObject.cpp 969 float thickness; local
    [all...]
  /external/webkit/WebCore/platform/graphics/haiku/
GraphicsContextHaiku.cpp 446 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
518 void GraphicsContext::setPlatformStrokeThickness(float thickness)
523 m_data->m_view->SetPenSize(thickness);
  /frameworks/base/core/java/android/widget/
ScrollBarDrawable.java 124 int thickness = vertical ? r.width() : r.height(); local
129 int minLength = thickness * 2;
  /external/webkit/WebCore/platform/graphics/qt/
GraphicsContextQt.cpp 1062 int thickness)
1074 path.addEllipse(QRectF(rect.x() + thickness, rect.y() + thickness,
1075 rect.width() - (thickness * 2), rect.height() - (thickness * 2)));
1129 void GraphicsContext::setPlatformStrokeThickness(float thickness)
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
GraphicsContextAndroid.cpp 740 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
745 //printf("-------- addInnerRoundedRectClip: [%d %d %d %d] thickness=%d\n", rect.x(), rect.y(), rect.width(), rect.height(), thickness);
752 if (2*thickness < rect.width() && 2*thickness < rect.height())
754 r.inset(SkIntToScalar(thickness) ,SkIntToScalar(thickness));
    [all...]
  /external/webkit/WebCore/platform/graphics/
GraphicsContext.cpp 111 void GraphicsContext::setStrokeThickness(float thickness)
113 m_common->state.strokeThickness = thickness;
114 setPlatformStrokeThickness(thickness);
  /external/webkit/WebCore/platform/graphics/wx/
GraphicsContextWx.cpp 455 void GraphicsContext::setPlatformStrokeThickness(float thickness)
461 m_data->context->SetPen(wxPen(strokeColor(), thickness, strokeStyleToWxPenStyle(strokeStyle())));
569 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
  /external/bison/src/
vcg.h 259 /* borderwidth specifies the thickness of the node's border in pixels.
347 drawn. The attributes of its shape (color, thickness) are ignored.
352 /* Thickness is the thickness of an edge.
354 int thickness;
507 /* Specify the thickness if summary node's border in pixels.
353 int thickness; member in struct:edge
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java 380 float thickness = st.mThickness != -1 ?
390 bounds.inset(-thickness, -thickness);
406 ringPath.lineTo(x + radius + thickness, y);
    [all...]

Completed in 458 milliseconds

1 2