/external/skia/include/gpu/ |
H A D | GrRect.h | 21 int16_t fLeft, fTop, fRight, fBottom; member in struct:GrIRect16 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/ |
H A D | SkRect.h | 21 int32_t fLeft, fTop, fRight, fBottom; member in struct:SkIRect 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 [all...] |
H A D | 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/ |
H A D | 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 [all...] |
H A D | 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;
|
H A D | 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...] |
H A D | 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, pt [all...] |
H A D | 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;
|
H A D | 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); 1177 fRect.fRight [all...] |
/external/skia/include/views/ |
H A D | SkBorderView.h | 23 SkScalar getRight() const { return fRight; } 34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side member in class:SkBorderView
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | 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/ |
H A D | SkBoundable.cpp | 17 fBounds.fRight = 0; 33 rect->fRight = SkIntToScalar(fBounds.fRight);
|
H A D | SkDrawPoint.cpp | 42 rect->fLeft = rect->fRight = fPoint.fX;
|
H A D | 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/src/views/ |
H A D | SkBorderView.cpp | 16 fRight(SkIntToScalar(0)), 74 evt.findScalar("rightMargin", &fRight); 81 fMargin.set(fLeft, fTop, fRight, fBottom);
|
H A D | 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/ |
H A D | 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/ |
H A D | 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());
|
H A D | IFrameContentLayerAndroid.cpp | 36 out->fRight = m_scrollLimits.width();
|
/external/skia/src/utils/ |
H A D | 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);
|
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | SkANP.cpp | 47 dst->right = src.fRight; 55 dst->right = SkScalarToFloat(src.fRight);
|
/external/skia/tests/ |
H A D | RegionTest.cpp | 33 rect[i].fRight, rect[i].fBottom);
|