/external/skia/modules/skparagraph/src/ |
D | Run.h | 85 … SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading); in advance() 90 SkScalar leading() const { return fFontMetrics.fLeading; } in leading() 368 fLeading = l; in InternalLineMetrics() 380 fLeading = metrics.fLeading; in InternalLineMetrics() 383 fRawLeading = metrics.fLeading; in InternalLineMetrics() 394 fLeading = std::max(fLeading, run->correctLeading()); in add() 404 fLeading = std::max(fLeading, other.fLeading); in add() 413 fLeading = 0; in clean() 425 metrics.fLeading = fLeading; in updateLineMetrics() 431 metrics.fAscent = std::min(metrics.fAscent, fAscent - fLeading / 2.0f); in updateLineMetrics() [all …]
|
D | TextStyle.cpp | 157 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics() 158 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics() 159 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics() 162 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics() 163 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2); in getFontMetrics()
|
D | Run.cpp | 55 fCorrectAscent = fFontMetrics.fAscent - fFontMetrics.fLeading * 0.5; in calculateMetrics() 56 fCorrectDescent = fFontMetrics.fDescent + fFontMetrics.fLeading * 0.5; in calculateMetrics() 211 fFontMetrics.fLeading = 0; in updateMetrics()
|
D | ParagraphStyle.cpp | 16 fLeading = -1; in StrutStyle()
|
/external/skia/experimental/sktext/src/ |
D | Line.h | 27 fLeading = metrics.fLeading; in TextMetrics() 35 this->fLeading = std::max(this->fLeading, tail.fLeading); in merge() 41 this->fLeading = 0; in clean() 45 return this->fDescent - this->fAscent + this->fLeading; in height() 49 return - this->fAscent + this->fLeading / 2; in baseline() 55 SkScalar fLeading; variable
|
/external/skia/modules/skparagraph/include/ |
D | ParagraphStyle.h | 36 void setLeading(SkScalar Leading) { fLeading = Leading; } in setLeading() 37 SkScalar getLeading() const { return fLeading; } in getLeading() 56 nearlyEqual(this->fLeading, rhs.fLeading) && 69 SkScalar fLeading; member
|
/external/icu/icu4c/source/samples/layout/ |
D | FontMap.cpp | 27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap() 253 if (fLeading <= 0) { in getLeading() 257 return fLeading; in getLeading() 286 if (leading > fLeading) { in getMaxMetrics() 287 fLeading = leading; in getMaxMetrics()
|
D | GDIFontInstance.cpp | 112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance() 179 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance() 197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance() 263 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance() 288 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance()
|
D | GDIFontInstance.h | 67 le_int32 fLeading; variable 134 return fLeading; in getLeading()
|
D | GnomeFontInstance.h | 66 le_int32 fLeading; variable 144 return fLeading; in getLeading()
|
D | GnomeFontInstance.cpp | 56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance() 84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
|
D | FontMap.h | 55 le_int32 fLeading; variable
|
/external/skia/include/core/ |
D | SkFontMetrics.h | 25 this->fLeading == that.fLeading && 56 SkScalar fLeading; //!< distance to add between lines, typically positive or zero member
|
/external/icu/icu4c/source/layoutex/layout/ |
D | ParagraphLayout.h | 173 le_int32 fLeading; variable 622 le_int32 fLeading; variable 664 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line() 670 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
|
/external/skia/samplecode/ |
D | SampleChineseFling.cpp | 65 y += fMetrics.fDescent + fMetrics.fLeading; in onDrawContent() 176 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent() 208 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()
|
/external/skia/gm/ |
D | scaledemoji.cpp | 80 y += metrics.fDescent + metrics.fLeading; in onDraw() 138 y += metrics.fDescent + metrics.fLeading; in onDraw() 202 y += metrics.fDescent + metrics.fLeading; in onDraw()
|
D | coloremoji.cpp | 109 y += metrics.fDescent + metrics.fLeading; in onDraw() 147 y += metrics.fDescent + metrics.fLeading; in onDraw()
|
/external/skqp/modules/skshaper/src/ |
D | SkShaper_primitive.cpp | 60 metrics.fLeading, in shape() 81 return point + SkVector::Make(0, metrics.fDescent + metrics.fLeading); in shape()
|
/external/skqp/samplecode/ |
D | SampleChineseFling.cpp | 71 y += fMetrics.fDescent + fMetrics.fLeading; in onDrawContent() 193 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent() 222 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in init()
|
/external/icu/icu4c/source/layoutex/ |
D | ParagraphLayout.cpp | 323 fAscent(0), fDescent(0), fLeading(0), in ParagraphLayout() 659 return fLeading; in getLeading() 846 if (leading > fLeading) { in computeMetrics() 847 fLeading = leading; in computeMetrics() 855 fLeading = maxDL - fDescent; in computeMetrics() 1197 return fLeading; in getLeading() 1257 if (leading > fLeading) { in computeMetrics() 1258 fLeading = leading; in computeMetrics() 1266 fLeading = maxDL - fDescent; in computeMetrics()
|
/external/skqp/gm/ |
D | scaledemoji.cpp | 75 y += metrics.fDescent + metrics.fLeading; in onDraw() 136 y += metrics.fDescent + metrics.fLeading; in onDraw()
|
D | coloremoji.cpp | 95 y += metrics.fDescent + metrics.fLeading; in onDraw() 133 y += metrics.fDescent + metrics.fLeading; in onDraw()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | PortableFontInstance.cpp | 86 …LL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), fLeading(0), in PortableFontInstance() 174 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance() 447 return fLeading; in getLeading()
|
/external/icu/icu4c/source/test/letest/ |
D | PortableFontInstance.cpp | 82 …LL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), fLeading(0), in PortableFontInstance() 171 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance() 439 return fLeading; in getLeading()
|
/external/skqp/include/core/ |
D | SkFontMetrics.h | 32 SkScalar fLeading; //!< distance to add between lines member
|