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

1 2 3 4 5 6 7 8 9

  /external/skia/src/pathops/
SkPathOpsBounds.h 16 return AlmostLessOrEqualUlps(a.fLeft, b.fRight)
17 && AlmostLessOrEqualUlps(b.fLeft, a.fRight)
28 if (right > fRight) fRight = right;
33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom);
39 if (pt.fX > fRight) fRight = SkDoubleToScalar(pt.fX);
45 && AlmostLessOrEqualUlps(pt.fX, fRight)
SkPathOpsRect.h 13 double fLeft, fTop, fRight, fBottom;
18 fRight = SkTMax(fRight, pt.fX);
23 return approximately_between(fLeft, pt.fX, fRight)
30 SkASSERT(fLeft <= fRight);
32 SkASSERT(r.fLeft <= r.fRight);
34 return r.fLeft <= fRight && fLeft <= r.fRight && r.fTop <= fBottom && fTop <= r.fBottom;
38 fLeft = fRight = pt.fX;
43 return fRight - fLeft
    [all...]
SkPathOpsCurve.cpp 18 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom));
28 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom));
38 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom));
  /external/skia/src/gpu/
GrRect.h 15 int16_t fLeft, fTop, fRight, fBottom;
35 int width() const { return fRight - fLeft; }
38 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
45 fRight = right;
52 fRight = SkToS16(r.fRight);
GrSoftwarePathRenderer.cpp 94 devClipBounds.fRight, devPathBounds.fTop);
102 if (devClipBounds.fRight > devPathBounds.fRight) {
103 rect.iset(devPathBounds.fRight, devPathBounds.fTop,
104 devClipBounds.fRight, devPathBounds.fBottom);
109 devClipBounds.fRight, devClipBounds.fBottom);
GrTextureParamsAdjuster.cpp 89 domain.fRight = (subset->fRight - 0.5f) * sx;
109 localRect.fRight *= sx;
132 contentArea.fRight < original->width() || contentArea.fBottom < original->height()) {
175 outOffset->set(contentArea->fLeft, contentArea->fRight);
274 domainRect->fRight = constraintRect.fRight - kDomainInset;
297 if (textureContentArea->fRight < texW &&
298 textureContentArea->fRight - filterHalfWidth < constraintRect.fRight) {
    [all...]
  /external/skia/include/core/
SkRect.h 21 int32_t fLeft, fTop, fRight, fBottom;
61 int right() const { return fRight; }
72 int width() const { return fRight - fLeft; }
89 int centerX() const { return (fRight + fLeft) >> 1; }
103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
107 SK_MaxS32 == fRight &&
120 SkIsS16(fRight) && SkIsS16(fBottom);
130 fRight = right;
141 fRight = x + width;
150 fRight = fBottom = SK_MaxS32
    [all...]
  /external/skia/src/animator/
SkBoundable.cpp 17 fBounds.fRight = 0;
33 rect->fRight = SkIntToScalar(fBounds.fRight);
SkDrawPoint.cpp 42 rect->fLeft = rect->fRight = fPoint.fX;
SkDrawRectangle.cpp 30 SK_MEMBER_ALIAS(right, fRect.fRight, Float),
58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
106 fRect.fRight = scalar + fRect.fLeft;
139 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
  /external/skia/include/views/animated/
SkBorderView.h 23 SkScalar getRight() const { return fRight; }
34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
  /external/skia/src/core/
SkRect.cpp 18 if (fLeft >= fRight || fTop >= fBottom) {
23 if (right > fRight) fRight = right;
29 if (fLeft > fRight) {
30 SkTSwap<int32_t>(fLeft, fRight);
43 quad[1].set(fRight, fTop);
44 quad[2].set(fRight, fBottom);
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...]
SkScan.h 91 xr->fRight = SkIntToFixed(src.fRight);
102 xr->fRight = SkScalarToFixed(src.fRight);
111 dst->fRight = SkFixedRoundToInt(xr.fRight);
121 dst->fRight = SkFixedCeilToInt(xr.fRight);
SkNinePatchIter.cpp 20 fSrcX[2] = SkIntToScalar(c.fRight);
30 fDstX[2] = dst.fRight - SkIntToScalar(w - c.fRight);
31 fDstX[3] = dst.fRight;
SkBlitBWMaskTemplate.h 28 SkASSERT(clip.fRight <= srcMask.fBounds.fRight);
44 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight)
61 int rite_edge = clip.fRight - maskLeft;
SkLineClipper.cpp 74 outer.fRight >= inner.fRight && outer.fBottom >= inner.fBottom;
90 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
91 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
127 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
136 if (tmp[index1].fX > clip.fRight) {
137 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight));
244 } else if (tmp[index0].fX >= clip.fRight) { // wholly to the right
248 tmp[0].fX = tmp[1].fX = clip.fRight;
    [all...]
SkValidationUtils.h 35 return (rect.fLeft <= rect.fRight) &&
  /external/skia/tests/
BlitMaskClip.cpp 21 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight);
24 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight);
55 for (int left = b.fLeft; left < b.fRight; left++) {
56 for (int right = left + 1; right <= b.fRight; right++) {
  /external/skia/src/gpu/batches/
GrCopySurfaceBatch.cpp 42 if (clippedSrcRect->fRight > src->width()) {
43 clippedSrcRect->fRight = src->width();
46 clippedSrcRect->fRight = clippedSrcRect->fLeft + dst->width() - clippedDstPoint->fX;
  /frameworks/base/libs/hwui/utils/
NinePatchImpl.cpp 256 src.fRight = bitmapWidth;
257 dst.fRight = bounds.fRight;
259 src.fRight = xDivs[i];
261 dst.fRight = dstRights[i];
263 const int srcXSize = src.fRight - src.fLeft;
265 dst.fRight = dst.fLeft + calculateStretch(bounds.fRight, dst.fLeft,
271 dst.fRight = dst.fLeft + SkIntToScalar(srcXSize);
274 dstRights[i] = dst.fRight;
    [all...]
  /external/skia/src/svg/parser/
SkSVGSVG.cpp 49 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
62 if (box.fRight != SK_Scalar1) {
64 x.appendScalar(box.fRight);
  /external/skia/src/views/animated/
SkBorderView.cpp 16 fRight(SkIntToScalar(0)),
74 evt.findScalar("rightMargin", &fRight);
81 fMargin.set(fLeft, fTop, fRight, fBottom);
  /external/skia/src/views/
SkProgressView.cpp 92 r.fRight = r.fLeft + SkScalarMul(r.width(), SkFixedToScalar(percent));
101 r.fLeft = r.fRight;
102 r.fRight = this->width() - SK_Scalar1;
  /external/skia/bench/
RTreeBench.cpp 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2);
102 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
110 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
119 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/5);
  /external/skia/platform_tools/android/apps/canvasproof/src/main/jni/
org_skia_canvasproof_GaneshPictureRenderer.cpp 109 jfieldID fLeft, fTop, fRight, fBottom;
111 : fLeft(nullptr), fTop(nullptr), fRight(nullptr), fBottom(nullptr) {}
118 fRight = env->GetFieldID(rectClass, "right", "I");
144 env->SetIntField(androidGraphicsRect, help.fRight, (jint)(iRect.right()));

Completed in 532 milliseconds

1 2 3 4 5 6 7 8 9