Home
last modified time | relevance | path

Searched refs:thickness (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/content/renderer/
Dwebscrollbarbehavior_impl_gtkoraura.cc39 int thickness = isHorizontal ? noSnapRect.height() : noSnapRect.width(); in shouldSnapBackToDragOrigin() local
44 thickness = std::max(thickness, kDefaultWinScrollbarThickness); in shouldSnapBackToDragOrigin()
46 (isHorizontal ? kOffEndMultiplier : kOffSideMultiplier) * -thickness, in shouldSnapBackToDragOrigin()
47 (isHorizontal ? kOffSideMultiplier : kOffEndMultiplier) * -thickness); in shouldSnapBackToDragOrigin()
/external/chromium_org/ui/views/
Dborder.cc67 SolidBorder(int thickness, SkColor color) in SolidBorder() argument
68 : SidedSolidBorder(thickness, thickness, thickness, thickness, color) { in SolidBorder()
141 scoped_ptr<Border> Border::CreateSolidBorder(int thickness, SkColor color) { in CreateSolidBorder() argument
142 return scoped_ptr<Border>(new SolidBorder(thickness, color)); in CreateSolidBorder()
Dborder.h50 static scoped_ptr<Border> CreateSolidBorder(int thickness, SkColor color);
/external/chromium_org/chrome/browser/ui/panels/
Dbase_panel_browser_test.cc58 int thickness; member
89 int thickness) OVERRIDE;
93 int thickness) OVERRIDE;
166 return mock_desktop_bars[static_cast<int>(alignment)].thickness; in GetDesktopBarThickness()
180 DesktopBarAlignment alignment, bool enabled, int thickness) { in EnableAutoHidingDesktopBar() argument
183 bar->thickness = thickness; in EnableAutoHidingDesktopBar()
217 DesktopBarAlignment alignment, int thickness) { in SetDesktopBarThickness() argument
221 if (thickness == bar->thickness) in SetDesktopBarThickness()
223 bar->thickness = thickness; in SetDesktopBarThickness()
227 OnAutoHidingDesktopBarThicknessChanged(alignment, thickness)); in SetDesktopBarThickness()
Dbase_panel_browser_test.h34 int thickness) = 0;
38 int thickness) = 0;
Ddisplay_settings_provider.h43 DesktopBarAlignment alignment, int thickness) = 0;
/external/opencv/cxcore/src/
Dcxdrawing.cpp70 const void* color, int thickness, int line_type, int shift );
914 const void* color, int thickness, int line_type ) in icvEllipseEx() argument
933 if( thickness >= 0 ) in icvEllipseEx()
935 icvPolyLine( img, v, count, 0, color, thickness, line_type, XY_SHIFT ); in icvEllipseEx()
1558 int thickness, int line_type, int flags, int shift ) in icvThickLine() argument
1567 if( thickness <= 1 ) in icvThickLine()
1591 thickness <<= XY_SHIFT - 1; in icvThickLine()
1595 r = thickness * cvInvSqrt( (float) r ); in icvThickLine()
1620 icvCircle( img, center, thickness >> XY_SHIFT, color, 1 ); in icvThickLine()
1624 icvEllipseEx( img, p0, cvSize(thickness, thickness), in icvThickLine()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeMacNonOverlayAPI.mm210 int thickness = scrollbarThickness(scrollbar->controlSize());
214 …), cOuterButtonLength[scrollbar->controlSize()] + (painting ? cOuterButtonOverlap : 0), thickness);
216 …result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlS…
223 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
226 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]);
244 int thickness = scrollbarThickness(scrollbar->controlSize());
251 …llbar->x() + scrollbar->width() - outerButtonLength, scrollbar->y(), outerButtonLength, thickness);
255 …rollbar->x(), scrollbar->y() + scrollbar->height() - outerButtonLength, thickness, outerButtonLeng…
264 result = IntRect(start, scrollbar->y(), buttonLength, thickness);
267 result = IntRect(scrollbar->x(), start, thickness, buttonLength);
[all …]
DScrollbarThemeNonMacCommon.cpp75 int thickness = scrollbarThickness(scrollbar->controlSize()); in trackRect() local
81 …tRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness); in trackRect()
85 …return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height() - 2 * … in trackRect()
DScrollbar.cpp80 int thickness = m_theme->scrollbarThickness(controlSize); in Scrollbar() local
81 Widget::setFrameRect(IntRect(0, 0, thickness, thickness)); in Scrollbar()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DStrokeData.h60 float thickness() const { return m_thickness; } in thickness() function
61 void setThickness(float thickness) { m_thickness = thickness; } in setThickness() argument
DGraphicsContextState.cpp26 m_strokePaint.setStrokeWidth(SkFloatToScalar(m_strokeData.thickness())); in GraphicsContextState()
86 void GraphicsContextState::setStrokeThickness(float thickness) in setStrokeThickness() argument
88 m_strokeData.setThickness(thickness); in setStrokeThickness()
89 m_strokePaint.setStrokeWidth(SkFloatToScalar(thickness)); in setStrokeThickness()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DObjectPainter.cpp100 int thickness; in drawLineForBoxSide() local
103 thickness = y2 - y1; in drawLineForBoxSide()
106 thickness = x2 - x1; in drawLineForBoxSide()
112 if (!thickness || !length) in drawLineForBoxSide()
115 if (style == DOUBLE && thickness < 3) in drawLineForBoxSide()
125 color, thickness, style, antialias); in drawLineForBoxSide()
129 thickness, adjacentWidth1, adjacentWidth2, antialias); in drawLineForBoxSide()
153 BoxSide side, Color color, int thickness, EBorderStyle style, bool antialias) in drawDashedOrDottedBoxSide() argument
155 if (thickness <= 0) in drawDashedOrDottedBoxSide()
162 graphicsContext->setStrokeThickness(thickness); in drawDashedOrDottedBoxSide()
[all …]
DObjectPainter.h29 BoxSide, Color, int thickness, EBorderStyle, bool antialias);
31 …int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjacentWidth2, bool antialias);
/external/chromium_org/chrome/browser/ui/views/
Ddetachable_toolbar_view.cc73 int thickness = views::NonClientFrameView::kClientEdgeThickness; in PaintHorizontalBorder() local
74 int y = at_top ? 0 : (view->height() - thickness); in PaintHorizontalBorder()
75 canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), color); in PaintHorizontalBorder()
/external/eigen/Eigen/src/OrderingMethods/
DEigen_Colamd.h146 Index thickness ; /* number of original columns represented by this */ member
529 Col [col].shared1.thickness = 1 ; in init_rows_cols()
1037 pivot_col_thickness = Col [pivot_col].shared1.thickness ; in find_ordering()
1065 Col [pivot_col].shared1.thickness = -pivot_col_thickness ; in find_ordering()
1087 col_thickness = Col [col].shared1.thickness ; in find_ordering()
1091 Col [col].shared1.thickness = -col_thickness ; in find_ordering()
1101 Col [pivot_col].shared1.thickness = pivot_col_thickness ; in find_ordering()
1171 col_thickness = -Col [col].shared1.thickness ; in find_ordering()
1173 Col [col].shared1.thickness = col_thickness ; in find_ordering()
1289 pivot_row_degree -= Col [col].shared1.thickness ; in find_ordering()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGAttributeNames.in141 overline-thickness
187 strikethrough-thickness
215 underline-thickness
/external/chromium_org/ui/views/bubble/
Dbubble_border.cc308 const int thickness = images_->arrow_interior_thickness; in DrawArrow() local
310 is_arrow_on_left(arrow_) ? arrow_bounds.right() - thickness : in DrawArrow()
311 arrow_bounds.x() + thickness; in DrawArrow()
313 is_arrow_on_top(arrow_) ? arrow_bounds.bottom() - thickness : in DrawArrow()
314 arrow_bounds.y() + thickness; in DrawArrow()
/external/chromium_org/chrome/browser/ui/views/frame/
Dopaque_browser_frame_view_layout.cc211 int thickness = FrameBorderThickness(restored); in NonClientTopBorderHeight() local
214 thickness -= kTabstripTopShadowThickness; in NonClientTopBorderHeight()
216 return thickness; in NonClientTopBorderHeight()
657 int thickness = FrameBorderThickness(false); in Layout() local
658 leading_button_start_ = thickness; in Layout()
659 trailing_button_start_ = thickness; in Layout()
/external/chromium_org/ui/message_center/cocoa/
Dstatus_item_view.mm36 CGFloat thickness = [[statusItem_ statusBar] thickness];
38 NSRect frame = NSMakeRect(0, 0, kStatusItemLength, thickness);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGInlineTextBox.cpp458 …lineOffsetForDecoration(TextDecoration decoration, const FontMetrics& fontMetrics, float thickness) in baselineOffsetForDecoration() argument
463 return -thickness * 1.5f; in baselineOffsetForDecoration()
465 return fontMetrics.floatAscent() - thickness; in baselineOffsetForDecoration()
543 float thickness = thicknessForDecoration(decoration, scaledFont); in paintDecorationWithStyle() local
545 if (fragment.width <= 0 && thickness <= 0) in paintDecorationWithStyle()
548 …at decorationOffset = baselineOffsetForDecoration(decoration, scaledFont.fontMetrics(), thickness); in paintDecorationWithStyle()
552 path.addRect(FloatRect(decorationOrigin, FloatSize(fragment.width, thickness / scalingFactor))); in paintDecorationWithStyle()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsvghelper.c477 double thickness = 0.075; in svg_time_grid() local
479 thickness = 0.5; in svg_time_grid()
483 thickness = 2.0; in svg_time_grid()
488 time2pixels(i), SLOT_MULT/2, time2pixels(i), total_height, color, color, color, thickness); in svg_time_grid()
/external/chromium_org/third_party/skia/samplecode/
DSampleDither.cpp57 SkScalar thickness = p.getStrokeWidth(); in draw_sweep() local
63 path.lineTo(x + radius + thickness, y); in draw_sweep()
/external/skia/samplecode/
DSampleDither.cpp57 SkScalar thickness = p.getStrokeWidth(); in draw_sweep() local
63 path.lineTo(x + radius + thickness, y); in draw_sweep()
/external/opencv/cxcore/include/
Dcxcore.h1287 CvScalar color, int thickness CV_DEFAULT(1),
1293 CvScalar color, int thickness CV_DEFAULT(1),
1300 CvScalar color, int thickness CV_DEFAULT(1),
1308 CvScalar color, int thickness CV_DEFAULT(1),
1312 int thickness CV_DEFAULT(1),
1320 0, 360, color, thickness, line_type, shift );
1333 int is_closed, CvScalar color, int thickness CV_DEFAULT(1),
1390 int thickness; /* letters thickness */ member
1400 int thickness CV_DEFAULT(1),
1403 CV_INLINE CvFont cvFont( double scale, int thickness CV_DEFAULT(1) )
[all …]

12