Home
last modified time | relevance | path

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

/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/
DDocumentData.java22 @SuppressWarnings("WeakerAccess") public final float lineHeight; field in DocumentData
31 float lineHeight, float baselineShift, @ColorInt int color, @ColorInt int strokeColor, in DocumentData() argument
38 this.lineHeight = lineHeight; in DocumentData()
54 temp = Float.floatToRawIntBits(lineHeight); in hashCode()
/external/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 …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DDocumentDataParser.java36 float lineHeight = 0f; in parse() local
67 lineHeight = (float) reader.nextDouble(); in parse()
91 return new DocumentData(text, fontName, size, justification, tracking, lineHeight, in parse()
/external/python/cpython2/Mac/Demo/textedit/
Dped.py50 height = self.ted.nLines * self.ted.lineHeight
59 height = self.ted.nLines * self.ted.lineHeight
63 delta = self.ted.lineHeight
65 delta = (self.ted.viewRect[3]-self.ted.lineHeight)
67 delta = self.ted.lineHeight
69 delta = -self.ted.lineHeight
71 delta = -(self.ted.viewRect[3]-self.ted.lineHeight)
73 delta = -self.ted.lineHeight
/external/skia/docs/examples/
DPaint_getFontMetrics.cpp10 SkScalar lineHeight = paint.getFontMetrics(nullptr);
12 canvas->drawString("line 2", 10, 40 + lineHeight, paint);
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/layer/
DTextLayer.java160 float lineHeight = documentData.lineHeight * Utils.dpScale(); in drawTextGlyphs() local
176 float multilineTranslateY = (textLineCount - 1) * lineHeight / 2; in drawTextGlyphs()
177 float translateY = l * lineHeight - multilineTranslateY; in drawTextGlyphs()
229 float lineHeight = documentData.lineHeight * Utils.dpScale(); in drawTextWithFont() local
243 float multilineTranslateY = (textLineCount - 1) * lineHeight / 2; in drawTextWithFont()
244 float translateY = l * lineHeight - multilineTranslateY; in drawTextWithFont()
/external/perfetto/ui/src/frontend/
Dflamegraph.ts316 const lineHeight = constant
320 const rectHeight = lineHeight * lines.length + 2 * paddingPx;
342 rectYStart + paddingPx + i * lineHeight);
/external/skia/modules/skparagraph/src/
DTextWrapper.cpp353 SkScalar lineHeight = fEndLine.metrics().height(); in breakTextIntoLines() local
366 SkVector::Make(fEndLine.width(), lineHeight), in breakTextIntoLines()
377 fHeight += lineHeight; in breakTextIntoLines()
DTextLine.cpp542 ShapeHandler(SkScalar lineHeight, bool useHalfLeading, const SkString& ellipsis) in shapeEllipsis() argument
543 … : fRun(nullptr), fLineHeight(lineHeight), fUseHalfLeading(useHalfLeading), fEllipsis(ellipsis) {} in shapeEllipsis()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dproperty-interpolation.js63 lineHeight: '120%', property
/external/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()
/external/skia/modules/skplaintexteditor/include/
Deditor.h56 int lineHeight(size_t index) const { return fLines[index].fHeight; } in lineHeight() function
/external/python/cpython2/Mac/Modules/te/
D_TEmodule.c501 short lineHeight; in TEObj_TEGetStyle() local
511 &lineHeight, in TEObj_TEGetStyle()
516 lineHeight, in TEObj_TEGetStyle()
869 return Py_BuildValue("h", (*self->ob_itself)->lineHeight); in TEObj_get_lineHeight()
/external/skqp/docs/
DSkFont_Reference.bmh953 SkScalar lineHeight = font.getMetrics(nullptr);
956 … canvas->drawSimpleText("line 2", 6, SkTextEncoding::kUTF8, 10, 40 + lineHeight, font, paint);
/external/pdfium/xfa/fxfa/parser/
Dattributes.inc267 ATTR____(0xd4b01921u, "lineHeight", LineHeight, Basic)
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp1274 const float lineHeight = 2.0f / static_cast<float>(kFramebufferHeight); in iterate() local
1278 const float yCoord = (lineHeight / 2.0f) + lineHeight * static_cast<float>(rowIdx) - 1.0f; in iterate()
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js2268 var lineHeight = parseInt(this.css('line-height'), 10);
2282 var adjustedRemainingHeight = ((remainingHeight) / lineHeight >> 0) * lineHeight;
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
Dweb-animations-next-lite.min.js15 …00%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBot… property
Dweb-animations.min.js15 …00%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBot… property
Dweb-animations-next.min.js15 …00%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBot… property
/external/angle/third_party/vulkan_memory_allocator/docs/html/
Djquery.js2 …lumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,or… property