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

1 2 3 4

  /external/skia/src/gpu/
GrPath.h 21 const GrRect& getBounds() const { return fBounds; }
24 GrRect fBounds;
  /external/skia/legacy/src/animator/
SkBoundable.cpp 16 fBounds.fTop = 0;
17 fBounds.fRight = 0;
18 fBounds.fBottom = 0;
22 fBounds.fLeft = 0x7fff;
27 if (fBounds.fLeft == (int16_t)0x8000U) {
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
32 rect->fTop = SkIntToScalar(fBounds.fTop);
33 rect->fRight = SkIntToScalar(fBounds.fRight);
34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
38 fBounds.fLeft = 0
    [all...]
SkBoundable.h 22 bool hasBounds() { return fBounds.fLeft != (int16_t)0x8000U; }
23 void setBounds(SkIRect& bounds) { fBounds = bounds; }
25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
26 SkIRect fBounds;
SkDisplayBounds.cpp 30 fBounds.setEmpty();
34 if (inval && fBounds.isEmpty() == false) {
38 rect = fBounds;
40 rect.join(fBounds);
  /external/skia/src/animator/
SkBoundable.cpp 16 fBounds.fTop = 0;
17 fBounds.fRight = 0;
18 fBounds.fBottom = 0;
22 fBounds.fLeft = 0x7fff;
27 if (fBounds.fLeft == (int16_t)0x8000U) {
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
32 rect->fTop = SkIntToScalar(fBounds.fTop);
33 rect->fRight = SkIntToScalar(fBounds.fRight);
34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
38 fBounds.fLeft = 0
    [all...]
SkBoundable.h 22 bool hasBounds() { return fBounds.fLeft != (int16_t)0x8000U; }
23 void setBounds(SkIRect& bounds) { fBounds = bounds; }
25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
26 SkIRect fBounds;
SkDisplayBounds.cpp 30 fBounds.setEmpty();
34 if (inval && fBounds.isEmpty() == false) {
38 rect = fBounds;
40 rect.join(fBounds);
  /external/skia/include/core/
SkMask.h 34 SkIRect fBounds;
40 bool isEmpty() const { return fBounds.isEmpty(); }
56 x,y are in the same coordiate space as fBounds.
60 SkASSERT(fBounds.contains(x, y));
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
67 x,y are in the same coordiate space as fBounds.
71 SkASSERT(fBounds.contains(x, y));
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes
    [all...]
SkRegion.h 86 const SkIRect& getBounds() const { return fBounds; }
187 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region
191 /* fBounds.contains(left, top, right, bottom); */
192 fBounds.fLeft <= left && fBounds.fTop <= top &&
193 fBounds.fRight >= right && fBounds.fBottom >= bottom;
203 !SkIRect::Intersects(fBounds, rect);
213 !SkIRect::Intersects(fBounds, rgn.fBounds);
    [all...]
  /external/skia/legacy/include/core/
SkMask.h 34 SkIRect fBounds;
40 bool isEmpty() const { return fBounds.isEmpty(); }
56 x,y are in the same coordiate space as fBounds.
60 SkASSERT(fBounds.contains(x, y));
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
67 x,y are in the same coordiate space as fBounds.
71 SkASSERT(fBounds.contains(x, y));
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes
    [all...]
  /external/skia/legacy/src/effects/
SkRectShape.cpp 18 fBounds.setEmpty();
23 fBounds = bounds;
28 fBounds = bounds;
33 fBounds.set(cx - radius, cy - radius, cx + radius, cy + radius);
45 fBounds = bounds;
55 canvas->drawOval(fBounds, paint);
57 canvas->drawRect(fBounds, paint);
59 canvas->drawRoundRect(fBounds, fRadii.fWidth, fRadii.fHeight, paint);
70 buffer.writeRect(fBounds);
75 buffer.read(&fBounds, sizeof(fBounds))
    [all...]
SkKernel33MaskFilter.cpp 19 dst->fBounds = src.fBounds;
20 dst->fBounds.inset(-1, -1);
27 dst->fRowBytes = dst->fBounds.width();
34 const int h = src.fBounds.height();
35 const int w = src.fBounds.width();
  /external/skia/src/effects/
SkStippleMaskFilter.cpp 20 dst->fBounds = src.fBounds;
21 dst->fRowBytes = dst->fBounds.width();
36 for (int y = 0; y < src.fBounds.height(); ++y) {
37 for (int x = 0; x < src.fBounds.width(); ++x) {
SkKernel33MaskFilter.cpp 20 dst->fBounds = src.fBounds;
21 dst->fBounds.inset(-1, -1);
28 dst->fRowBytes = dst->fBounds.width();
35 const int h = src.fBounds.height();
36 const int w = src.fBounds.width();
SkBlurMaskFilter.cpp 112 rects[0].roundOut(&mask->fBounds);
113 mask->fRowBytes = SkAlign4(mask->fBounds.width());
124 mask->fBounds.width(), mask->fBounds.height(),
129 canvas.translate(-SkIntToScalar(mask->fBounds.left()),
130 -SkIntToScalar(mask->fBounds.top()));
176 rects[0].roundOut(&srcM.fBounds);
196 * with our outer-rect (dstM.fBounds)
202 int smallW = dstM.fBounds.width() - srcM.fBounds.width() + 2
    [all...]
SkTableMaskFilter.cpp 31 dst->fBounds = src.fBounds;
32 dst->fRowBytes = SkAlign4(dst->fBounds.width());
42 int dstWidth = dst->fBounds.width();
45 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
  /external/skia/src/core/
SkMaskFilter.cpp 25 SkASSERT(src.fBounds.contains(dst->fBounds));
27 const int dx = dst->fBounds.left() - src.fBounds.left();
28 const int dy = dst->fBounds.top() - src.fBounds.top();
51 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
52 for (int x = mask.fBounds.left(); x < mask.fBounds.right(); ++x)
    [all...]
SkRTree.h 102 SkIRect fBounds;
125 return lhs.fBounds.*fSide < rhs.fBounds.*fSide;
133 return ((lhs.fBounds.fRight - lhs.fBounds.fLeft) >> 1) <
134 ((rhs.fBounds.fRight - lhs.fBounds.fLeft) >> 1);
140 return ((lhs.fBounds.fBottom - lhs.fBounds.fTop) >> 1) <
141 ((rhs.fBounds.fBottom - lhs.fBounds.fTop) >> 1)
    [all...]
SkMask.cpp 25 return safeMul32(fBounds.height(), fRowBytes);
69 SkASSERT(fBounds.contains(x, y));
73 addr += (y - fBounds.fTop) * fRowBytes;
74 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat);
SkRTree.cpp 56 newBranch.fBounds = bounds;
71 fRoot.fBounds = this->computeBounds(fRoot.fChild.subtree);
80 fRoot.fBounds = this->computeBounds(fRoot.fChild.subtree);
95 fRoot.fBounds = fDeferredInserts[0].fBounds;
112 if (!this->isEmpty() && SkIRect::IntersectsNoEmptyCheck(fRoot.fBounds, query)) {
138 root->child(childIndex)->fBounds = this->computeBounds(
167 branch->fBounds = this->computeBounds(newSibling);
186 const SkIRect& subtreeBounds = root->child(i)->fBounds;
187 int32_t areaIncrease = get_area_increase(subtreeBounds, branch->fBounds);
    [all...]
SkRegion.cpp 73 fBounds.set(0, 0, 0, 0);
123 SkTSwap<SkIRect>(fBounds, other.fBounds);
129 fBounds.set(0, 0, 0, 0);
140 fBounds.set(left, top, right, bottom);
153 fBounds = src.fBounds;
219 *itop = fBounds.fTop;
220 *ibot = fBounds.fBottom;
274 if (SkRegion::RunsAreARect(runs, count, &fBounds)) {
    [all...]
  /external/skia/include/gpu/
GrGlyph.h 31 GrIRect16 fBounds;
38 fBounds.set(bounds);
49 int width() const { return fBounds.width(); }
50 int height() const { return fBounds.height(); }
51 bool isEmpty() const { return fBounds.isEmpty(); }
  /external/skia/legacy/src/core/
SkMaskFilter.cpp 42 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds);
44 if (!clipper.done() && (bounder == NULL || bounder->doIRect(dstM.fBounds))) {
63 src.roundOut(&srcM.fBounds);
69 dst->set(dstM.fBounds);
71 dst->set(srcM.fBounds);
SkMask.cpp 25 return safeMul32(fBounds.height(), fRowBytes);
69 SkASSERT(fBounds.contains(x, y));
73 addr += (y - fBounds.fTop) * fRowBytes;
74 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat);
SkRegion.cpp 77 fBounds.set(0, 0, 0, 0);
117 SkTSwap<SkIRect>(fBounds, other.fBounds);
123 fBounds.set(0, 0, 0, 0);
134 fBounds.set(left, top, right, bottom);
147 fBounds = src.fBounds;
228 *itop = fBounds.fTop;
229 *ibot = fBounds.fBottom;
280 if (ComputeRunBounds(runs, count, &fBounds))
    [all...]

Completed in 679 milliseconds

1 2 3 4