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

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/pathops/
SkPathOpsBounds.h 18 && AlmostLessOrEqualUlps(a.fTop, b.fBottom)
19 && AlmostLessOrEqualUlps(b.fTop, a.fBottom);
27 if (top < fTop) fTop = top;
33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom);
38 if (pt.fY < fTop) fTop = SkDoubleToScalar(pt.fY);
46 && AlmostLessOrEqualUlps(fTop, pt.fY)
SkPathOpsRect.h 13 double fLeft, fTop, fRight, fBottom;
17 fTop = SkTMin(fTop, pt.fY);
24 && approximately_between(fTop, pt.fY, fBottom);
31 SkASSERT(fTop <= fBottom);
33 SkASSERT(r.fTop <= r.fBottom);
34 return r.fLeft <= fRight && fLeft <= r.fRight && r.fTop <= fBottom && fTop <= r.fBottom;
39 fTop = fBottom = pt.fY;
47 return fBottom - fTop;
    [all...]
SkPathOpsCurve.cpp 17 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
27 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
37 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
SkIntersectionHelper.h 83 return bounds().fTop;
99 return bounds().fTop;
  /external/skia/include/core/
SkRect.h 21 int32_t fLeft, fTop, fRight, fBottom;
60 int top() const { return fTop; }
67 int y() const { return fTop; }
78 int height() const { return fBottom - fTop; }
98 int centerY() const { return (fBottom + fTop) >> 1; }
103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
106 SK_MinS32 == fTop &&
119 return SkIsS16(fLeft) && SkIsS16(fTop) &&
129 fTop = top;
140 fTop = y
    [all...]
SkMask.h 63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
74 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
86 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
99 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
  /external/skia/src/gpu/
GrRect.h 15 int16_t fLeft, fTop, fRight, fBottom;
36 int height() const { return fBottom - fTop; }
38 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
44 fTop = top;
51 fTop = SkToS16(r.fTop);
GrSoftwarePathRenderer.cpp 92 if (devClipBounds.fTop < devPathBounds.fTop) {
93 rect.iset(devClipBounds.fLeft, devClipBounds.fTop,
94 devClipBounds.fRight, devPathBounds.fTop);
98 rect.iset(devClipBounds.fLeft, devPathBounds.fTop,
103 rect.iset(devPathBounds.fRight, devPathBounds.fTop,
GrTextureParamsAdjuster.cpp 88 domain.fTop = (subset->fTop + 0.5f)* sy;
108 localRect.fTop *= sy;
131 if (contentArea.fLeft > 0 || contentArea.fTop > 0 ||
273 domainRect->fTop = constraintRect.fTop + kDomainInset;
292 if (textureContentArea->fTop > 0 &&
293 textureContentArea->fTop + filterHalfWidth > constraintRect.fTop) {
294 domainRect->fTop = textureContentArea->fTop + kDomainInset
    [all...]
  /external/skia/src/gpu/batches/
GrCopySurfaceBatch.cpp 32 if (clippedSrcRect->fTop < 0) {
33 clippedDstPoint->fY -= clippedSrcRect->fTop;
34 clippedSrcRect->fTop = 0;
37 clippedSrcRect->fTop -= clippedDstPoint->fY;
54 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY;
  /external/skia/src/animator/
SkBoundable.cpp 16 fBounds.fTop = 0;
32 rect->fTop = SkIntToScalar(fBounds.fTop);
SkDrawPoint.cpp 43 rect->fTop = rect->fBottom = fPoint.fY;
SkDrawRectangle.cpp 31 SK_MEMBER_ALIAS(top, fRect.fTop, Float),
58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
100 fRect.fBottom = scalar + fRect.fTop;
139 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
  /external/skia/include/views/animated/
SkBorderView.h 24 SkScalar getTop() const { return fTop; }
34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
  /external/skia/src/core/
SkRect.cpp 18 if (fLeft >= fRight || fTop >= fBottom) {
22 if (top < fTop) fTop = top;
32 if (fTop > fBottom) {
33 SkTSwap<int32_t>(fTop, fBottom);
42 quad[0].set(fLeft, fTop);
43 quad[1].set(fRight, fTop);
114 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom);
120 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom);
124 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, b.fLeft, b.fTop, b.fRight, b.fBottom)
    [all...]
SkNinePatchIter.cpp 24 fSrcY[1] = SkIntToScalar(c.fTop);
33 fDstY[0] = dst.fTop;
34 fDstY[1] = dst.fTop + SkIntToScalar(c.fTop);
44 fDstY[1] = fDstY[0] + (fDstY[3] - fDstY[0]) * c.fTop / (h - c.height());
SkScan.h 90 xr->fTop = SkIntToFixed(src.fTop);
101 xr->fTop = SkScalarToFixed(src.fTop);
110 dst->fTop = SkFixedRoundToInt(xr.fTop);
120 dst->fTop = SkFixedFloorToInt(xr.fTop);
SkValidationUtils.h 36 (rect.fTop <= rect.fBottom) &&
SkLineClipper.cpp 73 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop &&
92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) ||
93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) {
111 if (tmp[index0].fY < clip.fTop) {
112 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
200 if (pts[index1].fY <= clip.fTop) { // we're above the clip
213 if (pts[index0].fY < clip.fTop) {
214 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop)
    [all...]
  /external/skia/bench/
RTreeBench.cpp 85 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS);
87 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2);
101 out.fTop = SkIntToScalar(index / GRID_WIDTH);
103 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
109 out.fTop = SkIntToScalar(index % GRID_WIDTH);
111 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
118 out.fTop = rand.nextRangeF(0, GENERATE_EXTENTS);
120 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/5);
  /external/skia/src/android/
SkBitmapRegionDecoderPriv.h 37 int top = SkTMax(0, subset->fTop);
41 *outY = top - subset->fTop;
  /frameworks/base/libs/hwui/utils/
NinePatchImpl.cpp 74 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) {
201 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop),
206 src.fTop = 0;
207 dst.fTop = bounds.fTop;
225 j <= numYDivs && src.fTop < bitmapHeight;
234 const int srcYSize = src.fBottom - src.fTop;
236 dst.fBottom = dst.fTop + calculateStretch(bounds.fBottom, dst.fTop,
242 dst.fBottom = dst.fTop + SkIntToScalar(srcYSize)
    [all...]
  /external/skia/src/svg/parser/
SkSVGSVG.cpp 48 if (box.fLeft == 0 && box.fTop == 0 &&
57 if (box.fTop != 0) {
59 y.appendScalar(box.fTop);
  /external/skia/src/views/animated/
SkBorderView.cpp 17 fTop(SkIntToScalar(0)),
75 evt.findScalar("topMargin", &fTop);
81 fMargin.set(fLeft, fTop, fRight, fBottom);
  /external/skia/samplecode/
SampleLayerMask.cpp 44 bounds.offset(-bounds.fLeft, -bounds.fTop);
48 canvas->drawBitmap(mask, r.fLeft, r.fTop, &paint);

Completed in 643 milliseconds

1 2 3 4 5 6 7 8 91011>>