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

1 2 3

  /external/chromium_org/chrome/browser/ui/panels/
display_settings_provider_win_unittest.cc 34 int thickness; local
37 thickness = provider->GetDesktopBarThicknessFromBounds(
40 EXPECT_EQ(40, thickness);
43 thickness = provider->GetDesktopBarThicknessFromBounds(
46 EXPECT_EQ(30, thickness);
49 thickness = provider->GetDesktopBarThicknessFromBounds(
52 EXPECT_EQ(35, thickness);
display_settings_provider_win.cc 13 // The thickness of the area of an auto-hiding taskbar that is still visible
153 taskbars_[i].thickness = 0;
164 // Check the thickness change.
165 int thickness = GetDesktopBarThicknessFromBounds(alignment, bounds); local
166 if (thickness != taskbars_[i].thickness) {
167 taskbars_[i].thickness = thickness;
172 OnAutoHidingDesktopBarThicknessChanged(alignment, thickness));
display_settings_provider_win.h 38 int thickness; member in struct:DisplaySettingsProviderWin::Taskbar
base_panel_browser_test.cc 61 int thickness; member in struct:__anon8631::MockDesktopBar
91 int thickness) OVERRIDE;
95 int thickness) OVERRIDE;
165 return mock_desktop_bars[static_cast<int>(alignment)].thickness;
175 DesktopBarAlignment alignment, bool enabled, int thickness) {
178 bar->thickness = thickness;
212 DesktopBarAlignment alignment, int thickness) {
216 if (thickness == bar->thickness)
    [all...]
base_panel_browser_test.h 34 int thickness) = 0;
38 int thickness) = 0;
display_settings_provider.h 43 DesktopBarAlignment alignment, int thickness) = 0;
91 // 2) the thickness of desktop bar changes
99 // Returns the thickness of the desktop bar that is aligned to the specified
  /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/chromium_org/third_party/WebKit/Source/core/platform/graphics/
