/external/icu/icu4c/source/layoutex/layout/ |
D | RunArrays.h | 62 inline RunArray(const le_int32 *limits, le_int32 count); 75 RunArray(le_int32 initialCapacity); 91 inline le_int32 getCount() const; 111 inline le_int32 getLimit() const; 122 inline le_int32 getLimit(le_int32 run) const; 148 le_int32 add(le_int32 limit); 177 virtual void init(le_int32 capacity); 191 virtual void grow(le_int32 capacity); 211 le_int32 ensureCapacity(); 217 const le_int32 *fLimits; [all …]
|
D | ParagraphLayout.h | 87 inline le_int32 countRuns() const; 97 le_int32 getAscent() const; 107 le_int32 getDescent() const; 117 le_int32 getLeading() const; 128 le_int32 getWidth() const; 145 const VisualRun *getVisualRun(le_int32 runIndex) const; 171 le_int32 fAscent; 172 le_int32 fDescent; 173 le_int32 fLeading; 175 le_int32 fRunCount; [all …]
|
D | plruns.h | 58 const le_int32 *limits, 59 le_int32 count); 73 pl_openEmptyFontRuns(le_int32 initialCapacity); 95 U_INTERNAL le_int32 U_EXPORT2 118 U_INTERNAL le_int32 U_EXPORT2 131 U_INTERNAL le_int32 U_EXPORT2 133 le_int32 run); 149 le_int32 run); 170 U_INTERNAL le_int32 U_EXPORT2 173 le_int32 limit); [all …]
|
D | playout.h | 98 le_int32 count, 134 le_int32 count); 179 U_INTERNAL le_int32 U_EXPORT2 192 U_INTERNAL le_int32 U_EXPORT2 205 U_INTERNAL le_int32 U_EXPORT2 260 U_INTERNAL le_int32 U_EXPORT2 273 U_INTERNAL le_int32 U_EXPORT2 286 U_INTERNAL le_int32 U_EXPORT2 299 U_INTERNAL le_int32 U_EXPORT2 313 U_INTERNAL le_int32 U_EXPORT2 [all …]
|
/external/icu/icu4c/source/layout/ |
D | LEGlyphStorage.h | 42 le_int32 fGlyphCount; 56 le_int32 *fCharIndices; 85 le_int32 fSrcIndex; 92 le_int32 fDestIndex; 110 virtual le_bool applyInsertion(le_int32 atPosition, le_int32 count, LEGlyphID newGlyphs[]); 137 inline le_int32 getGlyphCount() const; 175 void getCharIndices(le_int32 charIndices[], LEErrorCode &success) const; 188 void getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &success) const; 217 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const; 231 void allocateGlyphArray(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCode &success); [all …]
|
D | LayoutEngine.h | 75 static const le_int32 kTypoFlagKern; 77 static const le_int32 kTypoFlagLiga; 104 le_int32 fScriptCode; 113 le_int32 fLanguageCode; 120 le_int32 fTypoFlags; 148 le_int32 scriptCode, 149 le_int32 languageCode, 150 le_int32 typoFlags, 187 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_… 216 …virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 … [all …]
|
D | OpenTypeLayoutEngine.h | 66 …OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCod… 67 …le_int32 typoFlags, const LEReferenceTo<GlyphSubstitutionTableHeader> &gsubTable, LEErrorCode &suc… 80 …OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCod… 81 le_int32 typoFlags, LEErrorCode &success); 102 static LETag getScriptTag(le_int32 scriptCode); 115 static LETag getV2ScriptTag(le_int32 scriptCode); 127 static LETag getLangSysTag(le_int32 languageCode); 191 le_int32 fFeatureMapCount; 279 …virtual le_int32 characterProcessing(const LEUnicode /*chars*/[], le_int32 offset, le_int32 count,… 311 …virtual le_int32 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int3… [all …]
|
D | GlyphPositionAdjustments.h | 30 … inline Adjustment(float xPlace, float yPlace, float xAdv, float yAdv, le_int32 baseOff = -1); 38 inline le_int32 getBaseOffset() const; 45 inline void setBaseOffset(le_int32 newBaseOffset); 58 le_int32 baseOffset; 95 le_int32 fGlyphCount; 102 GlyphPositionAdjustments(le_int32 glyphCount); 106 inline le_bool isCursiveGlyph(le_int32 index) const; 107 inline le_bool baselineIsLogicalEnd(le_int32 index) const; 109 const LEPoint *getEntryPoint(le_int32 index, LEPoint &entryPoint) const; 110 const LEPoint *getExitPoint(le_int32 index, LEPoint &exitPoint) const; [all …]
|
D | ArabicLayoutEngine.h | 52 …ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langu… 53 …le_int32 typoFlags, const LEReferenceTo<GlyphSubstitutionTableHeader> &gsubTable, LEErrorCode &suc… 69 …ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langu… 70 le_int32 typoFlags, LEErrorCode &success); 116 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_… 136 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo… 171 …rabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… 172 le_int32 typoFlags, LEErrorCode &success); 201 …virtual le_int32 glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorag… 219 …virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool re… [all …]
|
D | OpenTypeUtilities.cpp | 18 le_int8 OpenTypeUtilities::highBit(le_int32 value) in highBit() 62 le_int32 power = 1 << bit; in getTagOffset() 63 le_int32 extra = recordCount - power; in getTagOffset() 64 le_int32 probe = power; in getTagOffset() 65 le_int32 index = 0; in getTagOffset() 95 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const LEReferenceToArrayOf<GlyphR… in getGlyphRangeIndex() 101 le_int32 power = 1 << bit; in getGlyphRangeIndex() 102 le_int32 extra = recordCount - power; in getGlyphRangeIndex() 103 le_int32 probe = power; in getGlyphRangeIndex() 104 le_int32 range = 0; in getGlyphRangeIndex() [all …]
|
D | CanonShaping.cpp | 15 void CanonShaping::sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, l… in sortMarks() 17 for (le_int32 j = index + 1; j < limit; j += 1) { in sortMarks() 18 le_int32 i; in sortMarks() 19 le_int32 v = indices[j]; in sortMarks() 20 le_int32 c = combiningClasses[v]; in sortMarks() 34 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, in reorderMarks() 40 le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount); in reorderMarks() 41 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount); in reorderMarks() 42 le_int32 i; in reorderMarks() 51 le_int32 mark; in reorderMarks() [all …]
|
D | IndicLayoutEngine.h | 58 …IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… 59 …le_int32 typoFlags, le_bool version2, const LEReferenceTo<GlyphSubstitutionTableHeader> &gsubTable… 75 …IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… 76 le_int32 typoFlags, LEErrorCode &success); 123 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_… 154 …virtual le_int32 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int3…
|
D | LEGlyphStorage.cpp | 65 void LEGlyphStorage::allocateGlyphArray(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCod… in allocateGlyphArray() 87 fCharIndices = LE_NEW_ARRAY(le_int32, fGlyphCount); in allocateGlyphArray() 97 le_int32 i, count = fGlyphCount, dir = 1, out = 0; in allocateGlyphArray() 126 le_int32 LEGlyphStorage::allocatePositions(LEErrorCode &success) in allocatePositions() 148 le_int32 LEGlyphStorage::allocateAuxData(LEErrorCode &success) in allocateAuxData() 169 void LEGlyphStorage::getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &succes… in getCharIndices() 171 le_int32 i; in getCharIndices() 192 void LEGlyphStorage::getCharIndices(le_int32 charIndices[], LEErrorCode &success) const in getCharIndices() 214 le_int32 i; in getGlyphs() 254 LEGlyphID LEGlyphStorage::getGlyphID(le_int32 glyphIndex, LEErrorCode &success) const in getGlyphID() [all …]
|
D | ArabicLayoutEngine.cpp | 36 ArabicOpenTypeLayoutEngine::ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 37 le_int32 languageCode, le_int32 typoFlags, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 46 ArabicOpenTypeLayoutEngine::ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32… in ArabicOpenTypeLayoutEngine() 47 le_int32 languageCode, in ArabicOpenTypeLayoutEngine() 48 le_int32 typoFlags, LEErrorCode &success) in ArabicOpenTypeLayoutEngine() 69 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, … in characterProcessing() 70 … le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, in characterProcessing() 107 …TypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, l… in adjustGlyphPositions() 132 …eLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_i… in UnicodeArabicOpenTypeLayoutEngine() 146 le_int32 UnicodeArabicOpenTypeLayoutEngine::glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, L… in glyphPostProcessing() [all …]
|
D | MPreFixups.cpp | 15 le_int32 fBaseIndex; 16 le_int32 fMPreIndex; 19 MPreFixups::MPreFixups(le_int32 charCount) in MPreFixups() 31 void MPreFixups::add(le_int32 baseIndex, le_int32 mpreIndex) in add() 49 for (le_int32 fixup = 0; fixup < fFixupCount; fixup += 1) { in apply() 50 le_int32 baseIndex = fFixupData[fixup].fBaseIndex; in apply() 51 le_int32 mpreIndex = fFixupData[fixup].fMPreIndex; in apply() 52 le_int32 mpreLimit = mpreIndex + 1; in apply() 67 le_int32 mpreCount = mpreLimit - mpreIndex; in apply() 68 le_int32 moveCount = baseIndex - mpreLimit; in apply() [all …]
|
D | LEFontInstance.h | 144 …st LEFontInstance *getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, le_int32 … 193 virtual le_int32 getUnitsPerEM() const = 0; 218 …virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool re… 293 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const = 0; 435 static inline float fixedToFloat(le_int32 fixed); 447 static inline le_int32 floatToFixed(float theFloat); 463 virtual le_int32 getAscent() const = 0; 473 virtual le_int32 getDescent() const = 0; 483 virtual le_int32 getLeading() const = 0; 495 virtual le_int32 getLineHeight() const; [all …]
|
/external/icu/icu4c/source/layoutex/ |
D | RunArrays.cpp | 19 RunArray::RunArray(le_int32 initialCapacity) in RunArray() 23 fLimits = LE_NEW_ARRAY(le_int32, fCapacity); in RunArray() 35 le_int32 RunArray::ensureCapacity() in ensureCapacity() 50 void RunArray::init(le_int32 capacity) in init() 52 fLimits = LE_NEW_ARRAY(le_int32, capacity); in init() 55 void RunArray::grow(le_int32 newCapacity) in grow() 57 fLimits = (le_int32 *) LE_GROW_ARRAY(fLimits, newCapacity); in grow() 60 le_int32 RunArray::add(le_int32 limit) in add() 66 le_int32 index = ensureCapacity(); in add() 67 le_int32 *limits = (le_int32 *) fLimits; in add() [all …]
|
D | plruns.cpp | 20 const le_int32 *limits, in pl_openFontRuns() 21 le_int32 count) in pl_openFontRuns() 27 pl_openEmptyFontRuns(le_int32 initialCapacity) in pl_openEmptyFontRuns() 40 U_CAPI le_int32 U_EXPORT2 62 U_CAPI le_int32 U_EXPORT2 74 U_CAPI le_int32 U_EXPORT2 76 le_int32 run) in pl_getFontRunLimit() 89 le_int32 run) in pl_getFontRunFont() 100 U_CAPI le_int32 U_EXPORT2 103 le_int32 limit) in pl_addFontRun() [all …]
|
D | ParagraphLayout.cpp | 39 StyleRuns(const RunArray *styleRunArrays[], le_int32 styleCount); 43 le_int32 getRuns(le_int32 runLimits[], le_int32 styleIndices[]); 46 le_int32 fStyleCount; 47 le_int32 fRunCount; 49 le_int32 *fRunLimits; 50 le_int32 *fStyleIndices; 53 StyleRuns::StyleRuns(const RunArray *styleRunArrays[], le_int32 styleCount) in StyleRuns() 56 le_int32 maxRunCount = 0; in StyleRuns() 57 le_int32 style, run, runStyle; in StyleRuns() 58 le_int32 *currentRun = LE_NEW_ARRAY(le_int32, styleCount); in StyleRuns() [all …]
|
D | LXUtilities.cpp | 17 le_int8 LXUtilities::highBit(le_int32 value) in highBit() 53 le_int32 LXUtilities::search(le_int32 value, const le_int32 array[], le_int32 count) in search() 55 le_int32 power = 1 << highBit(count); in search() 56 le_int32 extra = count - power; in search() 57 le_int32 probe = power; in search() 58 le_int32 index = 0; in search() 75 void LXUtilities::reverse(le_int32 array[], le_int32 length) in reverse() 77 le_int32 front, back; in reverse() 80 le_int32 swap = array[front]; in reverse() 87 void LXUtilities::reverse(float array[], le_int32 length) in reverse() [all …]
|
/external/icu/icu4c/source/samples/layout/ |
D | paragraph.h | 36 …Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &stat… 40 le_int32 getAscent(); 41 le_int32 getLineHeight(); 42 le_int32 getLineCount(); 43 void breakLines(le_int32 width, le_int32 height); 44 void draw(RenderingSurface *surface, le_int32 firstLine, le_int32 lastLine); 53 le_int32 fParagraphCount; 54 le_int32 fParagraphMax; 55 le_int32 fParagraphGrow; 57 le_int32 fLineCount; [all …]
|
D | GnomeFontInstance.h | 37 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, 38 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height); 56 le_int32 fPointSize; 57 le_int32 fUnitsPerEM; 58 le_int32 fAscent; 59 le_int32 fDescent; 60 le_int32 fLeading; 78 virtual le_int32 getUnitsPerEM() const; 80 virtual le_int32 getAscent() const; 82 virtual le_int32 getDescent() const; [all …]
|
D | pflow.c | 43 le_int32 fParagraphCount; 44 le_int32 fParagraphMax; 45 le_int32 fParagraphGrow; 47 le_int32 fLineCount; 48 le_int32 fLinesMax; 49 le_int32 fLinesGrow; 55 le_int32 fLineHeight; 56 le_int32 fAscent; 57 le_int32 fWidth; 58 le_int32 fHeight; [all …]
|
D | GDIFontInstance.h | 34 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, 35 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height); 57 le_int32 fPointSize; 58 le_int32 fUnitsPerEM; 59 le_int32 fAscent; 60 le_int32 fDescent; 61 le_int32 fLeading; 83 virtual le_int32 getUnitsPerEM() const; 85 virtual le_int32 getAscent() const; 87 virtual le_int32 getDescent() const; [all …]
|
D | paragraph.cpp | 44 static le_int32 findRun(const RunArray *runArray, le_int32 offset) in findRun() 46 le_int32 runCount = runArray->getCount(); in findRun() 48 for (le_int32 run = 0; run < runCount; run += 1) { in findRun() 57 static void subsetFontRuns(const FontRuns *fontRuns, le_int32 start, le_int32 limit, FontRuns *sub) in subsetFontRuns() 59 le_int32 startRun = findRun(fontRuns, start); in subsetFontRuns() 60 le_int32 endRun = findRun(fontRuns, limit - 1); in subsetFontRuns() 64 for (le_int32 run = startRun; run <= endRun; run += 1) { in subsetFontRuns() 66 le_int32 runLimit = fontRuns->getLimit(run) - start; in subsetFontRuns() 87 le_int32 ascent = 0; in Paragraph() 88 le_int32 descent = 0; in Paragraph() [all …]
|