Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 25 of 1733) sorted by relevance

12345678910>>...70

/external/chromium_org/chrome/browser/chromeos/ui/
Daccessibility_focus_ring.cc19 gfx::Rect bottom(bounds.x(), bounds.bottom() - cap_height, in CreateWithRect() local
21 gfx::Rect body(bounds.x(), top.bottom(), in CreateWithRect()
22 bounds.width(), bottom.y() - top.bottom()); in CreateWithRect()
24 return CreateWithParagraphShape(top, body, bottom, margin); in CreateWithRect()
49 gfx::Rect bottom = orig_bottom_line; in CreateWithParagraphShape() local
51 int min_height = std::min(top.height(), bottom.height()); in CreateWithParagraphShape()
62 if (bottom.x() <= middle.x() + 2 * margin) { in CreateWithParagraphShape()
63 bottom.set_width(bottom.width() + bottom.x() - middle.x()); in CreateWithParagraphShape()
64 bottom.set_x(middle.x()); in CreateWithParagraphShape()
66 if (bottom.right() >= middle.right() - 2 * margin) { in CreateWithParagraphShape()
[all …]
Daccessibility_focus_ring_controller.cc196 gfx::Rect* bottom) const { in SplitIntoParagraphShape()
201 int top_middle = (top_rect.y() + top_rect.bottom()) / 2; in SplitIntoParagraphShape()
205 top_middle = (top_rect.y() + top_rect.bottom()) / 2; in SplitIntoParagraphShape()
211 int bottom_middle = (bottom_rect.y() + bottom_rect.bottom()) / 2; in SplitIntoParagraphShape()
214 rects[n - bottom_count - 1].bottom() > bottom_middle) { in SplitIntoParagraphShape()
216 bottom_middle = (bottom_rect.y() + bottom_rect.bottom()) / 2; in SplitIntoParagraphShape()
230 int middle_top = (top_rect.y() + top_rect.bottom() * 2) / 3; in SplitIntoParagraphShape()
231 int middle_bottom = (bottom_rect.y() * 2 + bottom_rect.bottom()) / 3; in SplitIntoParagraphShape()
233 bottom_rect.set_height(bottom_rect.bottom() - middle_bottom); in SplitIntoParagraphShape()
238 int middle_top = (top_rect.y() * 2 + top_rect.bottom()) / 3; in SplitIntoParagraphShape()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRect.java14 public void __constructor__(int left, int top, int right, int bottom) { in __constructor__() argument
18 realRect.bottom = bottom; in __constructor__()
25 realRect.bottom = otherRect.bottom; in __constructor__()
30 set(rect.left, rect.top, rect.right, rect.bottom); in set()
34 public void set(int left, int top, int right, int bottom) { in set() argument
38 realRect.bottom = bottom; in set()
48 return realRect.bottom - realRect.top; in height()
61 && realRect.bottom == r.bottom; in equals()
74 sb.append(realRect.bottom); in toString()
82 && y >= realRect.top && y <= realRect.bottom; in contains()
[all …]
/external/chromium_org/ppapi/cpp/
Drect.cc27 void Rect::Inset(int32_t left, int32_t top, int32_t right, int32_t bottom) { in Inset() argument
30 set_height(std::max<int32_t>(height() - top - bottom, 0)); in Inset()
40 (point_y >= y()) && (point_y < bottom()); in Contains()
45 rect.y() >= y() && rect.bottom() <= bottom()); in Contains()
50 rect.y() >= bottom() || rect.bottom() <= y()); in Intersects()
57 int32_t rb = std::min(bottom(), rect.bottom()); in Intersect()
75 int32_t rb = std::max(bottom(), rect.bottom()); in Union()
90 int32_t rb = bottom(); in Subtract()
92 if (rect.y() <= y() && rect.bottom() >= bottom()) { in Subtract()
102 ry = rect.bottom(); in Subtract()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp15 if (top > bottom) { in Normalize()
17 top = bottom; in Normalize()
18 bottom = temp; in Normalize()
29 bottom = bottom < src_n.bottom ? bottom : src_n.bottom; in Intersect()
30 if (left > right || top > bottom) { in Intersect()
31 left = top = right = bottom = 0; in Intersect()
41 bottom = bottom > other.bottom ? bottom : other.bottom; in Union()
70 bottom = (FX_FLOAT)(rect.top); in CFX_FloatRect()
71 top = (FX_FLOAT)(rect.bottom); in CFX_FloatRect()
81 if (bottom > top) { in Normalize()
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DCubicBezierClip.cpp33 double bottom = distance[1]; in bezier_clip() local
34 if (top > bottom) { in bezier_clip()
35 SkTSwap(top, bottom); in bezier_clip()
37 if (top * bottom >= 0) { in bezier_clip()
41 bottom = 0; in bezier_clip()
44 bottom *= scale; in bezier_clip()
49 bottom *= scale; in bezier_clip()
59 } else if (approximately_greater_or_equal(distance2y[0].y, bottom)) { in bezier_clip()
67 } else if (approximately_greater_or_equal(distance2y[3].y, bottom)) { in bezier_clip()
76 x_at(distance2y[0], distance2y[to_0[0]], top, bottom, flags, minT, maxT); in bezier_clip()
[all …]
/external/skia/experimental/Intersection/
DCubicBezierClip.cpp33 double bottom = distance[1]; in bezier_clip() local
34 if (top > bottom) { in bezier_clip()
35 SkTSwap(top, bottom); in bezier_clip()
37 if (top * bottom >= 0) { in bezier_clip()
41 bottom = 0; in bezier_clip()
44 bottom *= scale; in bezier_clip()
49 bottom *= scale; in bezier_clip()
59 } else if (approximately_greater_or_equal(distance2y[0].y, bottom)) { in bezier_clip()
67 } else if (approximately_greater_or_equal(distance2y[3].y, bottom)) { in bezier_clip()
76 x_at(distance2y[0], distance2y[to_0[0]], top, bottom, flags, minT, maxT); in bezier_clip()
[all …]
/external/chromium_org/cc/base/
Dsimple_enclosed_region.cc39 int bottom = rect_.bottom(); in Subtract() local
44 int delta_bottom = bottom - sub_rect.bottom(); in Subtract()
49 int horizontal_bottom = bottom; in Subtract()
53 horizontal_top = sub_rect.bottom(); in Subtract()
67 vertical_left, top, vertical_right - vertical_left, bottom - top); in Subtract()
89 int bottom = rect_.bottom(); in Union() local
94 int new_bottom = new_rect.bottom(); in Union()
101 if (new_top <= top && new_bottom >= bottom) { in Union()
109 if (new_bottom > bottom && new_top <= bottom) in Union()
110 bottom = new_bottom; in Union()
[all …]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Ddesktop_region.cc23 DesktopRegion::Row::Row(int32_t top, int32_t bottom) in Row() argument
24 : top(top), bottom(bottom) { in Row()
66 it1->second->bottom != it2->second->bottom || in Equals()
99 while (top < rect.bottom()) { in AddRect()
103 int32_t bottom = rect.bottom(); in AddRect() local
104 if (row != rows_.end() && row->second->top < bottom) in AddRect()
105 bottom = row->second->top; in AddRect()
107 row, Rows::value_type(bottom, new Row(top, bottom))); in AddRect()
112 assert(top <= row->second->bottom); in AddRect()
119 if (rect.bottom() < row->second->bottom) { in AddRect()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
DTooltip.css7 body { overflow: auto; margin-top: 0px; margin-bottom: 0px; margin-left: 0.3em; margin-right: …
9 h1 { margin-top: 0.3em; margin-bottom: 0.04em; }
10 h2 { margin-top: 2em; margin-bottom: 0.25em; }
11 h3 { margin-top: 1.7em; margin-bottom: 0.25em; }
12 h4 { margin-top: 2em; margin-bottom: 0.3em; }
13 h5 { margin-top: 0px; margin-bottom: 0px; }
14 p { margin-top: 0em; margin-bottom: 0em; }
16 ul { margin-top: 0px; margin-bottom: 1em; }
17 li { margin-top: 0px; margin-bottom: 0px; }
18 li p { margin-top: 0px; margin-bottom: 0px; }
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DIntRectExtent.h47 IntRectExtent(int top, int right, int bottom, int left) in IntRectExtent() argument
50 , m_bottom(bottom) in IntRectExtent()
61 int bottom() const { return m_bottom; } in bottom() function
62 void setBottom(int bottom) { m_bottom = bottom; } in setBottom() argument
67 bool isZero() const { return !left() && !right() && !top() && !bottom(); } in isZero()
75 rect.expand(left() + right(), top() + bottom()); in expandRect()
89 && a.bottom() == b.bottom()
102 a.setBottom(a.bottom() + b.bottom());
DFloatBoxExtent.h47 FloatBoxExtent(float top, float right, float bottom, float left) in FloatBoxExtent() argument
50 , m_bottom(bottom) in FloatBoxExtent()
61 float bottom() const { return m_bottom; } in bottom() function
62 void setBottom(float bottom) { m_bottom = bottom; } in setBottom() argument
67 bool isZero() const { return !left() && !right() && !top() && !bottom(); } in isZero()
75 rect.expand(left() + right(), top() + bottom()); in expandRect()
82 m_bottom = std::max(m_bottom, other.bottom()); in unite()
105 && a.bottom() == b.bottom()
118 a.setBottom(a.bottom() + b.bottom());
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp77 rcRet.bottom = PWL_MIN(rect1.bottom,rect2.bottom); in MaxRect()
86 return CPDF_Rect(rect.left + x,rect.bottom + y, in OffsetRect()
92 return rcChild.left >= rcParent.left && rcChild.bottom >= rcParent.bottom && in ContainsRect()
100 FX_FLOAT bottom = rect1.bottom > rect2.bottom ? rect1.bottom : rect2.bottom; in IntersectRect() local
103 return left < right && bottom < top; in IntersectRect()
144 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Check()
197 pts[j].y += crBBox.bottom; in GetAP_Check()
227 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Circle()
229 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2); in GetAP_Circle()
231 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Circle()
[all …]
/external/chromium_org/chrome/third_party/chromevox/chromevox/background/
Doptions.css28 padding-bottom:10px;
34 margin-bottom:25px;
40 margin-bottom:0px;
41 padding-bottom:0px;
47 padding-bottom: 5px;
48 margin-bottom: 0px;
52 padding-bottom: 0px;
53 margin-bottom: 10px;
66 margin-bottom: 0px;
72 padding-bottom:10px;
/external/skia/tools/lua/
Dskia.lua20 Sk.Rect = { left = 0, top = 0, right = 0, bottom = 0 }
27 rect = { left = l, top = t, right = r, bottom = b }
30 rect = { right = l, bottom = t }
44 return self.bottom - self.top
55 value = value * self.bottom
63 self.bottom = 0
70 self.bottom = b
79 self.bottom = self.bottom + dy
88 self.bottom = self.bottom - dy
/external/chromium_org/third_party/skia/tools/lua/
Dskia.lua20 Sk.Rect = { left = 0, top = 0, right = 0, bottom = 0 }
27 rect = { left = l, top = t, right = r, bottom = b }
30 rect = { right = l, bottom = t }
44 return self.bottom - self.top
55 value = value * self.bottom
63 self.bottom = 0
70 self.bottom = b
79 self.bottom = self.bottom + dy
88 self.bottom = self.bottom - dy
/external/chromium_org/athena/home/
Dhome_card_unittest.cc145 screen_rect.x() + screen_rect.width() / 2, screen_rect.bottom() - 1)); in TEST_F()
162 const int bottom = screen_rect.bottom(); in TEST_F() local
165 generator.GestureScrollSequence(gfx::Point(x, bottom - 1), in TEST_F()
166 gfx::Point(x, bottom - 70), in TEST_F()
173 generator.GestureScrollSequence(gfx::Point(x, bottom - 40), in TEST_F()
174 gfx::Point(x, bottom - 80), in TEST_F()
180 generator.GestureScrollSequence(gfx::Point(x, bottom - 40), in TEST_F()
181 gfx::Point(x, bottom - 20), in TEST_F()
188 generator.GestureScrollSequence(gfx::Point(x, bottom - 40), in TEST_F()
189 gfx::Point(x, bottom - 300), in TEST_F()
[all …]
/external/pdfium/core/src/reflow/
Dreflowedtextpage.cpp105 if((rectA.top >= rectB.bottom && rectB.top >= rectA.bottom)) { in _IsInsameline()
114 if(GetIntersection(rectA.bottom, rectA.top, rectB.bottom, rectB.top, interlow, interhigh)) { in _IsIntersect()
140 if(info.m_CharBox.bottom < recttmp.bottom) { in GetRectArray()
141 recttmp.bottom = info.m_CharBox.bottom; in GetRectArray()
152 if(floatRect.right < point.x && floatRect.bottom > point.y) { in _GetDistance()
153 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(floatRect.bottom - point.y, … in _GetDistance()
158 if(floatRect.left > point.x && floatRect.bottom > point.y) { in _GetDistance()
159 …return FXSYS_sqrt(FXSYS_pow(floatRect.bottom - point.y, 2) + FXSYS_pow(floatRect.left - point.x, 2… in _GetDistance()
162 …left < point.x || FXSYS_fabs(floatRect.left - point.x) <= 0.0001f) && floatRect.bottom > point.y) { in _GetDistance()
163 return FXSYS_fabs(floatRect.bottom - point.y); in _GetDistance()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkRect.cpp12 void SkIRect::join(int32_t left, int32_t top, int32_t right, int32_t bottom) { in join() argument
14 if (left >= right || top >= bottom) { in join()
20 this->set(left, top, right, bottom); in join()
25 if (bottom > fBottom) fBottom = bottom; in join()
103 SkScalar bottom) { in intersect() argument
104 if (left < right && top < bottom && !this->isEmpty() && // check for empties in intersect()
105 fLeft < right && left < fRight && fTop < bottom && top < fBottom) in intersect()
110 if (fBottom > bottom) fBottom = bottom; in intersect()
150 SkScalar bottom) { in join() argument
152 if (left >= right || top >= bottom) { in join()
[all …]
/external/skia/src/core/
DSkRect.cpp12 void SkIRect::join(int32_t left, int32_t top, int32_t right, int32_t bottom) { in join() argument
14 if (left >= right || top >= bottom) { in join()
20 this->set(left, top, right, bottom); in join()
25 if (bottom > fBottom) fBottom = bottom; in join()
103 SkScalar bottom) { in intersect() argument
104 if (left < right && top < bottom && !this->isEmpty() && // check for empties in intersect()
105 fLeft < right && left < fRight && fTop < bottom && top < fBottom) in intersect()
110 if (fBottom > bottom) fBottom = bottom; in intersect()
153 SkScalar bottom) { in join() argument
155 if (left >= right || top >= bottom) { in join()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DRect.h36 CSSPrimitiveValue* bottom() const { return m_bottom.get(); } in bottom() function
41 void setBottom(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> bottom) { m_bottom = bottom; } in setBottom() argument
79 …return generateCSSString(top()->cssText(), right()->cssText(), bottom()->cssText(), left()->cssTex… in cssText()
85 …static String generateCSSString(const String& top, const String& right, const String& bottom, cons… in generateCSSString() argument
87 return "rect(" + top + ' ' + right + ' ' + bottom + ' ' + left + ')'; in generateCSSString()
103 …return generateCSSString(top()->cssText(), right()->cssText(), bottom()->cssText(), left()->cssTex… in cssText()
109 …static String generateCSSString(const String& top, const String& right, const String& bottom, cons… in generateCSSString() argument
113 result.reserveCapacity(top.length() + right.length() + bottom.length() + left.length() + 3); in generateCSSString()
115 if (right != top || bottom != top || left != top) { in generateCSSString()
118 if (bottom != top || right != left) { in generateCSSString()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/toolbox/
DInspectedPagePlaceholder.js14 this._margins = { top: 0, right: 0, bottom: 0, left: 0 }; property
27 var margins = { top: 0, right: 0, bottom: 0, left: 0 }; property
30 var adjacent = { top: true, right: true, bottom: true, left: true }; property
46 …margins.left || this._margins.right !== margins.right || this._margins.bottom !== margins.bottom) {
82 var height = rect.height - (this._margins.top + this._margins.bottom) / zoomFactor;
108 …var bottom = Math.min(rect.bottom * zoomFactor - this._margins.bottom, bodyRect.bottom * zoomFacto…
111 return { x: left, y: top, width: right - left, height: bottom - top };
/external/nanopb-c/docs/
Dlsr.css93 margin-bottom: 0em;
98 border-bottom: 0px;
110 margin-bottom: 0.5em;
111 border-bottom: 2px solid #aaa;
116 margin-bottom: 0.5em;
117 border-bottom: 1px solid #aaa;
122 margin-bottom: 0.5em;
128 margin-bottom: 0.5em;
134 margin-bottom: 0.5em;
140 margin-bottom: 0.5em;
[all …]
/external/chromium_org/third_party/webrtc/modules/video_render/windows/
Dvideo_render_windows_impl.cc101 const float bottom) in AddIncomingRenderStream() argument
112 top, right, bottom); in AddIncomingRenderStream()
139 float& bottom) const in GetIncomingRenderStreamProperties()
146 bottom = 0; in GetIncomingRenderStreamProperties()
155 top, right, bottom); in GetIncomingRenderStreamProperties()
249 const float bottom) in SetStreamCropping() argument
259 bottom); in SetStreamCropping()
270 const float bottom) in ConfigureRenderer() argument
280 top, right, bottom); in ConfigureRenderer()
310 const float bottom) in SetText() argument
[all …]
/external/chromium_org/ui/views/
Dborder.cc20 SidedSolidBorder(int top, int left, int bottom, int right, SkColor color);
36 int bottom, in SidedSolidBorder() argument
40 insets_(top, left, bottom, right) { in SidedSolidBorder()
49 canvas->FillRect(gfx::Rect(0, view.height() - insets_.bottom(), view.width(), in Paint()
50 insets_.bottom()), color_); in Paint()
77 EmptyBorder(int top, int left, int bottom, int right) in EmptyBorder() argument
78 : insets_(top, left, bottom, right) {} in EmptyBorder()
148 int bottom, in CreateEmptyBorder() argument
150 return scoped_ptr<Border>(new EmptyBorder(top, left, bottom, right)); in CreateEmptyBorder()
156 int bottom, in CreateSolidSidedBorder() argument
[all …]

12345678910>>...70