/external/skia/src/core/ |
SkRTree.cpp | 54 newBranch.fBounds = bounds; 69 fRoot.fBounds = this->computeBounds(fRoot.fChild.subtree); 78 fRoot.fBounds = this->computeBounds(fRoot.fChild.subtree); 93 fRoot.fBounds = fDeferredInserts[0].fBounds; 110 if (!this->isEmpty() && SkIRect::IntersectsNoEmptyCheck(fRoot.fBounds, query)) { 136 root->child(childIndex)->fBounds = this->computeBounds( 165 branch->fBounds = this->computeBounds(newSibling); 184 const SkIRect& subtreeBounds = root->child(i)->fBounds; 185 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); 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...] |
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()); 405 const int width = fBounds.width(); 441 fBounds.fLeft += leftZeros; 442 fBounds.fRight -= riteZeros; 443 SkASSERT(!fBounds.isEmpty()) [all...] |
SkQuadTree.h | 78 SkIRect fBounds; 92 SkIRect fBounds;
|
SkPathRef.cpp | 88 matrix.mapRect(&(*dst)->fBounds, src.fBounds); 89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { 90 (*dst)->fBounds.setEmpty(); 94 (*dst)->fBounds.setEmpty(); 140 !buffer->read(&ref->fBounds, sizeof(SkRect))) { 224 // Call getBounds() to ensure (as a side-effect) that fBounds 269 fBounds = ref.fBounds; 444 if (!fBoundsIsDirty && !fBounds.isEmpty()) [all...] |
SkScalerContext.cpp | 36 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight); 335 glyph->fLeft = mask.fBounds.fLeft; 336 glyph->fTop = mask.fBounds.fTop; 337 glyph->fWidth = SkToU16(mask.fBounds.width()); 338 glyph->fHeight = SkToU16(mask.fBounds.height()); 388 if (dst.fBounds.isEmpty() || !dst.fBounds.is16Bit()) { 392 glyph->fLeft = dst.fBounds.fLeft; 393 glyph->fTop = dst.fBounds.fTop; 394 glyph->fWidth = SkToU16(dst.fBounds.width()) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
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...] |
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()); 405 const int width = fBounds.width(); 441 fBounds.fLeft += leftZeros; 442 fBounds.fRight -= riteZeros; 443 SkASSERT(!fBounds.isEmpty()) [all...] |
SkQuadTree.h | 78 SkIRect fBounds; 92 SkIRect fBounds;
|
SkPathRef.cpp | 88 matrix.mapRect(&(*dst)->fBounds, src.fBounds); 89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { 90 (*dst)->fBounds.setEmpty(); 94 (*dst)->fBounds.setEmpty(); 140 !buffer->read(&ref->fBounds, sizeof(SkRect))) { 224 // Call getBounds() to ensure (as a side-effect) that fBounds 269 fBounds = ref.fBounds; 444 if (!fBoundsIsDirty && !fBounds.isEmpty()) [all...] |
SkScalerContext.cpp | 36 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight); 335 glyph->fLeft = mask.fBounds.fLeft; 336 glyph->fTop = mask.fBounds.fTop; 337 glyph->fWidth = SkToU16(mask.fBounds.width()); 338 glyph->fHeight = SkToU16(mask.fBounds.height()); 388 if (dst.fBounds.isEmpty() || !dst.fBounds.is16Bit()) { 392 glyph->fLeft = dst.fBounds.fLeft; 393 glyph->fTop = dst.fBounds.fTop; 394 glyph->fWidth = SkToU16(dst.fBounds.width()) [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkRegion.h | 86 const SkIRect& getBounds() const { return fBounds; } 197 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region 201 /* fBounds.contains(left, top, right, bottom); */ 202 fBounds.fLeft <= left && fBounds.fTop <= top && 203 fBounds.fRight >= right && fBounds.fBottom >= bottom; 213 !SkIRect::Intersects(fBounds, rect); 223 !SkIRect::Intersects(fBounds, rgn.fBounds); [all...] |
/external/skia/include/core/ |
SkRegion.h | 86 const SkIRect& getBounds() const { return fBounds; } 197 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region 201 /* fBounds.contains(left, top, right, bottom); */ 202 fBounds.fLeft <= left && fBounds.fTop <= top && 203 fBounds.fRight >= right && fBounds.fBottom >= bottom; 213 !SkIRect::Intersects(fBounds, rect); 223 !SkIRect::Intersects(fBounds, rgn.fBounds); [all...] |
/external/chromium_org/third_party/skia/include/text/ |
SkTextLayout.h | 52 SkRect fBounds;
|
/external/skia/include/text/ |
SkTextLayout.h | 52 SkRect fBounds;
|
/external/chromium_org/third_party/skia/samplecode/ |
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++) {
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrConvolutionEffect.h | 60 const float* bounds() const { return fBounds; } 90 float fBounds[2];
|
GrConvolutionEffect.cpp | 163 memcpy(fBounds, bounds, sizeof(fBounds)); 190 memcpy(fBounds, bounds, sizeof(fBounds)); 206 0 == memcmp(fBounds, s.fBounds, sizeof(fBounds)) &&
|
/external/chromium_org/third_party/skia/tests/ |
ParsePathTest.cpp | 32 const SkRect fBounds; 46 const SkRect& expectedBounds = gRec[i].fBounds;
|
/external/skia/samplecode/ |
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++) {
|
/external/skia/src/gpu/effects/ |
GrConvolutionEffect.h | 60 const float* bounds() const { return fBounds; } 90 float fBounds[2];
|
/external/skia/tests/ |
ParsePathTest.cpp | 32 const SkRect fBounds; 46 const SkRect& expectedBounds = gRec[i].fBounds;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTableMaskFilter.cpp | 33 dst->fBounds = src.fBounds; 34 dst->fRowBytes = SkAlign4(dst->fBounds.width()); 44 int dstWidth = dst->fBounds.width(); 47 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
|
SkLayerRasterizer.cpp | 100 bounds->join(mask.fBounds); 114 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds)) 120 mask->fRowBytes = mask->fBounds.width(); 136 rectClip.setRect(SkIRect::MakeWH(mask->fBounds.width(), mask->fBounds.height())); 139 translatedMatrix.postTranslate(-SkIntToScalar(mask->fBounds.fLeft), 140 -SkIntToScalar(mask->fBounds.fTop));
|
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 33 dst->fBounds = src.fBounds; 34 dst->fRowBytes = SkAlign4(dst->fBounds.width()); 44 int dstWidth = dst->fBounds.width(); 47 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
|