/external/skia/modules/skparagraph/src/ |
D | Run.h | 86 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance() 89 SkScalar ascent() const { return fFontMetrics.fAscent + fBaselineShift; } in ascent() 377 fAscent = a; in InternalLineMetrics() 387 fAscent = a; in InternalLineMetrics() 399 fAscent = metrics.fAscent; in InternalLineMetrics() 402 fRawAscent = metrics.fAscent; in InternalLineMetrics() 412 fAscent = std::min(fAscent, run->correctAscent()); in add() 422 fAscent = std::min(fAscent, other.fAscent); in add() 431 fAscent = SK_ScalarMax; in clean() 440 return (fAscent == SK_ScalarMax && in isClean() [all …]
|
D | TextStyle.cpp | 175 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics() 176 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics() 180 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics() 184 metrics->fAscent += fBaselineShift; in getFontMetrics()
|
D | Run.cpp | 62 fCorrectAscent = fFontMetrics.fAscent - fFontMetrics.fLeading * 0.5; in calculateMetrics() 237 fFontMetrics.fAscent = baselineAdjustment - offset; in updateMetrics() 242 fFontMetrics.fAscent = baselineAdjustment - height; in updateMetrics() 247 fFontMetrics.fAscent = baselineAdjustment; in updateMetrics() 252 fFontMetrics.fDescent = height + fFontMetrics.fAscent; in updateMetrics() 256 fFontMetrics.fAscent = fFontMetrics.fDescent - height; in updateMetrics() 260 auto mid = (-fFontMetrics.fDescent - fFontMetrics.fAscent)/2.0; in updateMetrics() 262 fFontMetrics.fAscent = - height/2.0 - mid; in updateMetrics()
|
/external/skia/experimental/sktext/src/ |
D | Line.h | 23 fAscent = metrics.fAscent; in TextMetrics() 33 this->fAscent = std::min(this->fAscent, tail.fAscent); in merge() 39 this->fAscent = 0; in clean() 45 return this->fDescent - this->fAscent + this->fLeading; in height() 49 return - this->fAscent + this->fLeading / 2; in baseline() 52 SkScalar above() const { return - this->fAscent + this->fLeading / 2; } in above() 56 SkScalar fAscent;
|
/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 | pflow.c | 61 le_int32 fAscent; member 140 flow->fAscent = -1; in pf_create() 219 flow->fAscent = ascent; in pf_create() 254 return obj->fAscent; in pf_getAscent() 326 y = obj->fAscent; in pf_draw()
|
D | paragraph.h | 71 le_int32 fAscent; variable 89 return fAscent; in getAscent()
|
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()
|
/external/cronet/third_party/icu/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 | pflow.c | 61 le_int32 fAscent; member 140 flow->fAscent = -1; in pf_create() 219 flow->fAscent = ascent; in pf_create() 254 return obj->fAscent; in pf_getAscent() 326 y = obj->fAscent; in pf_draw()
|
D | paragraph.h | 71 le_int32 fAscent; variable 89 return fAscent; in getAscent()
|
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()
|
/external/cronet/third_party/icu/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/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/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/cronet/third_party/icu/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/skia/include/core/ |
D | SkFontMetrics.h | 23 this->fAscent == that.fAscent && 54 SkScalar fAscent; //!< distance to reserve above baseline, typically negative member
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_word.h | 23 float fAscent; variable 33 fAscent(0.0f), in CPVT_Word()
|
/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/skia/tools/viewer/ |
D | ChineseFlingSlide.cpp | 64 y += -fMetrics.fAscent; in draw() 173 y += -fMetrics.fAscent; in draw() 176 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in draw() 208 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in load()
|
/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/skia/gm/ |
D | scaledemoji.cpp | 79 y += -metrics.fAscent; in onDraw() 127 y += -metrics.fAscent; in onDraw() 206 y += -metrics.fAscent; in onDraw()
|