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

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/gpu/gl/
GrGLIRect.h 21 GrGLint fLeft;
27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight));
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
48 fLeft = glRect.fLeft + leftOffset;
57 SkASSERT(fLeft >= 0);
64 return fLeft <= glRect.fLeft &&
66 fLeft + fWidth >= glRect.fLeft + glRect.fWidth &
    [all...]
  /external/skia/src/pathops/
SkPathOpsBounds.h 16 return AlmostLessOrEqualUlps(a.fLeft, b.fRight)
17 && AlmostLessOrEqualUlps(b.fLeft, a.fRight)
26 if (left < fLeft) fLeft = left;
33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom);
37 if (pt.fX < fLeft) fLeft = SkDoubleToScalar(pt.fX);
44 return AlmostLessOrEqualUlps(fLeft, pt.fX)
SkPathOpsRect.h 13 double fLeft, fTop, fRight, fBottom;
16 fLeft = SkTMin(fLeft, 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 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),
  /external/skia/src/animator/
SkBoundable.cpp 22 fBounds.fLeft = 0x7fff;
27 if (fBounds.fLeft == (int16_t)0x8000U) {
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
38 fBounds.fLeft = 0;
SkBoundable.h 22 bool hasBounds() { return fBounds.fLeft != (int16_t)0x8000U; }
25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
SkDrawPoint.cpp 42 rect->fLeft = rect->fRight = fPoint.fX;
SkDrawRectangle.cpp 28 SK_MEMBER_ALIAS(left, fRect.fLeft, 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/core/
SkRect.h 21 int32_t fLeft, fTop, fRight, fBottom;
59 int left() const { return fLeft; }
65 int x() const { return fLeft; }
72 int width() const { return fRight - fLeft; }
89 int centerX() const { return (fRight + fLeft) >> 1; }
103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
105 bool isLargest() const { return SK_MinS32 == fLeft &&
119 return SkIsS16(fLeft) && SkIsS16(fTop) &&
128 fLeft = left;
139 fLeft = x
    [all...]
SkMask.h 63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
74 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
87 return row + (x - fBounds.fLeft);
100 return row + (x - fBounds.fLeft);
  /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; }
43 fLeft = left;
50 fLeft = SkToS16(r.fLeft);
GrSoftwarePathRenderer.cpp 93 rect.iset(devClipBounds.fLeft, devClipBounds.fTop,
97 if (devClipBounds.fLeft < devPathBounds.fLeft) {
98 rect.iset(devClipBounds.fLeft, devPathBounds.fTop,
99 devPathBounds.fLeft, devPathBounds.fBottom);
108 rect.iset(devClipBounds.fLeft, devPathBounds.fBottom,
  /external/skia/src/gpu/batches/
GrCopySurfaceBatch.cpp 22 if (clippedSrcRect->fLeft < 0) {
23 clippedDstPoint->fX -= clippedSrcRect->fLeft;
24 clippedSrcRect->fLeft = 0;
27 clippedSrcRect->fLeft -= clippedDstPoint->fX;
46 clippedSrcRect->fRight = clippedSrcRect->fLeft + dst->width() - clippedDstPoint->fX;
  /external/skia/include/views/animated/
SkBorderView.h 22 SkScalar getLeft() const { return fLeft; }
34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
  /external/skia/src/core/
SkRect.cpp 18 if (fLeft >= fRight || fTop >= fBottom) {
21 if (left < fLeft) fLeft = left;
29 if (fLeft > fRight) {
30 SkTSwap<int32_t>(fLeft, fRight);
42 quad[0].set(fLeft, fTop);
45 quad[3].set(fLeft, 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...]
SkNinePatchIter.cpp 19 fSrcX[1] = SkIntToScalar(c.fLeft);
28 fDstX[0] = dst.fLeft;
29 fDstX[1] = dst.fLeft + SkIntToScalar(c.fLeft);
39 fDstX[1] = fDstX[0] + (fDstX[3] - fDstX[0]) * c.fLeft / (w - c.width());
SkScan.h 89 xr->fLeft = SkIntToFixed(src.fLeft);
100 xr->fLeft = SkScalarToFixed(src.fLeft);
109 dst->fLeft = SkFixedRoundToInt(xr.fLeft);
119 dst->fLeft = SkFixedFloorToInt(xr.fLeft);
SkLineClipper.cpp 73 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop &&
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) &&
133 if (tmp[index0].fX < clip.fLeft) {
134 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft));
240 if (tmp[index1].fX <= clip.fLeft) { // wholly to the left
241 tmp[0].fX = tmp[1].fX = clip.fLeft;
    [all...]
SkValidationUtils.h 35 return (rect.fLeft <= rect.fRight) &&
  /frameworks/base/libs/hwui/utils/
NinePatchImpl.cpp 74 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) {
201 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop),
227 src.fLeft = 0;
228 dst.fLeft = bounds.fLeft;
252 i <= numXDivs && src.fLeft < bitmapWidth;
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)
    [all...]
  /external/skia/bench/
RTreeBench.cpp 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS);
86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2);
100 out.fLeft = SkIntToScalar(index % GRID_WIDTH);
102 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
108 out.fLeft = SkIntToScalar(index / GRID_WIDTH);
110 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3);
117 out.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS);
119 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/5);
  /external/skia/src/android/
SkBitmapRegionDecoderPriv.h 36 int left = SkTMax(0, subset->fLeft);
40 *outX = left - subset->fLeft;
  /external/skia/src/svg/parser/
SkSVGSVG.cpp 48 if (box.fLeft == 0 && box.fTop == 0 &&
52 if (box.fLeft != 0) {
54 x.appendScalar(box.fLeft);
  /external/skia/src/views/animated/
SkBorderView.cpp 15 SkBorderView::SkBorderView() : fLeft(SkIntToScalar(0)),
73 evt.findScalar("leftMargin", &fLeft);
81 fMargin.set(fLeft, fTop, fRight, fBottom);
  /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++) {

Completed in 358 milliseconds

1 2 3 4 5 6 7 8 91011>>