Home
last modified time | relevance | path

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

/third_party/flutter/flutter/packages/flutter/test/material/
Dpopup_menu_test.dart306 final Rect newRect = tester.getRect(find.byWidgetPredicate(popupMenu));
307 expect(newRect.top, rect.top);
309 expect(newRect.bottom, rect.bottom);
311 if (newRect.bottom == rect.bottom) {
314 expect(newRect.bottom, greaterThan(rect.bottom));
319 expect(newRect.right, rect.right);
321 expect(newRect.left, rect.left);
323 if (newRect.left == rect.left) {
326 expect(newRect.left, lessThan(rect.left));
331 expect(newRect.left, rect.left);
[all …]
/third_party/flutter/skia/src/gpu/effects/generated/
DGrAARectEffect.cpp72 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeInset(.5f, .5f) : rect; in onSetData() local
73 if (newRect != prevRect) { in onSetData()
74 pdman.set4f(rectUniform, newRect.fLeft, newRect.fTop, newRect.fRight, newRect.fBottom); in onSetData()
75 prevRect = newRect; in onSetData()
/third_party/flutter/skia/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;
/third_party/cef/tests/cefclient/browser/
Dwindow_test_runner_mac.mm58 NSRect newRect;
59 newRect.origin.x = window_rect.x;
60 newRect.origin.y = frame.size.height - window_rect.height - window_rect.y;
61 newRect.size.width = window_rect.width;
62 newRect.size.height = window_rect.height;
63 [window setFrame:newRect display:YES];
/third_party/flutter/skia/src/core/
DSkRRect.cpp396 SkRect newRect; in transform() local
397 if (!matrix.mapRect(&newRect, fRect)) { in transform()
405 if (!newRect.isFinite() || newRect.isEmpty()) { in transform()
410 dst->fRect = newRect; in transform()
422 dst->fRadii[i].fX = SkScalarHalf(newRect.width()); in transform()
423 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()
/third_party/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.cpp796 const SkRect newRect = SkRect::MakeXYWH(SkIntToScalar(devBlurRadius), in ComputeBlurredRRectParams() local
806 rrectToDraw->setRectRadii(newRect, newRadii); in ComputeBlurredRRectParams()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dsingle_child_scroll_view.dart632 final Rect newRect = RenderViewportBase.showInViewport(
641 rect: newRect,
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dviewport.dart925 final Rect newRect = RenderViewportBase.showInViewport(
934 rect: newRect,