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

1 2 3 4 5 6

  /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/src/gpu/
GrPLSGeometryProcessor.h 24 return fBounds;
28 fBounds = bounds;
32 SkRect fBounds;
GrPath.h 24 , fBounds(SkRect::MakeEmpty())
36 const SkRect& getBounds() const { return fBounds; }
45 SkRect fBounds;
GrGlyph.h 38 GrIRect16 fBounds;
46 fBounds.set(bounds);
59 int width() const { return fBounds.width(); }
60 int height() const { return fBounds.height(); }
61 bool isEmpty() const { return fBounds.isEmpty(); }
GrAuditTrail.cpp 121 json.appendf("\"Left\": %f,", fBounds.fLeft);
122 json.appendf("\"Right\": %f,", fBounds.fRight);
123 json.appendf("\"Top\": %f,", fBounds.fTop);
124 json.appendf("\"Bottom\": %f", fBounds.fBottom);
  /external/skia/include/core/
SkMask.h 35 SkIRect fBounds;
41 bool isEmpty() const { return fBounds.isEmpty(); }
57 x,y are in the same coordiate space as fBounds.
61 SkASSERT(fBounds.contains(x, y));
63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
68 x,y are in the same coordiate space as fBounds.
72 SkASSERT(fBounds.contains(x, y));
74 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes
    [all...]
SkRegion.h 85 const SkIRect& getBounds() const { return fBounds; }
196 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region
200 /* fBounds.contains(left, top, right, bottom); */
201 fBounds.fLeft <= left && fBounds.fTop <= top &&
202 fBounds.fRight >= right && fBounds.fBottom >= bottom;
212 !SkIRect::Intersects(fBounds, rect);
222 !SkIRect::Intersects(fBounds, rgn.fBounds);
    [all...]
SkTextBlob.h 27 const SkRect& bounds() const { return fBounds; }
76 const SkRect fBounds;
175 SkRect fBounds;
  /external/skia/src/core/
SkMaskFilter.cpp 43 SkASSERT(src.fBounds.contains(dst->fBounds));
45 const int dx = dst->fBounds.left() - src.fBounds.left();
46 const int dy = dst->fBounds.top() - src.fBounds.top();
69 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
70 for (int x = mask.fBounds.left(); x < mask.fBounds.right(); ++x)
    [all...]
SkMask.cpp 24 return safeMul32(fBounds.height(), fRowBytes);
79 SkASSERT(fBounds.contains(x, y));
83 addr += (y - fBounds.fTop) * fRowBytes;
84 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat);
SkBitmapCache.cpp 61 desc.fBounds = get_bounds_from_bitmap(bm);
74 desc.fBounds = get_bounds_from_image(image);
91 , fBounds(bounds)
94 sizeof(fGenID) + sizeof(fWidth) + sizeof(fHeight) + sizeof(fBounds));
101 , fBounds(desc.fBounds)
104 sizeof(fGenID) + sizeof(fWidth) + sizeof(fHeight) + sizeof(fBounds));
109 fBounds.x(), fBounds.y(), fBounds.width(), fBounds.height())
    [all...]
