/external/webkit/Source/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/Source/WebCore/platform/win/ |
ScrollbarThemeWin.cpp | 113 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 ? scrollbar->height() / 2 : thickness) 168 int thickness = scrollbarThickness(); local 180 int thickness = scrollbarThickness(); local 202 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()]);
|
/frameworks/base/core/java/android/text/ |
TextPaint.java | 39 * Defined as a multiplier of the default underline thickness. Use 1.0f for default thickness. 75 * @param thickness underline thickness 78 public void setUnderlineText(int color, float thickness) { 80 underlineThickness = thickness;
|
/external/webkit/Source/WebCore/platform/chromium/ |
ScrollbarThemeChromium.cpp | 82 // 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());
|
ScrollbarThemeChromiumWin.cpp | 62 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 pixels left. This allows the scrollbar to scale dow 251 int thickness = scrollbarThickness(scrollbar->controlSize()); local [all...] |
ScrollbarThemeChromiumMac.mm | 240 int thickness = scrollbarThickness(scrollbar->controlSize()); 244 result = IntRect(scrollbar->x(), scrollbar->y(), cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0, thickness); 246 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0); 253 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness); 256 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]); 274 int thickness = scrollbarThickness(scrollbar->controlSize()); 281 result = IntRect(scrollbar->x() + scrollbar->width() - outerButtonLength, scrollbar->y(), outerButtonLength, thickness); 285 result = IntRect(scrollbar->x(), scrollbar->y() + scrollbar->height() - outerButtonLength, thickness, outerButtonLength); 294 result = IntRect(start, scrollbar->y(), buttonLength, thickness); 297 result = IntRect(scrollbar->x(), start, thickness, buttonLength) [all...] |
/external/webkit/Source/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/Source/WebCore/rendering/mathml/ |
RenderMathMLFraction.cpp | 86 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/gtk/ |
ScrollbarThemeGtk.cpp | 69 // 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...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicOutlineHelper.java | 104 int outlineColor, int thickness) { 106 thickness); 109 int outlineColor, Paint alphaClipPaint, int thickness) { 120 switch (thickness) { 131 throw new RuntimeException("Invalid blur thickness"); 136 if (thickness == EXTRA_THICK) { 149 switch (thickness) { 160 throw new RuntimeException("Invalid blur thickness");
|
/external/opencv/cxcore/src/ |
cxdrawing.cpp | 70 const void* color, int thickness, int line_type, int shift ); 914 const void* color, int thickness, int line_type ) 933 if( thickness >= 0 ) 935 icvPolyLine( img, v, count, 0, color, thickness, line_type, XY_SHIFT ); 2204 int thickness, line_type; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
GraphicsContextOpenVG.cpp | 440 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) 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) 499 m_data->setStrokeThickness(thickness);
|
/external/webkit/Source/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/Source/WebCore/platform/mac/ |
ScrollbarThemeMac.mm | 290 int thickness = scrollbarThickness(scrollbar->controlSize()); 294 result = IntRect(scrollbar->x(), scrollbar->y(), cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0, thickness); 296 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap : 0); 303 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness); 306 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]); 324 int thickness = scrollbarThickness(scrollbar->controlSize()); 331 result = IntRect(scrollbar->x() + scrollbar->width() - outerButtonLength, scrollbar->y(), outerButtonLength, thickness); 335 result = IntRect(scrollbar->x(), scrollbar->y() + scrollbar->height() - outerButtonLength, thickness, outerButtonLength); 344 result = IntRect(start, scrollbar->y(), buttonLength, thickness); 347 result = IntRect(scrollbar->x(), start, thickness, buttonLength) [all...] |
/external/chromium/chrome/browser/ui/views/ |
detachable_toolbar_view.cc | 58 int thickness = views::NonClientFrameView::kClientEdgeThickness; local 59 int y = view->IsDetached() ? 0 : (view->height() - thickness); 61 0, y, view->width(), thickness);
|
/external/webkit/Source/WebCore/platform/ |
ScrollbarThemeComposite.cpp | 246 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));
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 875 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) 886 CGContextAddEllipseInRect(context, CGRectMake(rect.x() + thickness, rect.y() + thickness, 887 rect.width() - (thickness * 2), rect.height() - (thickness * 2))); 1237 float thickness = max(strokeThickness(), 0.5f); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GraphicsContextHaiku.cpp | 430 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) 516 void GraphicsContext::setPlatformStrokeThickness(float thickness) 521 m_data->m_view->SetPenSize(thickness);
|
/external/linux-tools-perf/util/ |
svghelper.c | 477 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/platform/graphics/android/context/ |
PlatformGraphicsContextRecording.h | 79 virtual void addInnerRoundedRectClip(const IntRect& rect, int thickness);
|
PlatformGraphicsContextSkia.h | 63 virtual void addInnerRoundedRectClip(const IntRect& rect, int thickness);
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
GraphicsContextSkia.cpp | 291 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness) 304 if (2 * thickness < rect.width() && 2 * thickness < rect.height()) { 305 // Adding one to the thickness doesn't make the border too thick as 308 r.inset(SkIntToScalar(thickness + 1), SkIntToScalar(thickness + 1)); 700 int thickness = SkMax32(static_cast<int>(strokeThickness()), 1); local 705 r.fBottom = r.fTop + SkIntToScalar(thickness); [all...] |
PlatformContextSkia.h | 126 void setStrokeThickness(float thickness);
|
/external/webkit/Source/WebCore/rendering/ |
RenderBoxModelObject.cpp | 1227 float thickness = max(max(edgeToRender.width, adjacentEdge1.width), adjacentEdge2.width); local 1635 float thickness; local [all...] |