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

1 2 3 4 5

  /external/skia/include/core/
SkRect.h 28 int32_t fLeft, fTop, fRight, fBottom;
32 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
37 int width() const { return fRight - fLeft; }
53 return SkIsS16(fLeft) && SkIsS16(fTop) &&
62 fLeft = left;
72 fLeft += dx;
87 fLeft += dx;
99 return (unsigned)(x - fLeft) < (unsigned)(fRight - fLeft) &&
108 fLeft <= left && fTop <= top &
    [all...]
SkScan.h 87 xr->fLeft = SkIntToFixed(src.fLeft);
98 xr->fLeft = SkScalarToFixed(src.fLeft);
107 dst->fLeft = SkFixedRound(xr.fLeft);
117 dst->fLeft = SkFixedFloor(xr.fLeft);
SkMask.h 84 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
95 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
106 x - fBounds.fLeft + (y - fBounds.fTop) * rowWordsLCD();
  /external/skia/src/core/
SkRect.cpp 26 if (fLeft >= fRight || fTop >= fBottom)
30 if (left < fLeft) fLeft = left;
39 if (fLeft > fRight)
40 SkTSwap<int32_t>(fLeft, fRight);
49 if (fLeft > fRight)
50 SkTSwap<SkScalar>(fLeft, fRight);
59 quad[0].set(fLeft, fTop);
62 quad[3].set(fLeft, fBottom);
110 fLeft < right && left < fRight && fTop < bottom && top < fBottom
    [all...]