SkRegion.cpp 73 fBounds.set(0, 0, 0, 0);
123 SkTSwap<SkIRect>(fBounds, other.fBounds);
138 fBounds.set(0, 0, 0, 0);
149 fBounds.set(left, top, right, bottom);
162 fBounds = src.fBounds;
223 *itop = fBounds.fTop;
224 *ibot = fBounds.fBottom;
278 if (SkRegion::RunsAreARect(runs, count, &fBounds)) {
    [all...]
SkRTree.cpp 14 return fRoot.fBounds;
33 b->fBounds = bounds;
45 fRoot.fBounds = branches[0].fBounds;
147 b.fBounds = (*branches)[currentBranch].fBounds;
151 b.fBounds.join((*branches)[currentBranch].fBounds);
165 if (fCount > 0 && SkRect::Intersects(fRoot.fBounds, query)) {
172 if (SkRect::Intersects(node->fChildren[i].fBounds, query))
    [all...]
SkAAClip.cpp 138 fTop = fBottom = clip.fBounds.fBottom;
151 fTop = clip.fBounds.fTop;
152 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1;
192 SkASSERT(fBounds.isEmpty());
202 const int lastY = fBounds.height() - 1;
214 size_t rowLength = compute_row_length(row, fBounds.width());
248 const int width = fBounds.width();
250 int y = fBounds.fTop;
445 const int width = fBounds.width();
481 fBounds.fLeft += leftZeros
    [all...]
SkTextToPathIter.h 85 for (int i = 0; i < (int) SK_ARRAY_COUNT(fBounds); ++i) {
90 fBounds[i] = bound / fScale;
98 SkScalar fBounds[2];
SkPathRef.cpp 103 matrix.mapRect(&(*dst)->fBounds, src.fBounds);
104 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) {
105 (*dst)->fBounds.setEmpty();
109 (*dst)->fBounds.setEmpty();
164 !buffer->read(&ref->fBounds, sizeof(SkRect))) {
250 // Call getBounds() to ensure (as a side-effect) that fBounds
293 fBounds = ref.fBounds;
617 if (!fBoundsIsDirty && !fBounds.isEmpty())
    [all...]
  /external/skia/tests/
BlitMaskClip.cpp 16 : fBounds(bounds)
21 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight);
22 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom);
24 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight);
28 SkIRect fBounds;
47 mask.fBounds = b;
51 TestBlitter tb(mask.fBounds, reporter)
    [all...]
MaskCacheTest.cpp 48 mask.fBounds.setXYWH(0, 0, 100, 100);
61 REPORTER_ASSERT(reporter, mask.fBounds.top() == 0 && mask.fBounds.bottom() == 100);
86 mask.fBounds.setXYWH(0, 0, 100, 100);
99 REPORTER_ASSERT(reporter, mask.fBounds.top() == 0 && mask.fBounds.bottom() == 100);
  /external/dng_sdk/source/
dng_simple_image.cpp 90 fBounds.t = 0;
91 fBounds.l = 0;
93 fBounds.b = r.H ();
94 fBounds.r = r.W ();
98 fBuffer.fArea = fBounds;
107 int32 originH = fBounds.l;
108 int32 originV = fBounds.t;
113 uint32 width = fBounds.W ();
114 uint32 height = fBounds.H ();
142 width = fBounds.H ()
    [all...]
dng_image.cpp 94 : fBounds (bounds)
198 return fBounds;
502 dng_rect overlap = buffer.fArea & fBounds;
531 areaT.b = Min_int32 (areaT.b, fBounds.t);
532 areaL.r = Min_int32 (areaL.r, fBounds.l);
533 areaB.t = Max_int32 (areaB.t, fBounds.b);
534 areaR.l = Max_int32 (areaR.l, fBounds.r);
539 areaH.l = Max_int32 (areaH.l, fBounds.l);
540 areaH.r = Min_int32 (areaH.r, fBounds.r);
542 areaV.t = Max_int32 (areaV.t, fBounds.t)
    [all...]
  /external/skia/src/gpu/batches/
GrBatch.h 71 const SkRect& bounds() const { return fBounds; }
123 void setBounds(const SkRect& newBounds) { fBounds = newBounds; }
126 return fBounds.joinPossiblyEmptyRect(otherBounds);
131 SkRect fBounds;
GrClearBatch.h 25 fBounds = SkRect::Make(rect);
50 fBounds = cb->fBounds;
81 fBounds = SkRect::Make(rect);
  /external/skia/src/pathops/
SkOpContour.h 32 return fBounds.fTop == rh.fBounds.fTop
33 ? fBounds.fLeft < rh.fBounds.fLeft
34 : fBounds.fTop < rh.fBounds.fTop;
95 return fBounds;
330 SkDEBUGCODE(fBounds.set(SK_ScalarMax, SK_ScalarMax, SK_ScalarMin, SK_ScalarMin));
350 fBounds = segment->bounds();
352 fBounds.add(segment->bounds())
    [all...]

Completed in 387 milliseconds

1 2 3 4 5 6