StrokeData.h 62 float thickness() const { return m_thickness; } function in class:WebCore::StrokeData
63 void setThickness(const float thickness) { m_thickness = thickness; }
GraphicsContext.h 98 float strokeThickness() const { return m_state->m_strokeData.thickness(); }
99 void setStrokeThickness(float thickness) { m_state->m_strokeData.setThickness(thickness); }
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/
ScrollbarThemeChromiumWin.cpp 64 static int thickness; local
65 if (!thickness) {
68 thickness = IntSize(WebKit::Platform::current()->themeEngine()->getSize(SBP_ARROWBTN)).width();
70 return thickness;
84 const int thickness = scrollbarThickness(scrollbar->controlSize()); local
85 rect.inflateX((horz ? kOffEndMultiplier : kOffSideMultiplier) * thickness);
86 rect.inflateY((horz ? kOffSideMultiplier : kOffEndMultiplier) * thickness);
230 // Our desired rect is essentially thickness by thickness.
233 // times thickness pixels left. This allows the scrollbar to scale dow
236 int thickness = scrollbarThickness(scrollbar->controlSize()); local
    [all...]
ScrollbarThemeChromium.cpp 81 int thickness = scrollbarThickness(scrollbar->controlSize()); local
87 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
91 return IntRect(scrollbar->x(), scrollbar->y() + bs.height(), thickness, scrollbar->height() - 2 * bs.height());
  /external/chromium_org/ui/views/
border.cc 58 // A variation of SidedSolidBorder, where each side has the same thickness.
61 SolidBorder(int thickness, SkColor color)
62 : SidedSolidBorder(thickness, thickness, thickness, thickness, color) {
122 Border* Border::CreateSolidBorder(int thickness, SkColor color) {
123 return new SolidBorder(thickness, color);
border.h 46 // Creates a border that is a simple line of the specified thickness and
48 static Border* CreateSolidBorder(int thickness, SkColor color);
54 // Creates a border of the specified color, and specified thickness on each
  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
ScrollbarThemeMacNonOverlayAPI.mm 230 int thickness = scrollbarThickness(scrollbar->controlSize());
234 result = IntRect(scrollbar->x(), scrollbar->y(), cOuterButtonLength[scrollbar->controlSize()] + (painting ? cOuterButtonOverlap : 0), thickness);
236 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlSize()] + (painting ? cOuterButtonOverlap : 0));
243 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
246 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]);
264 int thickness = scrollbarThickness(scrollbar->controlSize());
271 result = IntRect(scrollbar->x() + scrollbar->width() - outerButtonLength, scrollbar->y(), outerButtonLength, thickness);
275 result = IntRect(scrollbar->x(), scrollbar->y() + scrollbar->height() - outerButtonLength, thickness, outerButtonLength);
284 result = IntRect(start, scrollbar->y(), buttonLength, thickness);
287 result = IntRect(scrollbar->x(), start, thickness, buttonLength)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
HolographicOutlineHelper.java 97 int outlineColor, int thickness) {
99 thickness);
102 int outlineColor, boolean clipAlpha, int thickness) {
123 switch (thickness) {
134 throw new RuntimeException("Invalid blur thickness");
139 if (thickness == EXTRA_THICK) {
152 switch (thickness) {
163 throw new RuntimeException("Invalid blur thickness");
  /packages/apps/Launcher3/src/com/android/launcher3/
HolographicOutlineHelper.java 105 int outlineColor, int thickness) {
107 thickness);
110 int outlineColor, boolean clipAlpha, int thickness) {
131 switch (thickness) {
142 throw new RuntimeException("Invalid blur thickness");
147 if (thickness == EXTRA_THICK) {
160 switch (thickness) {
171 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/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/chromium_org/chrome/browser/ui/views/
detachable_toolbar_view.cc 74 int thickness = views::NonClientFrameView::kClientEdgeThickness; local
75 int y = at_top ? 0 : (view->height() - thickness);
76 canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), color);
  /external/chromium_org/third_party/WebKit/Source/core/platform/
ScrollbarTheme.cpp 209 int thickness = scrollbar->orientation() == HorizontalScrollbar ? scrollbar->height() : scrollbar->width(); local
212 thumbRect = IntRect(trackRect.x() + thumbPos, trackRect.y() + (trackRect.height() - thickness) / 2, thumbLength(scrollbar), thickness);
216 thumbRect = IntRect(trackRect.x() + (trackRect.width() - thickness) / 2, trackRect.y() + thumbPos, thickness, thumbLength(scrollbar));
Scrollbar.cpp 86 // scrollbar thickness and use it when sizing scrollbars (rather than leaving one dimension of the scrollbar
88 int thickness = m_theme->scrollbarThickness(controlSize); local
89 Widget::setFrameRect(IntRect(0, 0, thickness, thickness));
  /external/chromium_org/ui/views/bubble/
bubble_border.cc 36 // The thickness of border and arrow images and their interior areas.
37 // Thickness is the width of left/right and the height of top/bottom images.
110 // Note: SHADOW's border interior thickness is actually 10, but 0 is used
149 // Enlarge the contents size by the thickness of the border images.
307 const int thickness = images_->arrow_interior_thickness;
309 is_arrow_on_left(arrow_) ? arrow_bounds.right() - thickness :
310 arrow_bounds.x() + thickness;
312 is_arrow_on_top(arrow_) ? arrow_bounds.bottom() - thickness :
313 arrow_bounds.y() + 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);
  /frameworks/base/core/java/android/widget/
ScrollBarDrawable.java 123 int thickness = vertical ? r.width() : r.height(); local
128 int minLength = thickness * 2;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGInlineTextBox.cpp 495 static inline float positionOffsetForDecoration(TextDecoration decoration, const FontMetrics& fontMetrics, float thickness)
500 return fontMetrics.floatAscent() + thickness * 1.5f;
502 return thickness;
578 float thickness = thicknessForDecoration(decoration, scaledFont); local
580 if (fragment.width <= 0 && thickness <= 0)
594 decorationOrigin.move(0, -scaledFontMetrics.floatAscent() + positionOffsetForDecoration(decoration, scaledFontMetrics, thickness));
597 path.addRect(FloatRect(decorationOrigin, FloatSize(width, thickness)));

Completed in 1258 milliseconds

1 2 3