Home
last modified time | relevance | path

Searched refs:setRectToRect (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp116 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
123 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
131 if (!srcToDstMatrix.setRectToRect(srcBounds, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
DSkGpuDevice.cpp1298 if (!srcToDstMatrix.setRectToRect(*src, *dst, SkMatrix::kFill_ScaleToFit)) { in drawBitmapRect()
/external/skia/samplecode/
DSampleCamera.cpp40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in CameraView()
DSampleHT.cpp35 m.setRectToRect(r, gUnitSquare, SkMatrix::kFill_ScaleToFit); in oval_contains()
DSampleStrokePath.cpp38 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
DSampleApp.cpp1263 if (matrix.setRectToRect(scalarSrc, dest, SkMatrix::kFill_ScaleToFit)) { in showZoomer()
/external/skia/gm/
Dlightingshader.cpp94 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
Dpictureimagegenerator.cpp47 m.setRectToRect(skiaBox, viewBox, SkMatrix::kFill_ScaleToFit); in draw_vector_logo()
Ddashing.cpp131 matrix.setRectToRect(path->getBounds(), bounds, SkMatrix::kCenter_ScaleToFit); in make_path_star()
/external/skia/src/views/animated/
DSkImageView.cpp160 matrix.setRectToRect(src, dst, scaleTypeToScaleToFit(this->getScaleType())); in onDraw()
/external/skia/src/animator/
DSkMatrixParts.cpp180 temp.setRectToRect(source->fRect, destination->fRect, in add()
/external/skia/tests/
DMatrixTest.cpp119 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
124 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
129 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
136 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
/external/skia/include/core/
DSkMatrix.h372 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf);
375 m.setRectToRect(src, dst, stf); in MakeRectToRect()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java136 scaleMatrix.setRectToRect(tempSrc, tempDst, scaleType); in scaleCursors()
/external/skia/resources/
Dslides.lua309 matrix:setRectToRect(make_rect(0, 0, 640, 480), make_rect(0, 0, width, height), "center")
/external/skia/src/core/
DSkBitmapDevice.cpp268 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); in drawBitmapRect()
DSkPictureShader.cpp219 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader()
DSkMatrix.cpp579 bool SkMatrix::setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit align) { in setRectToRect() function in SkMatrix
/external/skia/src/gpu/batches/
DGrAAFillRectBatch.cpp369 if (!localMatrix.setRectToRect(rect, localRect, SkMatrix::kFill_ScaleToFit)) { in CreateWithLocalRect()
/external/skia/src/svg/
DSkSVGDevice.cpp722 adjustedMatrix.setRectToRect(srcOrNull ? *srcOrNull : SkRect::Make(bm.bounds()), in drawBitmapRect()
/external/skia/src/utils/
DSkLua.cpp1447 matrix->setRectToRect(srcR, dstR, scaleToFit); in lmatrix_setRectToRect()
/external/skia/src/pdf/
DSkPDFDevice.cpp1158 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); in drawImageRect()