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/ |
D | TtmlStyleTest.java | 81 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/ |
D | TtmlRenderUtil.java | 187 new AbsoluteSizeSpan((int) style.getFontSize(), true), in applyStylesToSpan() 195 new RelativeSizeSpan(style.getFontSize()), in applyStylesToSpan() 203 new RelativeSizeSpan(style.getFontSize() / 100), in applyStylesToSpan()
|
D | TtmlStyle.java | 323 public float getFontSize() { in getFontSize() method in TtmlStyle
|
/external/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 583 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()
|
D | Decorations.cpp | 139 fThickness = textStyle.getFontSize() / 14.0f; in calculateThickness() 195 SkScalar scaleFactor = textStyle.getFontSize() / 14.f; in calculatePaint()
|
D | ParagraphCache.cpp | 104 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getFontSize()))); in operator ()() 115 hash = mix(hash, SkGoodHash()(relax(strutStyle.getFontSize()))); in operator ()()
|
D | OneLineShaper.cpp | 589 SkFont font(typeface, placeholder.fTextStyle.getFontSize()); in iterateThroughShapingRegions() 647 SkFont font(std::move(typeface), block.fStyle.getFontSize()); in shape()
|
D | TextLine.cpp | 1013 && strutStyle.getFontSize() > 0) { in getRectsForRange()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/ |
D | CssParserTest.java | 234 assertThat(actualElem.getFontSize()).isEqualTo(expected.getFontSize()); in assertParserProduces()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
D | ViewInflater.java | 384 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/ |
D | ParagraphStyle.h | 30 SkScalar getFontSize() const { return fFontSize; } in getFontSize() function
|
D | TextStyle.h | 210 SkScalar getFontSize() const { return fFontSize; } in getFontSize() function
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttCssStyle.java | 288 public float getFontSize() { in getFontSize() method in WebvttCssStyle
|
D | WebvttCueParser.java | 679 new AbsoluteSizeSpan((int) style.getFontSize(), true), in applyStyleToText() 687 new RelativeSizeSpan(style.getFontSize()), in applyStyleToText() 695 new RelativeSizeSpan(style.getFontSize() / 100), in applyStyleToText()
|