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

1 2 3 4 5

  /external/skia/include/gpu/
GrRect.h 21 int16_t fLeft, fTop, fRight, fBottom;
23 int width() const { return fRight - fLeft; }
26 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
31 fRight = SkToS16(r.fRight);
  /external/skia/include/core/
SkRect.h 21 int32_t fLeft, fTop, fRight, fBottom;
55 int right() const { return fRight; }
66 int width() const { return fRight - fLeft; }
77 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
89 SkIsS16(fRight) && SkIsS16(fBottom);
99 fRight = right;
110 fRight = x + width;
119 fRight = fBottom = SK_MaxS32;
128 fRight = fBottom = SK_MinS32;
137 fRight += dx
    [all...]
SkScan.h 104 xr->fRight = SkIntToFixed(src.fRight);
115 xr->fRight = SkScalarToFixed(src.fRight);
124 dst->fRight = SkFixedRound(xr.fRight);
134 dst->fRight = SkFixedCeil(xr.fRight);
  /external/skia/src/core/
SkRect.cpp 19 if (fLeft >= fRight || fTop >= fBottom) {
24 if (right > fRight) fRight = right;
30 if (fLeft > fRight) {
31 SkTSwap<int32_t>(fLeft, fRight);
41 if (fLeft > fRight) {
42 SkTSwap<SkScalar>(fLeft, fRight);
53 quad[1].set(fRight, fTop);
54 quad[2].set(fRight, fBottom);
117 fLeft < right && left < fRight && fTop < bottom && top < fBottom
    [all...]
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 65 outer.fRight >= inner.fRight && outer.fBottom >= inner.fBottom;
81 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
82 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
118 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
127 if (tmp[index1].fX > clip.fRight) {
128 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight));
209 } else if (tmp[index0].fX >= clip.fRight) { // wholly to the right
210 tmp[0].fX = tmp[1].fX = clip.fRight;
    [all...]
SkEdgeClipper.cpp 146 if (pts[0].fX >= clip.fRight) { // wholly to the right
147 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse);
172 if (pts[2].fX > clip.fRight) {
173 if (chopMonoQuadAtX(pts, clip.fRight, &t)) {
175 clamp_le(tmp[1].fX, clip.fRight);
176 clamp_le(tmp[2].fX, clip.fRight);
178 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse);
182 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse);
343 if (pts[0].fX >= clip.fRight) { // wholly to the right
344 this->appendVLine(clip.fRight, pts[0].fY, pts[3].fY, reverse)
    [all...]
SkScan_Hairline.cpp 64 SkIntToFDot6(bounds.fRight), SkIntToFDot6(bounds.fBottom));
71 ptsR.fRight += SK_FDot6One;
131 (SkScalarToFixed(rect.fRight) >> 16) + 1,
162 blitter->blitRect(r.fRight - 1, r.fTop + 1, 1, height - 2); // right
340 r.fRight + rx, r.fBottom + ry);
347 tmp.set(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + dy);
355 tmp.fLeft = outer.fRight - dx;
356 tmp.fRight = outer.fRight;
SkRegion.cpp 69 bounds->fRight = rite;
140 return this->setRect(r.fLeft, r.fTop, r.fRight, r.fBottom);
189 count += sprintf(result+count, "(%d,%d,%d,%d)", r.fLeft, r.fTop, r.fRight, r.fBottom);
282 // SkDEBUGF(("setRuns: rect[%d %d %d %d]\n", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom));
328 runs[3] = bounds.fRight;
495 fBounds.fRight + dx, fBounds.fBottom + dy);
1068 SkASSERT(rite <= bounds.fRight);
1082 SkASSERT(fBounds.fLeft == 0 && fBounds.fTop == 0 && fBounds.fRight == 0 && fBounds.fBottom == 0);
1119 SkDebugf(" rgn: [%d %d %d %d]", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom);
    [all...]
  /external/skia/include/views/
SkBorderView.h 23 SkScalar getRight() const { return fRight; }
34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
GLExtras.cpp 55 if (srcRect.fRight <= srcRect.fLeft || srcRect.fBottom <= srcRect.fTop) {
82 r.set(ir.fLeft, ir.fTop, ir.fRight, ir.fBottom);
106 line.fRight = r.fRight + borderWidth;
123 r.set(line.fLeft, line.fTop, line.fRight, line.fBottom);
126 startRect.set(line.fLeft, line.fTop, line.fRight, line.fBottom);
  /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),
  /frameworks/base/core/jni/android/graphics/
NinePatchImpl.cpp 260 src.fRight = bitmapWidth;
261 dst.fRight = bounds.fRight;
263 src.fRight = chunk.xDivs[i];
265 dst.fRight = dstRights[i];
267 const int srcXSize = src.fRight - src.fLeft;
269 dst.fRight = dst.fLeft + calculateStretch(bounds.fRight, dst.fLeft,
275 dst.fRight = dst.fLeft + SkIntToScalar(srcXSize);
278 dstRights[i] = dst.fRight;
    [all...]
  /external/skia/src/views/
SkBorderView.cpp 16 fRight(SkIntToScalar(0)),
74 evt.findScalar("rightMargin", &fRight);
81 fMargin.set(fLeft, fTop, fRight, fBottom);
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/src/svg/
SkSVGSVG.cpp 49 box.fRight = SkScalarDiv(viewBox[2], width);
52 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
65 if (box.fRight != SK_Scalar1) {
67 x.appendScalar(box.fRight);
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
ScrollableLayerAndroid.cpp 43 out->fRight = m_scrollLimits.width();
74 else if (transformedRect.fRight > m_scrollLimits.fRight)
75 x = transformedRect.fRight - std::max(m_scrollLimits.width(), transformedRect.width());
  /external/skia/src/utils/
SkCullPoints.cpp 30 (x0 > r.fRight && x1 > r.fRight) ||
59 quad[1].set(r.fRight, r.fTop);
60 quad[2].set(r.fRight, r.fBottom);
SkNinePatch.cpp 92 verts->set(bounds.fRight, vy); verts++;
258 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width()
265 dst.fRight - SkIntToScalar(margins.fRight), dst.fRight
274 (SkIntToScalar(margins.fLeft) + SkIntToScalar(margins.fRight));
293 s.fRight = srcX[x+1];
295 d.fRight = dstX[x+1];
315 xDivs[1] = bitmap.width() - margins.fRight;
321 (margins.fLeft + margins.fRight);
    [all...]
  /external/chromium/chrome/common/extensions/
extension_action.cc 152 rect.fRight = rect.fLeft + SkIntToScalar(badge_width);
154 rect.fRight = SkIntToScalar(bounds.right());
155 rect.fLeft = rect.fRight - badge_width;
182 rect.fRight - SkIntToScalar(gradient_right->width()), rect.fTop);
187 rect.fRight -= kPadding;
  /external/skia/samplecode/
SampleAnimator.cpp 118 dom.findScalar(node, "width", &r.fRight); r.fRight += r.fLeft;
121 r.fLeft, r.fTop, r.fRight, r.fBottom);
  /external/webkit/Source/WebKit/android/plugins/
SkANP.cpp 47 dst->right = src.fRight;
55 dst->right = SkScalarToFloat(src.fRight);
  /external/skia/tests/
RegionTest.cpp 33 rect[i].fRight, rect[i].fBottom);

Completed in 350 milliseconds

1 2 3 4 5