Home
last modified time | relevance | path

Searched refs:lineHeight (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DSFFontView.java47 int height = 25 * viewer.lineHeight(); in getPreferredScrollableViewportSize()
65 return viewer.lineHeight(); in getScrollableUnitIncrement()
73 int lines = visibleRect.height / viewer.lineHeight() - 2; in getScrollableBlockIncrement()
77 return lines * viewer.lineHeight(); in getScrollableBlockIncrement()
DViewableTaggedData.java74 private int lineHeight; // total line height field in ViewableTaggedData.Metrics
86 lineHeight = 15; in Metrics()
97 lineHeight = baseline = xHeight = 0; in zero()
107 int lineHeight() { in lineHeight() method in ViewableTaggedData
108 return metrics.lineHeight; in lineHeight()
366 int lineHeight = (int) Math.ceil(Math.max(dataMetrics.getHeight(), labelMetrics.getHeight())); in measureLineHeight() local
372 metrics.lineHeight = lineHeight; in measureLineHeight()
386 int height = lc * metrics.lineHeight + style.columnPad; in dimension()
393 y += metrics.lineHeight; in newLine()
502 g.fillRect(metrics.marginWidth, y - metrics.lineHeight, in drawRangeBackground()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DSFFontView.java47 int height = 25 * viewer.lineHeight(); in getPreferredScrollableViewportSize()
65 return viewer.lineHeight(); in getScrollableUnitIncrement()
73 int lines = visibleRect.height / viewer.lineHeight() - 2; in getScrollableBlockIncrement()
77 return lines * viewer.lineHeight(); in getScrollableBlockIncrement()
DViewableTaggedData.java74 private int lineHeight; // total line height field in ViewableTaggedData.Metrics
86 lineHeight = 15; in Metrics()
97 lineHeight = baseline = xHeight = 0; in zero()
107 int lineHeight() { in lineHeight() method in ViewableTaggedData
108 return metrics.lineHeight; in lineHeight()
366 int lineHeight = (int) Math.ceil(Math.max(dataMetrics.getHeight(), labelMetrics.getHeight())); in measureLineHeight() local
372 metrics.lineHeight = lineHeight; in measureLineHeight()
386 int height = lc * metrics.lineHeight + style.columnPad; in dimension()
393 y += metrics.lineHeight; in newLine()
502 g.fillRect(metrics.marginWidth, y - metrics.lineHeight, in drawRangeBackground()
[all …]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java63 private transient int lineHeight; field in DumbTextComponent
535 lineHeight = lineAscent + fm.getDescent() + lineLeading; in paint2()
539 for (int i = 0; i < lineCount; y += lineHeight, ++i) { in paint2()
548 lastHeight = y + yInset - lineHeight + yInset; in paint2()
566 g.fillRect(line, activePoint.y, 1, lineHeight); in drawSelection()
580 Math.max(1,endPoint.x-startPoint.x), lineHeight); in drawSelection()
583 (mySize.width-xInset)-startPoint.x, lineHeight); in drawSelection()
584 if (startPoint.y + lineHeight < endPoint.y) in drawSelection()
585 paintRect(g, xInset, startPoint.y + lineHeight, in drawSelection()
586 (mySize.width-xInset)-xInset, endPoint.y - startPoint.y - lineHeight); in drawSelection()
[all …]
/third_party/skia/docs/examples/
DPaint_getFontMetrics.cpp10 SkScalar lineHeight = paint.getFontMetrics(nullptr);
12 canvas->drawString("line 2", 10, 40 + lineHeight, paint);
/third_party/flutter/skia/docs/examples/
DPaint_getFontMetrics.cpp10 SkScalar lineHeight = paint.getFontMetrics(nullptr);
12 canvas->drawString("line 2", 10, 40 + lineHeight, paint);
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dparagraph_test.dart115 final double lineHeight = paragraph.size.height;
118 expect(paragraph.size.height, equals(3 * lineHeight));
121 expect(paragraph.size.height, greaterThan(5 * lineHeight));
126 expect(paragraph.size.height, equals(lineHeight));
129 expect(paragraph.size.height, equals(3 * lineHeight));
136 expect(paragraph.size.height, equals(2 * lineHeight));
140 expect(paragraph.size.height, equals(lineHeight));
143 expect(paragraph.size.height, equals(2 * lineHeight));
146 expect(paragraph.size.height, equals(2 * lineHeight));
149 expect(paragraph.size.height, equals(lineHeight));
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/text/
Druler.dart14 this.lineHeight,
26 final double lineHeight;
107 lineHeight == typedOther.lineHeight &&
121 lineHeight,
134 ' lineHeight: $lineHeight,'
234 if (style.lineHeight != null) {
235 _element.style.lineHeight = style.lineHeight.toString();
746 /// In some cases, measuring [lineHeight] is unnecessary, so it's nullable. If
748 final double lineHeight;
772 @required this.lineHeight,
Dmeasurement.dart263 /// * lineHeight: the height of a single line of the paragraph.
365 lineHeight: height,
393 double lineHeight;
398 // Lazily compute [lineHeight] when [maxLines] is not null.
399 lineHeight = ruler.lineHeightDimensions.height;
400 height = math.min(naturalHeight, maxLines * lineHeight);
412 lineHeight: lineHeight,
502 final double lineHeight = ruler.lineHeightDimensions.height;
503 final double naturalHeight = lineCount * lineHeight;
507 : math.min(lineCount, style.maxLines) * lineHeight;
[all …]
Dparagraph.dart73 double get _lineHeight => _measurementResult?.lineHeight ?? 0;
574 /// * `lineHeight`: The minimum height of the line boxes, as a multiple of the
576 /// `(lineHeight + leading) * fontSize` tall when fontSize
592 /// `(lineHeight + leading) * fontSize` tall from baseline to baseline.
596 /// of the [fontFamily] and `(lineHeight + leading) * fontSize`. Otherwise, it
876 lineHeight: height,
929 lineHeight: height,
975 lineHeight: _paragraphStyle._height,
1043 cssStyle.lineHeight = '${style._lineHeight}';
1067 cssStyle.lineHeight = '${style._lineHeight}';
/third_party/typescript/tests/cases/fourslash/etslib/
Dtext.d.ts75 lineHeight(value: number | string): TextAttribute;
/third_party/skia/modules/skparagraph/src/
DTextWrapper.cpp362 SkScalar lineHeight = fEndLine.metrics().height(); in breakTextIntoLines() local
380 SkVector::Make(fEndLine.width(), lineHeight), in breakTextIntoLines()
391 fHeight += lineHeight; in breakTextIntoLines()
/third_party/weex-loader/deps/weex-styler/test/
Dparse.js42 expect(data.jsonStyle).eql({foo: {lineHeight: 40}, bar: {lineHeight: '20px'}}) property
/third_party/flutter/skia/modules/skparagraph/src/
DRun.cpp22 SkScalar lineHeight, in Run() argument
29 fHeightMultiplier = lineHeight; in Run()
DRun.h51 SkScalar lineHeight,
101 SkScalar lineHeight() const { return fHeightMultiplier; } in lineHeight() function
DTextLine.cpp490 ShapeHandler(SkScalar lineHeight, const SkString& ellipsis) in shapeEllipsis() argument
491 : fRun(nullptr), fLineHeight(lineHeight), fEllipsis(ellipsis) {} in shapeEllipsis()
519 ShapeHandler handler(run->lineHeight(), ellipsis); in shapeEllipsis()
DParagraphImpl.cpp666 lastRun->lineHeight() == run->lineHeight() && in getRectsForRange()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java508 int lineHeight = fm.getHeight(); in paint() local
535 penY += lineHeight; in paint()
536 totalHeight += lineHeight; in paint()
/third_party/flutter/skia/experimental/editor/
Deditor.h58 int lineHeight(size_t index) const { return fLines[index].fHeight; } in lineHeight() function
/third_party/skia/modules/skplaintexteditor/include/
Deditor.h56 int lineHeight(size_t index) const { return fLines[index].fHeight; } in lineHeight() function
/third_party/boost/libs/hof/doc/html/_static/
Dwebsupport.js32 var lineHeight = parseInt($(textarea).css('line-height'), 10);
39 var height = lineHeight * (lineCount + 1);
/third_party/boost/libs/python/doc/html/numpy/_static/
Dwebsupport.js32 var lineHeight = parseInt($(textarea).css('line-height'), 10);
39 var height = lineHeight * (lineCount + 1);
/third_party/boost/libs/gil/doc/html/_static/
Dwebsupport.js32 var lineHeight = parseInt($(textarea).css('line-height'), 10);
39 var height = lineHeight * (lineCount + 1);
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtext_field_test.dart2976 final double lineHeight = state.renderEditable.preferredLineHeight;
3111 bottomLeftSelectionPosition.translate(0, -lineHeight - 8 - 0.1),
3121 … bottomMatcher: moreOrLessEquals(bottomLeftSelectionPosition.dy - 8 - lineHeight, epsilon: 0.01),
3122 … topMatcher: moreOrLessEquals(bottomLeftSelectionPosition.dy - 8 - lineHeight - 43, epsilon: 0.01),
3163 final double lineHeight = state.renderEditable.preferredLineHeight;
3182 selectionPosition.translate(0, -lineHeight - 8 - 0.1),
3192 bottomMatcher: moreOrLessEquals(selectionPosition.dy - 8 - lineHeight, epsilon: 0.01),
3193 topMatcher: moreOrLessEquals(selectionPosition.dy - 8 - lineHeight - 43, epsilon: 0.01),
3234 final double lineHeight = state.renderEditable.preferredLineHeight;
3257 selectionPosition.translate(0, -lineHeight - 8 - 0.1),
[all …]

12