/external/skia/src/animator/ |
H A D | 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 [all...] |
H A D | 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; member in class:SkBoundable
|
H A D | SkDisplayBounds.cpp | 30 fBounds.setEmpty(); 34 if (inval && fBounds.isEmpty() == false) { 38 rect = fBounds; 40 rect.join(fBounds);
|
/external/skia/src/gpu/ |
H A D | GrPLSGeometryProcessor.h | 24 return fBounds; 28 fBounds = bounds; 32 SkRect fBounds; member in class:GrPLSGeometryProcessor
|
H A D | GrPath.h | 24 , fBounds(SkRect::MakeEmpty()) 36 const SkRect& getBounds() const { return fBounds; } 45 SkRect fBounds; member in class:GrPath
|
H A D | GrGlyph.h | 38 GrIRect16 fBounds; member in struct:GrGlyph 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(); }
|
H A D | 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/ |
H A D | SkMask.h | 35 SkIRect fBounds; member in struct:SkMask 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 [all...] |
H A D | 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); 412 SkIRect fBounds; member in class:SkRegion [all...] |
H A D | SkTextBlob.h | 27 const SkRect& bounds() const { return fBounds; } 76 const SkRect fBounds; member in class:SkTextBlob 175 SkRect fBounds; member in class:SkTextBlobBuilder
|
/external/skia/src/core/ |
H A D | 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 [all...] |
H A D | 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);
|
H A D | 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 115 const SkIRect fBounds; member in struct:__anon17237::BitmapKey 239 SkIRect fBounds; member in struct:__anon17238::MipMapKey [all...] |
H A D | 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...] |
H A D | 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, quer [all...] |
H A D | 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 947 SkIRect fBounds; member in class:SkAAClip::Builder [all...] |
H A D | 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 [all...] |
/external/skia/tests/ |
H A D | 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; member in class:TestBlitter 47 mask.fBounds = b; 51 TestBlitter tb(mask.fBounds, reporte [all...] |
H A D | 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/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/external/skia/src/gpu/batches/ |
H A D | 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; member in class:GrBatch
|
H A D | GrClearBatch.h | 25 fBounds = SkRect::Make(rect); 50 fBounds = cb->fBounds; 81 fBounds = SkRect::Make(rect);
|
/external/skia/src/pathops/ |
H A D | 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 422 SkPathOpsBounds fBounds; member in class:SkOpContour [all...] |
/external/skia/samplecode/ |
H A D | SampleStrokePath.cpp | 55 src.fBounds.set(0, 0, x, y); 56 src.fRowBytes = src.fBounds.width(); 60 printf("src [%d %d %d %d] radius %g\n", src.fBounds.fLeft, src.fBounds.fTop, 61 src.fBounds.fRight, src.fBounds.fBottom, radius); 66 for (int y = 0; y < dst.fBounds.height(); y++) { 67 for (int x = 0; x < dst.fBounds.width(); x++) {
|