SkLineClipper.cpp 35 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop &&
52 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
53 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
89 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
95 if (tmp[index0].fX < clip.fLeft) {
96 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft));
161 if (tmp[index1].fX <= clip.fLeft) { // wholly to the left
162 tmp[0].fX = tmp[1].fX = clip.fLeft;
    [all...]
SkScan_AntiPath.cpp 50 int fWidth, fLeft, fSuperLeft;
62 const int left = SkMin32(ir.fLeft, clip.getBounds().fLeft);
65 fLeft = left;
108 fRealBlitter->blitAntiH(fLeft, fCurrIY, fRuns.fAlpha, fRuns.fRuns);
299 SkASSERT(ix >= fMask.fBounds.fLeft && ix < fMask.fBounds.fRight);
303 x -= (fMask.fBounds.fLeft << SHIFT);
372 if (overflows_short_shift(ir.fLeft, SHIFT) |
402 superRect.set( clipRect->fLeft << SHIFT, clipRect->fTop << SHIFT,
SkEdgeClipper.cpp 149 if (pts[2].fX <= clip.fLeft) { // wholly to the left
150 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse);
162 if (pts[0].fX < clip.fLeft) {
163 if (chopMonoQuadAtX(pts, clip.fLeft, &t)) {
165 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[2].fY, reverse);
166 clamp_ge(tmp[2].fX, clip.fLeft);
167 clamp_ge(tmp[3].fX, clip.fLeft);
173 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse);
343 if (pts[3].fX <= clip.fLeft) { // wholly to the left
344 this->appendVLine(clip.fLeft, pts[0].fY, pts[3].fY, reverse)
    [all...]
SkSpriteBlitter.h 50 int fLeft, fTop;
SkScan_Hairline.cpp 71 clipR.set(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop),
139 r.set(SkScalarToFixed(rect.fLeft) >> 16,
159 blitter->blitRect(r.fLeft, r.fTop, width, height);
163 blitter->blitH(r.fLeft, r.fTop, width); // top
164 blitter->blitRect(r.fLeft, r.fTop + 1, 1, height - 2); // left
166 blitter->blitH(r.fLeft, r.fBottom - 1, width); // bottom
332 outer.set( r.fLeft - radius, r.fTop - radius,
341 tmp.set(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + diameter);
347 tmp.set(outer.fLeft, outer.fTop + diameter, outer.fLeft + diameter, outer.fBottom - diameter)
    [all...]
SkRegion.cpp 97 bounds->fLeft = left;
181 return this->setRect(r.fLeft, r.fTop, r.fRight, r.fBottom);
297 // SkDEBUGF(("setRuns: rect[%d %d %d %d]\n", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom));
342 runs[2] = bounds.fLeft;
509 dst->setRect(fBounds.fLeft + dx, fBounds.fTop + dy,
576 int fLeft, fRite, fInside;
669 fLeft = left;
689 int left = rec.fLeft;
1071 int prevRite = bounds.fLeft - 1;
1091 SkASSERT(fBounds.fLeft == 0 && fBounds.fTop == 0 && fBounds.fRight == 0 && fBounds.fBottom == 0)
    [all...]
  /external/skia/src/animator/
SkBoundable.cpp 30 fBounds.fLeft = 0x7fff;
35 if (fBounds.fLeft == (int16_t)0x8000U) {
39 rect->fLeft = SkIntToScalar(fBounds.fLeft);
46 fBounds.fLeft = 0;
SkBoundable.h 30 bool hasBounds() { return fBounds.fLeft != (int16_t)0x8000U; }
33 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
SkDrawPoint.cpp 50 rect->fLeft = rect->fRight = fPoint.fX;
SkDrawRectangle.cpp 36 SK_MEMBER_ALIAS(left, fRect.fLeft, Float),
66 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
114 fRect.fRight = scalar + fRect.fLeft;
147 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
  /external/skia/include/views/
SkBorderView.h 29 SkScalar getLeft() const { return fLeft; }
41 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
  /external/webkit/WebCore/platform/graphics/skia/
FloatRectSkia.cpp 39 : m_location(r.fLeft, r.fTop)
IntRectSkia.cpp 52 : m_location(r.fLeft, r.fTop)
  /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/svg/
SkSVGSVG.cpp 53 box.fLeft = SkScalarDiv(viewBox[0], width);
57 if (box.fLeft == 0 && box.fTop == 0 &&
61 if (box.fLeft != 0) {
63 x.appendScalar(box.fLeft);
  /external/webkit/WebKit/android/nav/
SelectText.cpp 170 translate(SkIntToScalar(-area.fLeft), SkIntToScalar(-area.fTop));
400 , mFocusX(x - area.fLeft)
410 mBestBounds.offset(area.fLeft, area.fTop);
412 mBestBounds.fLeft, mBestBounds.fTop, mBestBounds.fRight,
424 int dx = rect.fLeft + rect.fRight - (mFocusX << 1);
433 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom());
436 mBestBounds.fLeft, mBestBounds.fTop,
494 int dx = mLeft ? mFocusX - rect.fRight : rect.fLeft - mFocusX;
496 if (mLeft ? mFocusX <= rect.fLeft : mFocusX >= rect.fRight) {
498 DBG_NAV_LOGD("EdgeCheck fLeft=%d fRight=%d mFocusX=%d dx=%d dy=%d"
    [all...]
CachedRoot.cpp 154 " mType=%s", rect.fLeft, rect.fTop, rect.fRight, rect.fBottom,
163 (mBounds.fLeft == rect.fLeft && mBounds.fRight == rect.fRight &&
166 mBounds.fLeft >= rect.fLeft && mBounds.fRight <= rect.fRight))) {
171 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom,
172 mAllDrawnIn.fLeft, mAllDrawnIn.fTop, mAllDrawnIn.fRight,
200 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom,
201 drawnOver.fLeft, drawnOver.fTop, drawnOver.fRight, drawnOver.fBottom,
365 mMostLeft = rect.fLeft;
    [all...]
  /external/skia/src/views/
SkBorderView.cpp 8 SkBorderView::SkBorderView() : fTop(SkIntToScalar(0)), fLeft(SkIntToScalar(0)),
64 evt.findScalar("leftMargin", &fLeft);
72 fMargin.set(fLeft, fTop, fRight, fBottom);
SkStackViewLayout.cpp 107 startM = fMargin.fLeft;
126 crossStartM = fMargin.fLeft;
127 crossLimit = -fMargin.fLeft - fMargin.fRight;
251 child->setLoc(fMargin.fLeft, fMargin.fTop);
252 child->setSize( parent->width() - fMargin.fRight - fMargin.fLeft,
  /external/skia/src/utils/
SkCullPoints.cpp 39 if (x0 < r.fLeft && x1 < r.fLeft ||
68 quad[0].set(r.fLeft, r.fTop);
71 quad[3].set(r.fLeft, r.fBottom);
SkNinePatch.cpp 60 SkScalar vx = bounds.fLeft;
233 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width()
239 dst.fLeft, dst.fLeft + SkIntToScalar(margins.fLeft),
255 s.fLeft = srcX[x];
257 d.fLeft = dstX[x];
277 xDivs[0] = margins.fLeft;

Completed in 409 milliseconds

1 2 3 4 5