Searched defs:thickness (Results 1 - 25 of 35) sorted by relevance

12

/external/webkit/Source/WebCore/platform/chromium/
H A DScrollbarThemeChromium.cpp82 // thickness of the scrollbar is also their height.
83 int thickness = scrollbarThickness(scrollbar->controlSize()); local
87 if (scrollbar->width() < 2 * thickness)
89 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
91 if (scrollbar->height() < 2 * thickness)
93 return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height() - 2 * bs.height());
H A DScrollbarThemeChromiumWin.cpp62 static int thickness; local
63 if (!thickness) {
66 thickness = GetSystemMetrics(SM_CXVSCROLL);
68 return thickness;
82 const int thickness = scrollbarThickness(scrollbar->controlSize()); local
83 rect.inflateX((horz ? kOffEndMultiplier : kOffSideMultiplier) * thickness);
84 rect.inflateY((horz ? kOffSideMultiplier : kOffEndMultiplier) * thickness);
245 // Our desired rect is essentially thickness by thickness.
248 // times thickness pixel
251 int thickness = scrollbarThickness(scrollbar->controlSize()); local
[all...]
/external/chromium/chrome/browser/ui/views/
H A Ddetachable_toolbar_view.cc58 int thickness = views::NonClientFrameView::kClientEdgeThickness; local
59 int y = view->IsDetached() ? 0 : (view->height() - thickness);
61 0, y, view->width(), thickness);
/external/skia/samplecode/
H A DSampleDither.cpp57 SkScalar thickness = p.getStrokeWidth(); local
63 path.lineTo(x + radius + thickness, y);
/external/webkit/Source/WebCore/platform/haiku/
H A DScrollbarThemeHaiku.cpp36 int buttonWidth(int scrollbarWidth, int thickness) argument
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/Source/WebCore/platform/win/
H A DScrollbarThemeSafari.cpp145 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()]);
H A DScrollbarThemeWin.cpp113 static int thickness; local
114 if (!thickness)
115 thickness = ::GetSystemMetrics(SM_CXVSCROLL);
116 return thickness;
149 int thickness = scrollbarThickness(); local
152 scrollbar->width() < 2 * thickness ? scrollbar->width() / 2 : thickness, thickness);
154 thickness, scrollbar->height() < 2 * thickness
168 int thickness = scrollbarThickness(); local
180 int thickness = scrollbarThickness(); local
202 const int thickness = scrollbarThickness(scrollbar->controlSize()); local
323 gripperRect(int thickness, const IntRect& thumbRect) argument
[all...]
/external/webkit/Source/WebCore/platform/wx/
H A DScrollbarThemeWx.cpp58 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/Source/WebCore/rendering/mathml/
H A DRenderMathMLFraction.cpp86 String thickness = fraction->getAttribute(MathMLNames::linethicknessAttr); local
88 if (equalIgnoringCase(thickness, "thin"))
90 else if (equalIgnoringCase(thickness, "medium"))
92 else if (equalIgnoringCase(thickness, "thick"))
94 else if (equalIgnoringCase(thickness, "0"))
97 // Update the style for the padding of the denominator for the line thickness
126 // Adjust the fraction line thickness for the zoom
/external/webkit/Source/WebCore/platform/
H A DScrollbarThemeComposite.cpp246 int thickness = scrollbar->orientation() == HorizontalScrollbar ? scrollbar->height() : scrollbar->width(); local
249 thumbRect = IntRect(trackRect.x() + thumbPos, trackRect.y() + (trackRect.height() - thickness) / 2, thumbLength(scrollbar), thickness);
253 thumbRect = IntRect(trackRect.x() + (trackRect.width() - thickness) / 2, trackRect.y() + thumbPos, thickness, thumbLength(scrollbar));
H A DScrollbar.cpp91 // scrollbar thickness and use it when sizing scrollbars (rather than leaving one dimension of the scrollbar
93 int thickness = m_theme->scrollbarThickness(controlSize); local
94 Widget::setFrameRect(IntRect(0, 0, thickness, thickness));
/external/webkit/Source/WebCore/platform/gtk/
H A DScrollbarThemeGtk.cpp69 // Update the thickness of every interior frame scrollbar widget. The
81 int thickness = scrollbarThickness(scrollbar->controlSize()); local
83 scrollbar->setFrameRect(IntRect(0, scrollbar->parent()->height() - thickness, scrollbar->width(), thickness));
85 scrollbar->setFrameRect(IntRect(scrollbar->parent()->width() - thickness, 0, thickness, scrollbar->height()));
148 int thickness = scrollbarThickness(scrollbar->controlSize()); local
162 if (scrollbar->width() < 2 * thickness)
165 scrollbar->width() - (2 * movementAxisPadding) - alternateButtonWidth, thickness);
168 if (scrollbar->height() < 2 * thickness)
[all...]
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
H A Dscrollbar_render.cpp199 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/linux-tools-perf/util/
H A Dsvghelper.c477 double thickness = 0.075; local
479 thickness = 0.5;
483 thickness = 2.0;
488 time2pixels(i), SLOT_MULT/2, time2pixels(i), total_height, color, color, color, thickness);
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGInlineTextBox.cpp456 static inline float positionOffsetForDecoration(ETextDecoration decoration, const FontMetrics& fontMetrics, float thickness)
461 return fontMetrics.floatAscent() + thickness * 1.5f;
463 return thickness;
562 float thickness = thicknessForDecoration(decoration, scaledFont); local
564 if (fragment.width <= 0 && thickness <= 0)
590 decorationOrigin.move(0, -scaledFontMetrics.floatAscent() + positionOffsetForDecoration(decoration, scaledFontMetrics, thickness));
593 path.addRect(FloatRect(decorationOrigin, FloatSize(width, thickness)));
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DGraphicsContextHaiku.cpp430 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) argument
516 void GraphicsContext::setPlatformStrokeThickness(float thickness) argument
521 m_data->m_view->SetPenSize(thickness);
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DGraphicsContextOpenVG.cpp440 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) argument
447 path.addEllipse(FloatRect(rect.x() + thickness, rect.y() + thickness,
448 rect.width() - (thickness * 2), rect.height() - (thickness * 2)));
494 void GraphicsContext::setPlatformStrokeThickness(float thickness) argument
499 m_data->setStrokeThickness(thickness);
H A DPainterOpenVG.cpp561 void PainterOpenVG::setStrokeThickness(float thickness) argument
566 m_state->strokeThickness = thickness;
567 vgSetf(VG_STROKE_LINE_WIDTH, thickness);
938 // Try to align lines to pixels, centering them between pixels for odd thickness values.
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext.cpp115 void GraphicsContext::setStrokeThickness(float thickness) argument
117 m_state.strokeThickness = thickness;
118 setPlatformStrokeThickness(thickness);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DGraphicsContextAndroid.cpp271 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) argument
276 platformContext()->addInnerRoundedRectClip(rect, thickness);
H A DGraphicsOperation.h234 InnerRoundedRectClip(const IntRect& rect, int thickness) argument
235 : m_rect(rect), m_thickness(thickness) {}
H A DPlatformGraphicsContextSkia.cpp155 int thickness)
162 if (2 * thickness < rect.width() && 2 * thickness < rect.height()) {
163 // Adding one to the thickness doesn't make the border too thick as
166 r.inset(SkIntToScalar(thickness + 1), SkIntToScalar(thickness + 1));
154 addInnerRoundedRectClip(const IntRect& rect, int thickness) argument
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DPlatformContextSkia.cpp509 void PlatformContextSkia::setStrokeThickness(float thickness) argument
511 m_state->m_strokeThickness = thickness;
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp465 void GraphicsContext::setPlatformStrokeThickness(float thickness) argument
471 m_data->context->SetPen(wxPen(strokeColor(), thickness, strokeStyleToWxPenStyle(strokeStyle())));
605 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) argument
/external/bison/src/
H A Dvcg.h259 /* 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

Completed in 315 milliseconds

12