Home
last modified time | relevance | path

Searched refs:topLeft (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/flutter/flutter/packages/flutter/test/material/
Drange_slider_test.dart54 final Offset topLeft = tester.getTopLeft(find.byType(RangeSlider)).translate(24, 0);
58 final Offset leftTarget = topLeft + (bottomRight - topLeft) * 0.1;
65 final Offset rightTarget = topLeft + (bottomRight - topLeft) * 0.9;
109 final Offset topLeft = tester.getTopLeft(find.byType(RangeSlider)).translate(24, 0);
113 final Offset leftTarget = topLeft + (bottomRight - topLeft) * 0.1;
120 final Offset rightTarget = topLeft + (bottomRight - topLeft) * 0.9;
167 final Offset topLeft = tester.getTopLeft(find.byType(RangeSlider)).translate(24, 0);
171 final Offset leftTarget = topLeft + (bottomRight - topLeft) * 0.1;
179 final Offset rightTarget = topLeft + (bottomRight - topLeft) * 0.9;
227 final Offset topLeft = tester.getTopLeft(find.byType(RangeSlider)).translate(24, 0);
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dborder_radius_test.dart15 expect(borderRadius.topLeft, const Radius.elliptical(5.0, 7.0));
23 expect(borderRadius.topLeft, const Radius.elliptical(3.0, 3.0));
34 expect(borderRadius.topLeft, radius1);
40 topLeft: radius1,
48 expect(borderRadius.topLeft, radius1);
54 topLeft: radius1,
62 expect(borderRadius.topLeft, Radius.zero);
70 expect(borderRadius.topLeft, Radius.zero);
76 topLeft: Radius.zero,
83 …const BorderRadius.only(topLeft: Radius.elliptical(1.0, 2.0)).subtract(const BorderRadius.only(top…
[all …]
Dalignment_test.dart28 const Alignment a = Alignment.topLeft;
41 const Alignment topLeft = Alignment.topLeft;
47 expect(topStart.add(topLeft), topLeft.add(topStart));
48 …expect((topStart.add(topLeft)).resolve(TextDirection.ltr), (topStart.resolve(TextDirection.ltr)) +…
49 …expect((topStart.add(topLeft)).resolve(TextDirection.rtl), (topStart.resolve(TextDirection.rtl)) +…
50 …expect((topStart.add(topLeft)).resolve(TextDirection.ltr), (topStart.resolve(TextDirection.ltr)).a…
51 …expect((topStart.add(topLeft)).resolve(TextDirection.rtl), (topStart.resolve(TextDirection.rtl)).a…
52 expect(topStart.resolve(TextDirection.ltr), topLeft);
55 expect(topLeft * 0.0, center);
58 expect(topLeft * 1.0, topLeft);
[all …]
Dgradient_test.dart35 begin: Alignment.topLeft,
44 end: Alignment.topLeft,
65 begin: Alignment.topLeft,
78 end: Alignment.topLeft,
180 begin: Alignment.topLeft,
188 …'LinearGradient(topLeft, bottomLeft, [Color(0x33333333), Color(0x66666666)], null, TileMode.clamp)…
224 begin: Alignment.topLeft,
264 center: Alignment.topLeft,
274 center: Alignment.topLeft,
307 center: Alignment.topLeft,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/windows/win32/
DWin32Window.cpp263 POINT topLeft; in WndProc() local
264 topLeft.x = winRect.left; in WndProc()
265 topLeft.y = winRect.top; in WndProc()
266 ClientToScreen(hWnd, &topLeft); in WndProc()
270 event.Move.X = topLeft.x; in WndProc()
271 event.Move.Y = topLeft.y; in WndProc()
282 POINT topLeft; in WndProc() local
283 topLeft.x = winRect.left; in WndProc()
284 topLeft.y = winRect.top; in WndProc()
285 ClientToScreen(hWnd, &topLeft); in WndProc()
[all …]
/third_party/skia/third_party/externals/angle2/util/windows/win32/
DWin32Window.cpp264 POINT topLeft; in WndProc() local
265 topLeft.x = winRect.left; in WndProc()
266 topLeft.y = winRect.top; in WndProc()
267 ClientToScreen(hWnd, &topLeft); in WndProc()
271 event.Move.X = topLeft.x; in WndProc()
272 event.Move.Y = topLeft.y; in WndProc()
286 POINT topLeft; in WndProc() local
287 topLeft.x = winRect.left; in WndProc()
288 topLeft.y = winRect.top; in WndProc()
289 ClientToScreen(hWnd, &topLeft); in WndProc()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dborder_radius.dart170 result.write('topLeft: $_topLeft');
278 /// [topLeft]. These values are not affected by the [TextDirection]. To support
285 topLeft: radius,
302 topLeft: top,
314 topLeft: left,
323 this.topLeft = Radius.zero,
333 final Radius topLeft;
336 Radius get _topLeft => topLeft;
372 topLeft: topLeft,
396 topLeft: topLeft - other.topLeft,
[all …]
/third_party/skia/experimental/graphite/src/geom/
DRect.h31 AI Rect(float2 topLeft, float2 botRight) : fVals(topLeft, -botRight) {} in Rect() argument
37 AI static Rect XYWH(float2 topLeft, float2 size) { in XYWH() argument
38 return Rect(topLeft, topLeft + size); in XYWH()
74 AI float2 topLeft() const { return fVals.xy(); } in topLeft() function
82 AI void setTopLeft(float2 topLeft) { fVals.xy() = topLeft; } in setTopLeft() argument
/third_party/flutter/flutter/packages/flutter_localizations/test/
Dtext_test.dart76 Offset topLeft = tester.getTopLeft(find.text('hello, world'));
81 expect(topLeft, const Offset(392.0, 298.3999996185303));
86 topLeft = tester.getTopLeft(find.text('你好,世界'));
91 expect(topLeft, const Offset(392.0, 346.3999996185303));
162 Offset topLeft = tester.getTopLeft(find.text('hello, world'));
168 expect(topLeft, const Offset(392.0, 299.19999980926514));
173 topLeft = tester.getTopLeft(find.text('你好,世界'));
178 expect(topLeft, const Offset(392.0, 347.19999980926514));
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dalign_test.dart28 alignment: Alignment.topLeft,
41 alignment: Alignment.topLeft,
62 alignment: Alignment.topLeft,
86 alignment: Alignment.topLeft,
Dlistener_test.dart80 final Offset topLeft = tester.getTopLeft(find.byKey(key));
90 final Matrix4 expectedTransform = Matrix4.translationValues(-topLeft.dx, -topLeft.dy, 0);
129 alignment: Alignment.topLeft,
234 final Offset topLeft = tester.getTopLeft(find.byKey(key));
247 ..translate(-topLeft.dx, -topLeft.dy, 0);
Dplatform_view_test.dart257 alignment: Alignment.topLeft,
427 alignment: Alignment.topLeft,
548 alignment: Alignment.topLeft,
583 alignment: Alignment.topLeft,
636 alignment: Alignment.topLeft,
675 alignment: Alignment.topLeft,
692 alignment: Alignment.topLeft,
725 alignment: Alignment.topLeft,
1205 alignment: Alignment.topLeft,
1368 alignment: Alignment.topLeft,
[all …]
Dspacer_test.dart19 expect(spacerRect.topLeft, const Offset(400.0, 10.0));
70 expect(spacerRect.topLeft, const Offset(400.0, 10.0));
Dselectable_text_test.dart1157 final Offset topLeft = editable.localToGlobal(
1158 editable.getLocalRectForCaret(const TextPosition(offset: 2)).topLeft,
1161 expect(topLeft.dx, equals(278.0));
1181 final Offset topLeft = editable.localToGlobal(
1182 editable.getLocalRectForCaret(const TextPosition(offset: 2)).topLeft,
1185 expect(topLeft.dx, equals(399.0));
3476 Offset topLeft = editable.localToGlobal(
3477 editable.getLocalRectForCaret(const TextPosition(offset: 4)).topLeft,
3479 expect(topLeft.dx, equals(306));
3481 topLeft = editable.localToGlobal(
[all …]
Dclip_test.dart198 alignment: Alignment.topLeft,
222 alignment: Alignment.topLeft,
240 alignment: Alignment.topLeft,
258 alignment: Alignment.topLeft,
276 alignment: Alignment.topLeft,
294 alignment: Alignment.topLeft,
443 topLeft: Radius.elliptical(10.0, 20.0),
/third_party/skia/src/effects/imagefilters/
DSkImageImageFilter.cpp130 SkIPoint srcOffset = srcIBounds.topLeft(); in onFilterImage()
135 *offset = dstIBounds.topLeft() + srcIBounds.topLeft() - srcOffset; in onFilterImage()
154 *offset = dstIBounds.topLeft(); in onFilterImage()
DSkRuntimeImageFilter.cpp117 SkMatrix::Translate(-input->subset().topLeft()); in onFilterImage()
139 *offset = outputBounds.topLeft(); in onFilterImage()
/third_party/skia/gm/
Dgpu_blur_utils.cpp79 src = tileInto(std::move(src), srcB, size, outset - dstB.topLeft(), mode); in slow_blur()
233 .makeOffset(srcRect.topLeft()), in run()
235 .makeOffset(srcRect.topLeft()), in run()
237 .makeOffset(srcRect.topLeft()), in run()
239 .makeOffset(srcRect.topLeft()), in run()
245 .makeOffset(srcRect.topLeft()), in run()
247 .makeOffset(srcRect.topLeft()), in run()
249 .makeOffset(srcRect.topLeft()), in run()
251 .makeOffset(srcRect.topLeft()), in run()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dtransform_test.dart24 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
45 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
63 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
84 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
102 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
123 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
141 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
159 …(sizer, constraints: BoxConstraints.tight(const Size(100.0, 100.0)), alignment: Alignment.topLeft);
/third_party/flutter/flutter/examples/layers/test/
Dgestures_test.dart20 final Offset topLeft = tester.getTopLeft(finder);
21 await tester.tapAt(tester.getSize(finder).center(topLeft));
/third_party/node/lib/internal/
Dcli_table.js22 topLeft: '┌', property
72 let result = `${tableChars.topLeft}${divider.join(tableChars.topMiddle)}` +
/third_party/flutter/skia/tools/sk_app/win/
DWindow_win.cpp310 POINT topLeft = {0, 0}; in WndProc() local
311 ClientToScreen(hWnd, &topLeft); in WndProc()
326 LONG tx = (ti.x / 100) - topLeft.x; in WndProc()
327 LONG ty = (ti.y / 100) - topLeft.y; in WndProc()
/third_party/skia/tools/sk_app/win/
DWindow_win.cpp309 POINT topLeft = {0, 0}; in WndProc() local
310 ClientToScreen(hWnd, &topLeft); in WndProc()
325 LONG tx = (ti.x / 100) - topLeft.x; in WndProc()
326 LONG ty = (ti.y / 100) - topLeft.y; in WndProc()
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dpicker_test.dart15 alignment: Alignment.topLeft,
56 alignment: Alignment.topLeft,
103 alignment: Alignment.topLeft,
145 alignment: Alignment.topLeft,
178 alignment: Alignment.topLeft,
/third_party/flutter/flutter/dev/manual_tests/lib/
Doverlay_geometry.dart21 enum MarkerType { topLeft, bottomRight, touch }
42 if (type == MarkerType.topLeft) {
172 markers[MarkerType.topLeft] = box.localToGlobal(const Offset(0.0, 0.0));

1234567