Home
last modified time | relevance | path

Searched refs:verticalOffset (Results 1 – 18 of 18) sorted by relevance

/third_party/flutter/flutter/packages/flutter/test/painting/
Dgeometry_test.dart18 verticalOffset: 0.0,
29 verticalOffset: 0.0,
40 verticalOffset: 0.0,
51 verticalOffset: 0.0,
62 verticalOffset: 0.0,
73 verticalOffset: 0.0,
84 verticalOffset: 0.0,
95 verticalOffset: 0.0,
106 verticalOffset: 0.0,
117 verticalOffset: 0.0,
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtooltip_theme.dart32 this.verticalOffset,
57 final double verticalOffset;
92 double verticalOffset,
104 verticalOffset: verticalOffset ?? this.verticalOffset,
127 verticalOffset: lerpDouble(a?.verticalOffset, b?.verticalOffset, t),
141 verticalOffset,
161 && typedOther.verticalOffset == verticalOffset
176 properties.add(DoubleProperty('vertical offset', verticalOffset, defaultValue: null));
Dtooltip.dart55 this.verticalOffset,
99 final double verticalOffset;
163 properties.add(DoubleProperty('vertical offset', verticalOffset, defaultValue: null));
188 double verticalOffset;
301 verticalOffset: verticalOffset,
382 verticalOffset = widget.verticalOffset ?? tooltipTheme.verticalOffset ?? _defaultVerticalOffset;
421 @required this.verticalOffset,
424 assert(verticalOffset != null),
433 final double verticalOffset;
450 verticalOffset: verticalOffset,
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dgeometry.dart29 /// target point `verticalOffset` from the target point (even if it cannot fit
46 double verticalOffset = 0.0,
52 assert(verticalOffset != null);
56 final bool fitsBelow = target.dy + verticalOffset + childSize.height <= size.height - margin;
57 final bool fitsAbove = target.dy - verticalOffset - childSize.height >= margin;
61 y = math.min(target.dy + verticalOffset, size.height - margin);
63 y = math.max(target.dy - verticalOffset - childSize.height, margin);
/third_party/skia/experimental/sktext/src/
DLine.cpp7 LogicalLine::LogicalLine(const Stretch& stretch, const Stretch& spaces, SkScalar verticalOffset, bo… in LogicalLine() argument
16 , fVerticalOffset(verticalOffset) in LogicalLine()
DText.cpp507 SkScalar verticalOffset = 0.0f; in format() local
516 line.fOffset.fY = verticalOffset; in format()
517 verticalOffset += line.fTextMetrics.height(); in format()
523 SkScalar verticalOffset = 0.0f; in visit() local
525 …Line(lineIndex, line.text(), line.isHardBreak(), SkRect::MakeXYWH(0, verticalOffset, line.fActualW… in visit()
536 verticalOffset += line.fTextMetrics.height(); in visit()
578 SkScalar verticalOffset = 0.0f; in visit() local
582 …Line(lineIndex, line.text(), line.isHardBreak(), SkRect::MakeXYWH(0, verticalOffset, line.fActualW… in visit()
607 verticalOffset += line.fTextMetrics.height(); in visit()
DVisualRun.h100 VisualLine(TextRange text, bool hardLineBreak, SkScalar verticalOffset, SkSpan<VisualRun> runs) in VisualLine() argument
104 , fOffset(SkPoint::Make(0, verticalOffset)) in VisualLine()
DLine.h174 …LogicalLine(const Stretch& stretch, const Stretch& spaces, SkScalar verticalOffset, bool hardLineB…
184 SkScalar verticalOffset() const { return fVerticalOffset; } in verticalOffset() function
/third_party/skia/experimental/sktext/tests/
DWrappedText.cpp124 SkScalar verticalOffset = 0.0f; in UNIX_ONLY_TEST() local
132 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(verticalOffset, line.bounds.fTop)); in UNIX_ONLY_TEST()
136 verticalOffset = line.bounds.fBottom; in UNIX_ONLY_TEST()
/third_party/flutter/flutter/packages/flutter/test/material/
Dtooltip_theme_test.dart43 expect(theme.verticalOffset, null);
69 verticalOffset: 10.0,
96 …testWidgets('Tooltip verticalOffset, preferBelow; center prefer above fits - ThemeData.tooltipThem…
106 verticalOffset: 100.0,
156 …testWidgets('Tooltip verticalOffset, preferBelow; center prefer above fits - TooltipTheme', (Widge…
165 verticalOffset: 100.0,
214 …testWidgets('Tooltip verticalOffset, preferBelow; center prefer above does not fit - ThemeData.too…
224 verticalOffset: 100.0,
285 …testWidgets('Tooltip verticalOffset, preferBelow; center prefer above does not fit - TooltipTheme'…
294 verticalOffset: 100.0,
[all …]
Dtooltip_test.dart62 verticalOffset: 20.0,
119 verticalOffset: 20.0,
173 verticalOffset: 100.0,
229 verticalOffset: 100.0,
296 verticalOffset: 100.0,
351 verticalOffset: 10.0,
408 verticalOffset: 10.0,
1082 verticalOffset: 50.0,
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Daction_sheet.dart1158 double verticalOffset = 0.0;
1167 parentData.offset = Offset(0.0, verticalOffset);
1169 verticalOffset += child.size.height;
1172 verticalOffset += dividerThickness;
1180 Size(constraints.maxWidth, verticalOffset)
Ddialog.dart1533 double verticalOffset = 0.0;
1542 parentData.offset = Offset(0.0, verticalOffset);
1544 verticalOffset += child.size.height;
1547 verticalOffset += dividerThickness;
1556 Size(dialogWidth, verticalOffset)
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp1948 xpsGlyph->verticalOffset = SkScalarToFloat(y) * -fCentemPerUnit;
1955 xpsGlyph->verticalOffset = (SkScalarToFloat(y) * -fCentemPerUnit)
1956 - first.verticalOffset;
2011 xpsGlyphs[0].verticalOffset / -centemPerUnit,
2014 xpsGlyphs[0].verticalOffset = 0.0f;
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dlist_wheel_scroll_view_test.dart900 for (double verticalOffset = 0.0; verticalOffset > -2000.0; verticalOffset -= 10.0) {
903 await scrollGesture.moveTo(Offset(0.0, verticalOffset));
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dwidget_inspector.dart2571 final double verticalOffset = (targetRect.height) / 2 + offsetFromWidget;
2573 …_paintDescription(canvas, state.tooltip, state.textDirection, target, verticalOffset, size, target…
2585 double verticalOffset,
2607 verticalOffset: verticalOffset,
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Deditable.dart490 final double verticalOffset = upArrow ? -0.5 * plh : 1.5 * plh;
493 final Offset caretOffsetTranslated = caretOffset.translate(0.0, verticalOffset);
/third_party/skia/src/xps/
DSkXPSDevice.cpp1939 xpsGlyph.verticalOffset = (SkScalarToFloat(position.fY) * -centemPerUnit); in onDrawGlyphRunList()