Searched defs:top (Results 276 - 300 of 743) sorted by relevance

<<11121314151617181920>>

/external/skia/experimental/Intersection/
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);
279 double overlapT = SkTMax(top, lineT);
288 intersections.fT[1][0] = (overlapT - top) / (bottom - top);
291 intersections.fT[1][1] = (overlapB - top) / (bottom - top);
296 double b0 = flipped ? bottom : top;
[all...]
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
239 if (quad[qIndex].y == top) {
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.cpp36 double top = line[0].y; local
38 flipped = top > bottom;
40 SkTSwap<double>(top, bottom);
42 result = verticalIntersect(quad, top, bottom, line[0].x, flipped, intersections);
H A DQuadraticUtilities.cpp49 _Point top(const Quadratic& quad, double startT, double endT) { function
/external/skia/gm/
H A Dpathfill.cpp179 const SkRect* clip, SkScalar top, const SkScalar bottom) {
183 r.fTop = top;
178 show(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, const SkRect* clip, SkScalar top, const SkScalar bottom) argument
/external/skia/include/core/
H A DSkRect.h60 int top() const { return fTop; } function in struct:SkIRect
66 /** return the top edge of the rect */
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
127 fTop = top;
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 an
233 contains(int32_t left, int32_t top, int32_t right, int32_t bottom) const argument
253 containsNoEmptyCheck(int32_t left, int32_t top, int32_t right, int32_t bottom) const argument
[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);
195 bool quickContains(int32_t left, int32_t top, int32_t right, argument
199 return left < right && top < bottom &&
201 /* fBounds.contains(left, top, right, bottom); */
202 fBounds.fLeft <= left && fBounds.fTop <= top &&
266 bool op(int left, int top, int right, int bottom, Op op) { argument
268 rect.set(left, top, right, bottom);
H A DSkTDArray.h287 const T& top() const { return (*this)[fCount - 1]; } function in class:SkTDArray
288 T& top() { return (*this)[fCount - 1]; } function in class:SkTDArray
/external/skia/src/animator/
H A DSkTDArray_Experimental.h127 const T& top() const { return (*this)[fCount - 1]; } function in class:SkTDS32Array
128 T& top() { return (*this)[fCount - 1]; } function in class:SkTDS32Array
/external/skia/src/core/
H A DSkEdge.cpp54 int top = SkFDot6Round(y0); local
58 if (top == bot) {
62 if (NULL != clip && (top >= clip->fBottom || bot <= clip->fTop)) {
67 const int dy = SkEdge_Compute_DY(top, y0);
71 fFirstY = top;
95 int top = SkFDot6Round(y0); local
98 // SkASSERT(top >= fFirstY);
101 if (top == bot)
108 const int dy = SkEdge_Compute_DY(top, y0);
112 fFirstY = top;
120 int top = fFirstY; local
192 int top = SkFDot6Round(y0); local
345 int top = SkFDot6Round(y0); local
[all...]
H A DSkSpriteBlitter_ARGB32.cpp94 virtual void setup(const SkBitmap& device, int left, int top, argument
96 this->INHERITED::setup(device, left, top, paint);
H A DSkSpriteBlitter_RGB16.cpp266 virtual void setup(const SkBitmap& device, int left, int top, argument
268 this->INHERITED::setup(device, left, top, paint);
/external/skia/src/gpu/
H A DGrTexture.cpp92 bool GrTexture::readPixels(int left, int top, int width, int height, argument
101 left, top, width, height,
106 void GrTexture::writePixels(int left, int top, int width, int height, argument
115 left, top, width, height,
/external/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, doubl argument
[all...]
H A DSkIntersectionHelper.h125 SkScalar top() 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
163 if (xy.fY == top) {
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/skia/src/utils/
H A DSkCanvasStateUtils.cpp40 int32_t left, top, right, bottom; member in struct:ClipRect
279 state.clipRects[i].top,
/external/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/webp/src/enc/
H A Dwebpenc.c59 uint8_t* const top = enc->preds_ - enc->preds_w_; local
62 top[i] = B_DC_PRED;
126 // top samples: 1263
150 const size_t samples_size = 2 * top_stride * sizeof(uint8_t) // top-luma/u/v
160 + samples_size // top/left samples
170 " top samples: %ld\n"
210 // top samples (all 16-aligned)
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DCSSMetadata.js169 'min-width', 'right', 'text-indent', 'top', 'width', 'word-spacing'
173 "background", "background-color", "background-image", "border", "border-color", "border-top", "border-right", "border-bottom",
174 "border-left", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "box-shadow", "color",
213 "margin-top-collapse": { values: [
245 "border-top-width": { values: [
402 "border-top-style": { values: [
450 "margin-top": { values: [
460 "top", "bottom"
488 "baseline", "middle", "sub", "super", "text-top", "text-bottom", "top", "botto
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwScrollOffsetManager.java337 public boolean pageUp(boolean top) { argument
341 if (top) {
342 // go to the top of the document
398 // of the screen, place it at the top.
399 scrollYDelta = rect.top - screenTop;
402 // top to be in the top third of the screen.
403 scrollYDelta = rect.top - (screenTop + oneThirdOfScreenHeight);
405 } else if (rect.top < screenTop) {
406 scrollYDelta = rect.top
[all...]
/external/chromium_org/ash/wm/
H A Dimmersive_fullscreen_controller_unittest.cc184 // Attempt to reveal the top-of-window views via |modality|.
185 // The top-of-window views can only be revealed via mouse hover or a gesture.
191 // Attempt to unreveal the top-of-window views via |modality|. The
192 // top-of-window views can be unrevealed via any modality.
199 // move it to the top of the screen so will not initiate a reveal.
211 // If the top edge timer started running as a result of the mouse move, run
213 // top-of-window views synchronously if the mouse is hovered at the top of
265 // top-of-window views getting hidden and revealed.
272 // Enabling initially hides the top view
758 int top = behind->GetBoundsInScreen().y(); local
[all...]
/external/chromium_org/cc/base/
H A Dtiling_data.cc284 int top = (!y_index || num_tiles_y_ == 1) ? 0 : border_texels_; local
286 return gfx::Vector2d(left, top);
518 // Determine around top, such that it is between -1 and num_tiles_y.
/external/chromium_org/cc/layers/
H A Dtiled_layer_impl.cc174 int left, top, right, bottom; local
175 tiler_->ContentRectToTileIndices(content_rect, &left, &top, &right, &bottom);
178 for (int j = top; j <= bottom; ++j) {
209 for (int j = top; j <= bottom; ++j) {
245 // Keep track of how the top left has moved, so the texture can be

Completed in 1758 milliseconds

<<11121314151617181920>>