/external/skia/modules/skparagraph/src/ |
D | Run.h | 75 return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent); in advance() 78 SkScalar ascent() const { return fFontMetrics.fAscent; } in ascent() 82 return fFontMetrics.fAscent - fFontMetrics.fLeading / 2; in correctAscent() 84 return fFontMetrics.fAscent * fHeightMultiplier * fFont.getSize() / in correctAscent() 85 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctAscent() 93 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctDescent() 98 return fFontMetrics.fAscent; in correctLeading() 101 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading); in correctLeading() 133 return fFontMetrics.fDescent - fFontMetrics.fAscent; in calculateHeight() 341 fAscent = a; in InternalLineMetrics() [all …]
|
D | TextStyle.cpp | 172 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics() 173 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics() 177 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
|
D | Run.cpp | 269 fFontMetrics.fAscent = baselineAdjustment - offset; in updateMetrics() 274 fFontMetrics.fAscent = baselineAdjustment - height; in updateMetrics() 279 fFontMetrics.fAscent = baselineAdjustment; in updateMetrics() 284 fFontMetrics.fDescent = height + fFontMetrics.fAscent; in updateMetrics() 288 fFontMetrics.fAscent = fFontMetrics.fDescent - height; in updateMetrics() 292 auto mid = (-fFontMetrics.fDescent - fFontMetrics.fAscent)/2.0; in updateMetrics() 294 fFontMetrics.fAscent = - height/2.0 - mid; in updateMetrics()
|
/external/icu/icu4c/source/samples/layout/ |
D | FontMap.cpp | 27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap() 235 if (fAscent <= 0) { in getAscent() 239 return fAscent; in getAscent() 278 if (ascent > fAscent) { in getMaxMetrics() 279 fAscent = ascent; in getMaxMetrics()
|
D | paragraph.h | 71 le_int32 fAscent; variable 89 return fAscent; in getAscent()
|
D | pflow.c | 59 le_int32 fAscent; member 138 flow->fAscent = -1; in pf_create() 217 flow->fAscent = ascent; in pf_create() 252 return obj->fAscent; in pf_getAscent() 324 y = obj->fAscent; in pf_draw()
|
D | GnomeFontInstance.cpp | 56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance() 82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance() 84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
|
D | GDIFontInstance.cpp | 112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance() 177 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance() 197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance() 261 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance() 286 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in GDIFontInstance()
|
D | GDIFontInstance.h | 65 le_int32 fAscent; variable 124 return fAscent; in getAscent()
|
D | GnomeFontInstance.h | 64 le_int32 fAscent; variable 134 return fAscent; in getAscent()
|
D | paragraph.cpp | 85 fLineHeight(-1), fAscent(-1), fWidth(-1), fHeight(-1), fParagraphLevel(UBIDI_DEFAULT_LTR) in Paragraph() 164 fAscent = ascent; in Paragraph() 232 y = fAscent; in draw()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | SimpleFontInstance.cpp | 30 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance() 36 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance() 82 return fAscent; in getAscent()
|
/external/icu/icu4c/source/test/letest/ |
D | SimpleFontInstance.cpp | 29 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance() 35 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance() 84 return fAscent; in getAscent()
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_word.h | 21 float fAscent; variable 31 fAscent(0.0f), in CPVT_Word()
|
/external/skia/samplecode/ |
D | SampleChineseFling.cpp | 62 y += -fMetrics.fAscent; in onDrawContent() 169 y += -fMetrics.fAscent; in onDrawContent() 172 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent() 204 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()
|
/external/skqp/samplecode/ |
D | SampleChineseFling.cpp | 68 y += -fMetrics.fAscent; in onDrawContent() 190 y += -fMetrics.fAscent; 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() 637 if (fAscent <= 0 && fCharCount > 0) { in getAscent() 641 return fAscent; in getAscent() 646 if (fAscent <= 0 && fCharCount > 0) { in getDescent() 655 if (fAscent <= 0 && fCharCount > 0) { in getLeading() 838 if (ascent > fAscent) { in computeMetrics() 839 fAscent = ascent; in computeMetrics() 1175 if (fAscent <= 0) { in getAscent() 1179 return fAscent; in getAscent() 1184 if (fAscent <= 0) { in getDescent() [all …]
|
/external/icu/icu4c/source/layoutex/layout/ |
D | ParagraphLayout.h | 171 le_int32 fAscent; variable 620 le_int32 fAscent; 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/skqp/modules/skshaper/src/ |
D | SkShaper_primitive.cpp | 53 point.fY -= metrics.fAscent; in shape() 58 metrics.fAscent, in shape()
|
/external/skia/modules/skottie/src/text/ |
D | SkottieShaper.cpp | 85 fFirstLineAscent = std::min(fFirstLineAscent, metrics.fAscent); in runInfo() 311 return fDesc.fAscent ? fDesc.fAscent : fFirstLineAscent; in ascent() 390 desc.fAscent = try_scale * orig_desc.fAscent; in ShapeToFit()
|
/external/skia/gm/ |
D | scaledemoji.cpp | 78 y += -metrics.fAscent; in onDraw() 127 y += -metrics.fAscent; in onDraw()
|
D | coloremoji.cpp | 106 y += -metrics.fAscent; in onDraw() 144 y += -metrics.fAscent; in onDraw()
|
/external/skqp/gm/ |
D | scaledemoji.cpp | 73 y += -metrics.fAscent; in onDraw() 124 y += -metrics.fAscent; in onDraw()
|
/external/skia/modules/skplaintexteditor/src/ |
D | shape.cpp | 63 fCurrentPosition.y() + metrics.fDescent - metrics.fAscent}; in finalRect() 103 fMaxRunAscent = std::min(fMaxRunAscent, metrics.fAscent); in runInfo() 179 pos.y() + metrics.fAscent, in selection_box()
|
/external/skia/src/core/ |
D | SkAdvancedTypefaceMetrics.h | 60 int16_t fAscent = 0; // Max height above baseline, not including accents. member
|