/third_party/flutter/flutter/packages/flutter/test/material/ |
D | range_slider_test.dart | 54 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/ |
D | border_radius_test.dart | 15 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 …]
|
D | alignment_test.dart | 28 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 …]
|
D | gradient_test.dart | 35 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/ |
D | Win32Window.cpp | 263 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/ |
D | Win32Window.cpp | 264 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/ |
D | border_radius.dart | 170 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/ |
D | Rect.h | 31 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/ |
D | text_test.dart | 76 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/ |
D | align_test.dart | 28 alignment: Alignment.topLeft, 41 alignment: Alignment.topLeft, 62 alignment: Alignment.topLeft, 86 alignment: Alignment.topLeft,
|
D | listener_test.dart | 80 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);
|
D | platform_view_test.dart | 257 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 …]
|
D | spacer_test.dart | 19 expect(spacerRect.topLeft, const Offset(400.0, 10.0)); 70 expect(spacerRect.topLeft, const Offset(400.0, 10.0));
|
D | selectable_text_test.dart | 1157 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 …]
|
D | clip_test.dart | 198 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/ |
D | SkImageImageFilter.cpp | 130 SkIPoint srcOffset = srcIBounds.topLeft(); in onFilterImage() 135 *offset = dstIBounds.topLeft() + srcIBounds.topLeft() - srcOffset; in onFilterImage() 154 *offset = dstIBounds.topLeft(); in onFilterImage()
|
D | SkRuntimeImageFilter.cpp | 117 SkMatrix::Translate(-input->subset().topLeft()); in onFilterImage() 139 *offset = outputBounds.topLeft(); in onFilterImage()
|
/third_party/skia/gm/ |
D | gpu_blur_utils.cpp | 79 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/ |
D | transform_test.dart | 24 …(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/ |
D | gestures_test.dart | 20 final Offset topLeft = tester.getTopLeft(finder); 21 await tester.tapAt(tester.getSize(finder).center(topLeft));
|
/third_party/node/lib/internal/ |
D | cli_table.js | 22 topLeft: '┌', property 72 let result = `${tableChars.topLeft}${divider.join(tableChars.topMiddle)}` +
|
/third_party/flutter/skia/tools/sk_app/win/ |
D | Window_win.cpp | 310 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/ |
D | Window_win.cpp | 309 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/ |
D | picker_test.dart | 15 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/ |
D | overlay_geometry.dart | 21 enum MarkerType { topLeft, bottomRight, touch } 42 if (type == MarkerType.topLeft) { 172 markers[MarkerType.topLeft] = box.localToGlobal(const Offset(0.0, 0.0));
|