Home
last modified time | relevance | path

Searched refs:newRect (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DBindingsVersioningTest.java35 private static Rect newRect(int factor) { in newRect() method in BindingsVersioningTest
47 struct.fRect = newRect(5); in newStruct()
76 v1.fRect = newRect(5); in testOldToNew()
79 expected.fRect = newRect(5); in testOldToNew()
90 v3.fRect = newRect(5); in testOldToNew()
94 expected.fRect = newRect(5); in testOldToNew()
106 v5.fRect = newRect(5); in testOldToNew()
111 expected.fRect = newRect(5); in testOldToNew()
125 v7.fRect = newRect(5); in testOldToNew()
134 expected.fRect = newRect(5); in testOldToNew()
[all …]
/external/skqp/src/gpu/effects/
DGrAARectEffect.fp44 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ?
46 if (newRect != prevRect) {
47 pdman.set4f(rectUniform, newRect.fLeft, newRect.fTop, newRect.fRight, newRect.fBottom);
48 prevRect = newRect;
DGrAARectEffect.cpp71 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeInset(.5f, .5f) : rect; in onSetData() local
72 if (newRect != prevRect) { in onSetData()
73 pdman.set4f(rectUniform, newRect.fLeft, newRect.fTop, newRect.fRight, newRect.fBottom); in onSetData()
74 prevRect = newRect; in onSetData()
/external/skia/src/gpu/effects/
DGrAARectEffect.fp46 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ?
48 if (newRect != prevRect) {
49 pdman.set4f(rectUniform, newRect.fLeft, newRect.fTop, newRect.fRight, newRect.fBottom);
50 prevRect = newRect;
/external/skia/src/gpu/effects/generated/
DGrAARectEffect.cpp82 const SkRect& newRect = in onSetData() local
84 if (newRect != prevRect) { in onSetData()
85 pdman.set4f(rectUniform, newRect.fLeft, newRect.fTop, newRect.fRight, newRect.fBottom); in onSetData()
86 prevRect = newRect; in onSetData()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java265 final RectF newRect = new RectF(0, 0, toOrient.getWidth(), toOrient.getHeight()); in rotateImageExif() local
266 matrix.mapRect(newRect); in rotateImageExif()
268 final int newWidth = Math.round(newRect.width()); in rotateImageExif()
269 final int newHeight = Math.round(newRect.height()); in rotateImageExif()
276 matrix.postTranslate(-newRect.left, -newRect.top); in rotateImageExif()
/external/skqp/src/core/
DSkRRect.cpp398 SkRect newRect; in transform() local
399 if (!matrix.mapRect(&newRect, fRect)) { in transform()
407 if (!newRect.isFinite() || newRect.isEmpty()) { in transform()
412 dst->fRect = newRect; in transform()
424 dst->fRadii[i].fX = SkScalarHalf(newRect.width()); in transform()
425 dst->fRadii[i].fY = SkScalarHalf(newRect.height()); in transform()
DSkBlurMF.cpp246 const SkRect newRect = SkRect::MakeXYWH(SkIntToScalar(devBlurRadius), in SkComputeBlurredRRectParams() local
256 rrectToDraw->setRectRadii(newRect, newRadii); in SkComputeBlurredRRectParams()
/external/skia/src/core/
DSkRRect.cpp440 SkRect newRect; in transform() local
441 if (!matrix.mapRect(&newRect, fRect)) { in transform()
449 if (!newRect.isFinite() || newRect.isEmpty()) { in transform()
454 dst->fRect = newRect; in transform()
466 dst->fRadii[i].fX = SkScalarHalf(newRect.width()); in transform()
467 dst->fRadii[i].fY = SkScalarHalf(newRect.height()); in transform()
DSkGpuBlurUtils.cpp779 const SkRect newRect = SkRect::MakeXYWH(SkIntToScalar(devBlurRadius), in ComputeBlurredRRectParams() local
789 rrectToDraw->setRectRadii(newRect, newRadii); in ComputeBlurredRRectParams()
/external/pdfium/fpdfsdk/
Dfpdf_annot.cpp711 CFX_FloatRect newRect = CFXFloatRectFromFSRectF(*rect); in FPDFAnnot_SetRect() local
714 pAnnotDict->SetRectFor(pdfium::annotation::kRect, newRect); in FPDFAnnot_SetRect()
726 if (pStream && newRect.Contains(pStream->GetDict()->GetRectFor("BBox"))) in FPDFAnnot_SetRect()
727 pStream->GetDict()->SetRectFor("BBox", newRect); in FPDFAnnot_SetRect()