Searched defs:bottom (Results 126 - 150 of 413) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatQuad.cpp88 float bottom = max4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); local
90 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/libvpx/source/libvpx/test/
H A Dvpx_scale_test.cc108 uint8_t *bottom = left + (crop_height * stride); local
110 vpx_memcpy(bottom, left + (crop_height - 1) * stride, extend_width);
111 bottom += stride;
/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/experimental/Intersection/
H A DLineCubicIntersection.cpp151 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
152 addVerticalEndPoints(top, bottom, axisIntercept);
159 double lineT = (pt.y - top) / (bottom - top);
198 void addVerticalEndPoints(double top, double bottom, double x) argument
207 if (cubic[cIndex].y == bottom) {
282 int verticalIntersect(const Cubic& cubic, double top, double bottom, double x, argument
285 return c.verticalIntersect(x, top, bottom, flipped);
H A DLineIntersection.cpp257 int verticalIntersect(const _Line& line, double top, double bottom, argument
266 if (yIntercept > bottom || yIntercept < top) {
269 intersections.fT[1][0] = (yIntercept - top) / (bottom - top);
280 double overlapB = SkTMin(bottom, lineB);
288 intersections.fT[1][0] = (overlapT - top) / (bottom - top);
291 intersections.fT[1][1] = (overlapB - top) / (bottom - top);
296 double b0 = flipped ? bottom : top;
297 double b1 = flipped ? top : bottom;
H A DLineQuadraticIntersection.cpp185 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
186 addVerticalEndPoints(top, bottom, axisIntercept);
193 double lineT = (pt.y - top) / (bottom - top);
233 void addVerticalEndPoints(double top, double bottom, double x) argument
242 if (quad[qIndex].y == bottom) {
355 int verticalIntersect(const Quadratic& quad, double top, double bottom, double x, argument
358 return q.verticalIntersect(x, top, bottom, flipped);
H A DLineQuadraticIntersection_Test.cpp37 double bottom = line[1].y; local
38 flipped = top > bottom;
40 SkTSwap<double>(top, bottom);
42 result = verticalIntersect(quad, top, bottom, line[0].x, flipped, intersections);
/external/chromium_org/third_party/skia/gm/
H A Dpathfill.cpp179 const SkRect* clip, SkScalar top, const SkScalar bottom) {
184 r.fBottom = bottom;
178 show(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, const SkRect* clip, SkScalar top, const SkScalar bottom) argument
/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);
175 and adding dy to its top and bottom.
200 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;
266 bool op(int left, int top, int right, int bottom, Op op) { argument
268 rect.set(left, top, right, bottom);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleHairline.cpp70 int bottom = bm.height() - i - 1; local
71 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) {
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDQuadLineIntersection.cpp201 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
202 addExactVerticalEndPoints(top, bottom, axisIntercept);
204 addNearVerticalEndPoints(top, bottom, axisIntercept);
211 double lineT = (pt.fY - top) / (bottom - top);
276 void addExactVerticalEndPoints(double top, double bottom, double x) { argument
278 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
287 void addNearVerticalEndPoints(double top, double bottom, double x) { argument
293 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
361 int SkIntersections::vertical(const SkDQuad& quad, double top, double bottom, double x, argument
363 SkDLine line = {{{ x, top }, { x, bottom }}};
[all...]
H A DSkIntersectionHelper.h62 SkScalar bottom() const { function in class:SkIntersectionHelper
H A DSkIntersections.cpp188 int SkIntersections::verticalLine(const SkPoint a[2], SkScalar top, SkScalar bottom, argument
192 return vertical(line, top, bottom, x, flipped);
195 int SkIntersections::verticalQuad(const SkPoint a[3], SkScalar top, SkScalar bottom, argument
199 return vertical(quad, top, bottom, x, flipped);
202 int SkIntersections::verticalCubic(const SkPoint a[4], SkScalar top, SkScalar bottom, argument
206 return vertical(cubic, top, bottom, x, flipped);
H A DSkPathOpsLine.cpp161 double SkDLine::ExactPointV(const SkDPoint& xy, double top, double bottom, double x) { argument
166 if (xy.fY == bottom) {
173 double SkDLine::NearPointV(const SkDPoint& xy, double top, double bottom, double x) { argument
177 if (!AlmostBetweenUlps(top, xy.fY, bottom)) {
180 double t = (xy.fY - top) / (bottom - top);
183 double realPtY = (1 - t) * top + t * bottom;
187 double tiniest = SkTMin(SkTMin(x, top), bottom);
188 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.cpp45 int32_t left, top, right, bottom; member in struct:ClipRect
286 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/third_party/webrtc/modules/video_render/android/
H A Dvideo_render_android_impl.cc89 const float bottom) {
104 right, bottom, *this);
137 float& bottom) const {
296 const float /*bottom*/) {
314 const float bottom) {
327 const float rigth, const float bottom) {
338 const float bottom) {
85 AddIncomingRenderStream(const uint32_t streamId, const uint32_t zOrder, const float left, const float top, const float right, const float bottom) argument
308 ConfigureRenderer( const uint32_t streamId, const unsigned int zOrder, const float left, const float top, const float right, const float bottom) argument
320 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 rigth, const float bottom) argument
333 SetBitmap(const void* bitMap, const uint8_t pictureId, const void* colorKey, const float left, const float top, const float right, const float bottom) argument
H A Dvideo_render_android_native_opengl2.cc219 const float bottom,
226 if (stream && stream->Init(zOrder, left, top, right, bottom) == 0)
287 const float bottom)
376 if (_openGLRenderer.SetCoordinates(zOrder, left, top, right, bottom) != 0) {
213 CreateAndroidRenderChannel( int32_t streamId, int32_t zOrder, const float left, const float top, const float right, const float bottom, VideoRenderAndroid& renderer) argument
283 Init(int32_t zOrder, const float left, const float top, const float right, const float bottom) argument
H A Dvideo_render_opengles20.cc180 const float bottom) {
182 (bottom > 1 || bottom < 0) || (left > 1 || left < 0)) {
196 _vertices[1] = -1 * (2 * bottom) + 1;
201 _vertices[6] = -1 * (2 * bottom) + 1;
176 SetCoordinates(int32_t zOrder, const float left, const float top, const float right, const float bottom) argument
/external/chromium_org/third_party/webrtc/modules/video_render/external/
H A Dvideo_render_external_impl.cc54 const float bottom)
73 float& bottom) const
81 bottom = 0;
145 const float bottom)
157 const float bottom)
179 const float bottom)
191 const float bottom)
49 AddIncomingRenderStream(const uint32_t streamId, const uint32_t zOrder, const float left, const float top, const float right, const float bottom) argument
140 SetStreamCropping( const uint32_t streamId, const float left, const float top, const float right, const float bottom) argument
151 ConfigureRenderer( const uint32_t streamId, const unsigned int zOrder, 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
185 SetBitmap(const void* bitMap, const uint8_t pictureId, const void* colorKey, const float left, const float top, const float right, const float bottom) argument

Completed in 384 milliseconds

1234567891011>>