Home
last modified time | relevance | path

Searched refs:getFontSize (Results 1 – 14 of 14) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyleTest.java81 assertThat(style.getFontSize()).isEqualTo(FONT_SIZE); in inheritStyle()
109 assertThat(style.getFontSize()).isEqualTo(FONT_SIZE); in chainStyle()
185 assertThat(style.getFontSize()).isEqualTo(0); in fontSize()
187 assertThat(style.getFontSize()).isEqualTo(10.5f); in fontSize()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlRenderUtil.java187 new AbsoluteSizeSpan((int) style.getFontSize(), true), in applyStylesToSpan()
195 new RelativeSizeSpan(style.getFontSize()), in applyStylesToSpan()
203 new RelativeSizeSpan(style.getFontSize() / 100), in applyStylesToSpan()
DTtmlStyle.java323 public float getFontSize() { in getFontSize() method in TtmlStyle
/external/skia/modules/skparagraph/src/
DParagraphImpl.cpp583 if (!strutStyle.getStrutEnabled() || strutStyle.getFontSize() < 0) { in resolveStrut()
593 SkFont font(typefaces.front(), strutStyle.getFontSize()); in resolveStrut()
599 auto strutMultiplier = strutStyle.getHeight() * strutStyle.getFontSize(); in resolveStrut()
603 … strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
609 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
903 SkFont font(typeface, textStyle.getFontSize()); in computeEmptyMetrics()
909 const auto strutHeight = textStyle.getHeight() * textStyle.getFontSize(); in computeEmptyMetrics()
DDecorations.cpp139 fThickness = textStyle.getFontSize() / 14.0f; in calculateThickness()
195 SkScalar scaleFactor = textStyle.getFontSize() / 14.f; in calculatePaint()
DParagraphCache.cpp104 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getFontSize()))); in operator ()()
115 hash = mix(hash, SkGoodHash()(relax(strutStyle.getFontSize()))); in operator ()()
DOneLineShaper.cpp589 SkFont font(typeface, placeholder.fTextStyle.getFontSize()); in iterateThroughShapingRegions()
647 SkFont font(std::move(typeface), block.fStyle.getFontSize()); in shape()
DTextLine.cpp1013 && strutStyle.getFontSize() > 0) { in getRectsForRange()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DCssParserTest.java234 assertThat(actualElem.getFontSize()).isEqualTo(expected.getFontSize()); in assertParserProduces()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java384 return (int) getFontSize(value); in getLayoutValue()
387 private float getFontSize(String value) { in getFontSize() method in ViewInflater
497 setInteger(view, attr, (int) getFontSize(value)); in setProperty()
507 int size = (int) getFontSize(value); in setProperty()
512 setFloat(view, attr, getFontSize(value)); in setProperty()
558 int size = (int) getFontSize(value); in setLayoutProperty()
/external/skia/modules/skparagraph/include/
DParagraphStyle.h30 SkScalar getFontSize() const { return fFontSize; } in getFontSize() function
DTextStyle.h210 SkScalar getFontSize() const { return fFontSize; } in getFontSize() function
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCssStyle.java288 public float getFontSize() { in getFontSize() method in WebvttCssStyle
DWebvttCueParser.java679 new AbsoluteSizeSpan((int) style.getFontSize(), true), in applyStyleToText()
687 new RelativeSizeSpan(style.getFontSize()), in applyStyleToText()
695 new RelativeSizeSpan(style.getFontSize() / 100), in applyStyleToText()