/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; } 29 fLeft = SkToS16(r.fLeft);
|
/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)); 47 fLeft = glRect.fLeft + leftOffset; 52 GrAssert(fLeft >= 0); 59 return fLeft <= glRect.fLeft && 61 fLeft + fWidth >= glRect.fLeft + glRect.fWidth & [all...] |
/external/skia/include/core/ |
SkRect.h | 21 int32_t fLeft, fTop, fRight, fBottom; 53 int left() const { return fLeft; } 59 int x() const { return fLeft; } 66 int width() const { return fRight - fLeft; } 77 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 88 return SkIsS16(fLeft) && SkIsS16(fTop) && 97 fLeft = left; 108 fLeft = x; 118 fLeft = fTop = SK_MinS32; 123 * Make the largest representable rectangle, but inverted (e.g. fLeft wil [all...] |
SkScan.h | 102 xr->fLeft = SkIntToFixed(src.fLeft); 113 xr->fLeft = SkScalarToFixed(src.fLeft); 122 dst->fLeft = SkFixedRound(xr.fLeft); 132 dst->fLeft = SkFixedFloor(xr.fLeft);
|
SkMask.h | 62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; 73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; 86 return row + (x - fBounds.fLeft); 99 return row + (x - fBounds.fLeft);
|
/external/skia/src/core/ |
SkRect.cpp | 19 if (fLeft >= fRight || fTop >= fBottom) { 22 if (left < fLeft) fLeft = left; 30 if (fLeft > fRight) { 31 SkTSwap<int32_t>(fLeft, fRight); 41 if (fLeft > fRight) { 42 SkTSwap<SkScalar>(fLeft, fRight); 52 quad[0].set(fLeft, fTop); 55 quad[3].set(fLeft, fBottom); 117 fLeft < right && left < fRight && fTop < bottom && top < fBottom [all...] |
SkLineClipper.cpp | 64 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 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) && 124 if (tmp[index0].fX < clip.fLeft) { 125 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft)); 205 if (tmp[index1].fX <= clip.fLeft) { // wholly to the left 206 tmp[0].fX = tmp[1].fX = clip.fLeft; [all...] |
SkBlitter.cpp | 111 int cx = clip.fLeft; 113 int maskLeft = mask.fBounds.fLeft; 168 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip.fTop); 176 this->blitAntiH(clip.fLeft, y, aa, runs); 204 this->blitRect(cr.fLeft, cr.fTop, cr.width(), cr.height()); 214 this->blitRect(cr.fLeft, cr.fTop, cr.width(), cr.height()); 259 return (unsigned)(x - rect.fLeft) < (unsigned)rect.width(); 271 if (left < fClipRect.fLeft) { 272 left = fClipRect.fLeft; 293 if (x1 <= fClipRect.fLeft) { [all...] |
/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/views/ |
SkBorderView.h | 22 SkScalar getLeft() const { return fLeft; } 34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
FloatRectSkia.cpp | 39 : m_location(r.fLeft, r.fTop)
|
IntRectSkia.cpp | 52 : m_location(r.fLeft, r.fTop)
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
GLExtras.cpp | 55 if (srcRect.fRight <= srcRect.fLeft || srcRect.fBottom <= srcRect.fTop) { 59 ALOGV("drawQuad [%fx%f, %f, %f]", srcRect.fLeft, srcRect.fTop, 82 r.set(ir.fLeft, ir.fTop, ir.fRight, ir.fBottom); 105 line.fLeft = r.fLeft - borderWidth; 123 r.set(line.fLeft, line.fTop, line.fRight, line.fBottom); 126 startRect.set(line.fLeft, line.fTop, line.fRight, line.fBottom);
|
InspectorCanvas.cpp | 86 if (rect.fLeft == 0 98 rect.fLeft, rect.fTop, rect.width(), rect.height(),
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
ScrollableLayerAndroid.cpp | 32 out->setX(m_scrollLimits.fLeft); 40 out->fLeft = getScrollOffset().x(); 71 int x = m_scrollLimits.fLeft; 72 if (transformedRect.fLeft < m_scrollLimits.fLeft) 73 x = transformedRect.fLeft;
|
IFrameContentLayerAndroid.cpp | 33 out->fLeft = m_scrollLimits.fLeft - pos.fX + m_iframeScrollOffset.x();
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 80 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) { 206 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop), 232 src.fLeft = 0; 233 dst.fLeft = bounds.fLeft; 256 i <= numXDivs && src.fLeft < bitmapWidth; 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) [all...] |
/external/skia/src/views/ |
SkBorderView.cpp | 15 SkBorderView::SkBorderView() : fLeft(SkIntToScalar(0)), 73 evt.findScalar("leftMargin", &fLeft); 81 fMargin.set(fLeft, fTop, fRight, fBottom);
|
/external/skia/src/svg/ |
SkSVGSVG.cpp | 47 box.fLeft = SkScalarDiv(viewBox[0], width); 51 if (box.fLeft == 0 && box.fTop == 0 && 55 if (box.fLeft != 0) { 57 x.appendScalar(box.fLeft);
|
/external/skia/samplecode/ |
SampleLayerMask.cpp | 44 bounds.offset(-bounds.fLeft, -bounds.fTop); 48 canvas->drawBitmap(mask, r.fLeft, r.fTop, &paint);
|
/external/chromium/chrome/common/extensions/ |
extension_action.cc | 148 rect.fLeft = SkIntToScalar( 152 rect.fRight = rect.fLeft + SkIntToScalar(badge_width); 155 rect.fLeft = rect.fRight - badge_width; 174 canvas->AsCanvasSkia()->drawBitmap(*gradient_left, rect.fLeft, rect.fTop); 176 SkScalarFloor(rect.fLeft) + gradient_left->width(), 186 rect.fLeft += kPadding; 190 rect.fLeft + (rect.width() - text_width) / 2,
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 78 SkScalar vx = bounds.fLeft; 258 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width() 264 dst.fLeft, dst.fLeft + SkIntToScalar(margins.fLeft), 273 dstX[1] = dstX[0] + (dstX[3] - dstX[0]) * SkIntToScalar(margins.fLeft) / 274 (SkIntToScalar(margins.fLeft) + SkIntToScalar(margins.fRight)); 292 s.fLeft = srcX[x]; 294 d.fLeft = dstX[x]; 314 xDivs[0] = margins.fLeft; [all...] |