Searched defs:bottom (Results 101 - 125 of 345) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatQuad.cpp90 float bottom = max4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); local
92 return FloatRect(left, top, right - left, bottom - top);
H A DFloatRect.cpp91 float bottom = std::min(maxY(), other.maxY()); local
94 if (left >= right || top >= bottom) {
98 bottom = 0;
101 setLocationAndSizeFromEdges(left, top, right, bottom);
174 float bottom = std::max(p0.y(), p1.y()); local
176 setLocationAndSizeFromEdges(left, top, right, bottom);
213 float bottom = max3(p0.y(), p1.y(), p2.y()); local
215 setLocationAndSizeFromEdges(left, top, right, bottom);
223 float bottom = max4(p0.y(), p1.y(), p2.y(), p3.y()); local
225 setLocationAndSizeFromEdges(left, top, right, bottom);
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/
H A DCustomFilterRenderer.cpp46 static void orthogonalProjectionMatrix(TransformationMatrix& matrix, float left, float right, float bottom, float top) argument
51 float deltaY = top - bottom;
57 matrix.setM42(-(top + bottom) / deltaY);
/external/chromium_org/third_party/angle/samples/gles2_book/Common/
H A DesTransform.c108 esFrustum(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ) argument
111 float deltaY = top - bottom;
126 frust.m[2][1] = (top + bottom) / deltaY;
149 esOrtho(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ) argument
152 float deltaY = top - bottom;
163 ortho.m[3][1] = -(top + bottom) / deltaY;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcpassthroughrender.h73 const float right, const float bottom);
85 float& right, float& bottom) const {
138 const float bottom) {
151 const float bottom) {
166 const float right, const float bottom) {
176 const float right, const float bottom) {
134 SetStreamCropping( const uint32_t stream_id, const float left, const float top, const float right, const float bottom) argument
146 ConfigureRenderer( const uint32_t stream_id, const unsigned int zOrder, const float left, const float top, const float right, const float bottom) argument
163 SetBitmap(const void* bitMap, const uint8_t pictureId, const void* colorKey, const float left, const float top, const float right, const float bottom) argument
170 SetText(const uint8_t textId, const uint8_t* text, const int32_t textLength, const uint32_t textColorRef, const uint32_t backgroundColorRef, const float left, const float top, const float right, const float bottom) argument
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dmatrix.c54 * \param bottom bottom clipping plane coordinate.
67 GLdouble bottom, GLdouble top,
77 top == bottom)
85 (GLfloat) bottom, (GLfloat) top,
96 * \param bottom bottom clipping plane coordinate.
109 GLdouble bottom, GLdouble top,
117 left, right, bottom, top, nearval, farval);
120 bottom
66 _mesa_Frustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval ) argument
108 _mesa_Ortho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval ) argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dreadable_font_data.cc176 int32_t bottom = 0; local
178 while (top != bottom) {
179 location = (top + bottom) / 2;
194 bottom = location + 1;
206 int32_t bottom = 0; local
208 while (top != bottom) {
209 location = (top + bottom) / 2;
216 bottom = location + 1;
231 int32_t bottom = 0; local
233 while (top != bottom) {
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table_format4.cc312 int32_t bottom = 0; local
314 while (top != bottom) {
315 location = (top + bottom) / 2;
322 bottom = location + 1;
/external/chromium_org/third_party/skia/include/core/
H A DSkRect.h62 int bottom() const { return fBottom; } function in struct:SkIRect
76 * (i.e. top <= bottom) so the result may be negative.
91 * method is defined to return (bottom + top) >> 1
94 * (bottom + top) / 2 when the sum is negative.
125 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { argument
129 fBottom = bottom;
132 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { argument
133 this->set(left, top, right, bottom);
161 and adding dy to its top and bottom.
186 making the rectangle wider. The same holds true for dy and the top and bottom
[all...]
H A DSkRegion.h118 * If left < right and top < bottom, set this region to that rectangle and
121 bool setRect(int32_t left, int32_t top, int32_t right, int32_t bottom);
196 int32_t bottom) const {
199 return left < right && top < bottom &&
201 /* fBounds.contains(left, top, right, bottom); */
203 fBounds.fRight >= right && fBounds.fBottom >= bottom;
262 bool op(int left, int top, int right, int bottom, Op op) { argument
264 rect.set(left, top, right, bottom);
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDCubicLineIntersection.cpp184 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
185 addExactVerticalEndPoints(top, bottom, axisIntercept);
187 addNearVerticalEndPoints(top, bottom, axisIntercept);
194 double lineT = (pt.fY - top) / (bottom - top);
260 void addExactVerticalEndPoints(double top, double bottom, double x) { argument
262 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x);
271 void addNearVerticalEndPoints(double top, double bottom, double x) { argument
277 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x);
338 int SkIntersections::vertical(const SkDCubic& cubic, double top, double bottom, double x, argument
340 SkDLine line = {{{ x, top }, { x, bottom }}};
[all...]
H A DSkDLineIntersection.cpp287 int SkIntersections::vertical(const SkDLine& line, double top, double bottom, argument
296 if (top != bottom) {
297 SkDPoint bottomPt = { x, bottom };
302 if ((t = SkDLine::ExactPointV(line[index], top, bottom, x)) >= 0) {
311 if (between(top, yIntercept, bottom)) {
312 fT[1][0] = (yIntercept - top) / (bottom - top);
328 if (top != bottom) {
329 SkDPoint bottomPt = { x, bottom };
334 if ((t = SkDLine::NearPointV(line[index], top, bottom, x)) >= 0) {
H A DSkDQuadLineIntersection.cpp202 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
203 addExactVerticalEndPoints(top, bottom, axisIntercept);
205 addNearVerticalEndPoints(top, bottom, axisIntercept);
212 double lineT = (pt.fY - top) / (bottom - top);
277 void addExactVerticalEndPoints(double top, double bottom, double x) { argument
279 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
288 void addNearVerticalEndPoints(double top, double bottom, double x) { argument
294 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
393 int SkIntersections::vertical(const SkDQuad& quad, double top, double bottom, double x, argument
395 SkDLine line = {{{ x, top }, { x, bottom }}};
[all...]
H A DSkIntersectionHelper.h57 SkScalar bottom() const { function in class:SkIntersectionHelper
H A DSkIntersections.cpp191 int SkIntersections::verticalLine(const SkPoint a[2], SkScalar top, SkScalar bottom, argument
195 return vertical(line, top, bottom, x, flipped);
198 int SkIntersections::verticalQuad(const SkPoint a[3], SkScalar top, SkScalar bottom, argument
202 return vertical(quad, top, bottom, x, flipped);
205 int SkIntersections::verticalCubic(const SkPoint a[4], SkScalar top, SkScalar bottom, argument
209 return vertical(cubic, top, bottom, x, flipped);
H A DSkPathOpsLine.cpp158 double SkDLine::ExactPointV(const SkDPoint& xy, double top, double bottom, double x) { argument
163 if (xy.fY == bottom) {
170 double SkDLine::NearPointV(const SkDPoint& xy, double top, double bottom, double x) { argument
174 if (!AlmostBetweenUlps(top, xy.fY, bottom)) {
177 double t = (xy.fY - top) / (bottom - top);
180 double realPtY = (1 - t) * top + t * bottom;
184 double tiniest = SkTMin(SkTMin(x, top), bottom);
185 double largest = SkTMax(SkTMax(x, top), bottom);
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFUtils.cpp100 // Skia has 0,0 at top left, pdf at bottom left. Do the right thing.
101 SkScalar bottom = SkMinScalar(rect.fBottom, rect.fTop); local
105 SkPDFScalar::Append(bottom, content);
/external/chromium_org/third_party/skia/src/utils/
H A DSkCanvasStateUtils.cpp41 int32_t left, top, right, bottom; member in struct:ClipRect
270 state.clipRects[i].bottom),
/external/chromium_org/third_party/skia/src/views/
H A DSkTextBox.cpp147 void SkTextBox::setBox(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) argument
149 fBox.set(left, top, right, bottom);
/external/chromium_org/ui/gfx/
H A Drect_base_impl.h54 Inset(insets.left(), insets.top(), insets.right(), insets.bottom());
64 Inset(Type left, Type top, Type right, Type bottom) { argument
67 set_height(std::max(height() - top - bottom, static_cast<Type>(0)));
131 (point_y >= y()) && (point_y < bottom());
143 rect.y() >= y() && rect.bottom() <= bottom());
156 rect.y() >= bottom() || rect.bottom() <= y());
175 Type rb = std::min(bottom(), rect.bottom());
[all...]
/external/chromium_org/ui/message_center/views/
H A Dgroup_view.cc45 views::Border* MakeTextBorder(int padding, int top, int bottom) { argument
46 // Split the padding between the top and the bottom, then add the extra space.
49 (padding + 1) / 2 + bottom,
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_scroll_view_container.cc154 if (rect.bottom() > GetLocalBounds().bottom())
155 dy = rect.bottom() - GetLocalBounds().bottom();
160 // the bottom of the view.
298 int bottom = menu_config.menu_vertical_border_size + padding; local
306 gfx::Insets(top, left, bottom, right)));
308 set_border(Border::CreateEmptyBorder(top, left, bottom, right));
/external/chromium_org/ui/views/corewm/
H A Dimage_grid.cc104 const int bottom = min(base_bottom_row_height_, size_.height() - top); local
108 int center_height = std::max(size.height() - top - bottom, 0);
180 LayerExceedsSize(bottom_left_layer_.get(), gfx::Size(left, bottom)) ?
181 gfx::Rect(0, bottom_left_layer_->bounds().height() - bottom,
182 left, bottom) :
193 LayerExceedsSize(bottom_right_layer_.get(), gfx::Size(right, bottom)) ?
195 bottom_right_layer_->bounds().height() - bottom,
196 right, bottom) :
/external/compiler-rt/lib/asan/
H A Dasan_thread.cc166 uptr bottom = 0; local
168 bottom = stack_bottom();
170 bottom = fake_stack()->AddrIsInFakeStack(addr);
171 CHECK(bottom);
172 *offset = addr - bottom;
173 *frame_pc = ((uptr*)bottom)[2];
174 return (const char *)((uptr*)bottom)[1];
178 u8 *shadow_bottom = (u8*)MemToShadow(bottom);
/external/grub/lib/
H A Dgetopt.c314 int bottom = first_nonopt;
346 while (top > middle && middle > bottom)
348 if (top - middle > middle - bottom)
351 int len = middle - bottom;
357 tem = argv[bottom + i];
358 argv[bottom + i] = argv[top - (middle - bottom) + i];
359 argv[top - (middle - bottom) + i] = tem;
360 SWAP_FLAGS (bottom + i, top - (middle - bottom)
311 int bottom = first_nonopt; local
[all...]

Completed in 986 milliseconds

1234567891011>>