Home
last modified time | relevance | path

Searched refs:makeOffset (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/gpu/
DGrWindowRectangles.h22 GrWindowRectangles makeOffset(int dx, int dy) const;
80 inline GrWindowRectangles GrWindowRectangles::makeOffset(int dx, int dy) const { in makeOffset() function
94 windows[i] = this->data()[i].makeOffset(dx, dy); in makeOffset()
DGrReducedClip.cpp599 clip.setWindowRectangles(fWindowRects.makeOffset(-fIBounds.left(), -fIBounds.top()), in drawAlphaClipMask()
/external/skia/src/pdf/
DSkKeyedImage.cpp18 return {image->bounds().makeOffset(o.x(), o.y()), bm->getGenerationID()}; in SkBitmapKeyFromImage()
38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset()
DSkPDFDevice.cpp1710 SkRect r = l.rect.makeOffset(scalarX, scalarY); in drawDevice()
1714 SkRect r = l.rect.makeOffset(scalarX, scalarY); in drawDevice()
2529 this->cs().bounds(this->imageInfo().bounds()).roundOut().makeOffset(-x, -y); in drawSpecial()
/external/skia/include/core/
DSkRRect.h280 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function
281 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
DSkRect.h165 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() function
633 SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function
/external/skia/gm/
Dimagemasksubset.cpp82 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
Dshowmiplevels.cpp130 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
261 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
Dninepatchstretch.cpp103 canvas->drawImageNine(fImage.get(), fCenter, r.makeOffset(360, 0), &paint); in onDraw()
Dimagefilters.cpp124 SkRRect rr = SkRRect::MakeRectXY(r.makeOffset(dx, dy), 20, 20); in draw_set()
/external/skia/src/core/
DSkClipStackDevice.cpp59 SkIRect rect = clipRestriction->makeOffset(-origin.x(), -origin.y()); in onSetDeviceClipRestriction()
DSkTextBlob.cpp420 return bounds.makeOffset(run.offset().x(), run.offset().y()); in TightRunBounds()
444 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY)); in TightRunBounds()
451 return bounds.makeOffset(run.offset().x(), run.offset().y()); in TightRunBounds()
502 return bounds.makeOffset(run.offset().x(), run.offset().y()); in ConservativeRunBounds()
DSkBlurImageFilter.cpp184 return input->makeSubset(inputBounds.makeOffset(-inputOffset.x(), in onFilterImage()
232 return input->makeSubset(inputBounds.makeOffset(-inputOffset.x(), in onFilterImage()
DSkMiniRecorder.cpp44 return adjust_for_paint(op.blob->bounds().makeOffset(op.x, op.y), op.paint); in bounds()
DSkBitmapDevice.cpp418 const SkIRect clipBounds = fRCStack.rc().getBounds().makeOffset(-x, -y); in drawSpecial()
451 const SkIRect srcBounds = srcImage->bounds().makeOffset(x, y); in drawSpecial()
/external/skia/src/effects/
DSkOffsetImageFilter.cpp101 return src.makeOffset(SkScalarCeilToInt(vec.fX), SkScalarCeilToInt(vec.fY)); in onFilterNodeBounds()
DSkDropShadowImageFilter.cpp146 SkIRect dst = src.makeOffset(SkScalarCeilToInt(offsetVec.x()), in onFilterNodeBounds()
DSkArithmeticImageFilter.cpp445 outside.op(fgBounds.makeOffset(dx, dy), SkRegion::kDifference_Op); in drawForeground()
DSkDisplacementMapEffect.cpp270 const SkIRect colorBounds = bounds.makeOffset(-colorOffset.x(), -colorOffset.y()); in onFilterImage()
/external/skia/samplecode/
DSampleShip.cpp41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
DSampleAtlas.cpp36 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
DSamplePathClip.cpp38 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
/external/skia/src/image/
DSkImage.cpp285 if (!outSubset->intersect(clipBounds.makeOffset(-offset->x(), -offset->y()))) { in makeWithFilter()
DSkImage_Lazy.cpp633 const SkIRect generatorSubset = subset.makeOffset(fOrigin.x(), fOrigin.y()); in onMakeSubset()
/external/skia/src/gpu/ccpr/
DGrCCPRCoverageOpsBuilder.cpp232 clippedDevIBounds.makeOffset(atlasOffsetX, atlasOffsetY) in saveParsedPath()

12