/external/icu4c/layout/ |
H A D | MarkArrays.cpp | 16 le_int32 MarkArray::getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance, argument 29 anchorTable->getAnchor(glyphID, fontInstance, anchor);
|
H A D | CursiveAttachmentSubtables.cpp | 19 LEGlyphID glyphID = glyphIterator->getCurrGlyphID(); local 20 le_int32 coverageIndex = getGlyphCoverage(glyphID); 35 entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); 44 exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor);
|
H A D | AnchorTables.cpp | 15 void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, argument 31 f2->getAnchor(glyphID, fontInstance, anchor); 63 void Format2AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const argument 67 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) {
|
H A D | OpenTypeUtilities.cpp | 81 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 recordCount) argument 93 if (SWAPW(records[extra].firstGlyph) <= glyphID) { 100 if (SWAPW(records[range + probe].firstGlyph) <= glyphID) { 105 if (SWAPW(records[range].firstGlyph) <= glyphID && SWAPW(records[range].lastGlyph) >= glyphID) {
|
H A D | GlyphPositionAdjustments.cpp | 107 LEGlyphID glyphID = glyphStorage[i]; local 120 fontInstance->getGlyphAdvance(glyphID, pixels); 141 lastExitGlyphID = glyphID;
|
H A D | PairPositioningSubtables.cpp | 127 const PairValueRecord *PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, const PairValueRecord *records, le_uint16 recordCount, le_uint16 recordSize) const argument 136 if (SWAPW(record->secondGlyph) == glyphID) { 150 if (SWAPW(trial->secondGlyph) <= glyphID) { 158 if (SWAPW(trial->secondGlyph) <= glyphID) { 163 if (SWAPW(record->secondGlyph) == glyphID) {
|
H A D | GlyphIterator.cpp | 193 void GlyphIterator::setCurrGlyphID(TTGlyphID glyphID) argument 197 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID); 358 LEGlyphID glyphID = glyphStorage[index]; local 361 if (LE_GET_GLYPH(glyphID) >= 0xFFFE) { 366 glyphClass = glyphClassDefinitionTable->getGlyphClass(glyphID); 389 return markAttachClassDefinitionTable->getGlyphClass(glyphID) != markAttachType;
|
H A D | LEGlyphStorage.cpp | 273 void LEGlyphStorage::setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success) argument 289 fGlyphs[glyphIndex] = glyphID;
|
/external/skia/include/gpu/ |
H A D | GrGlyph.h | 52 uint16_t glyphID() const { return UnpackID(fPackedID); } function in struct:GrGlyph 61 static inline PackedID Pack(uint16_t glyphID, GrFixed x, GrFixed y) { argument 64 return (x << 18) | (y << 16) | glyphID;
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | GlyphMapAndroid.cpp | 150 uint16_t glyphID = glyphs[i]; local 152 if (!glyphID) 153 glyphID = EmojiFont::UnicharToGlyph(uni); 154 setGlyphDataForIndex(offset + i, glyphID, fontData); 155 allGlyphs |= glyphID; 159 uint16_t glyphID = glyphs[i]; local 160 setGlyphDataForIndex(offset + i, glyphID, fontData); 161 allGlyphs |= glyphID;
|
/external/skia/emoji/ |
H A D | EmojiFont.cpp | 163 SkScalar EmojiFont::GetAdvanceWidth(uint16_t glyphID, const SkPaint& paint) { argument 164 if (glyphID < kGlyphBase) { 166 glyphID); 170 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); 184 void EmojiFont::Draw(SkCanvas* canvas, uint16_t glyphID, argument 186 if (glyphID < kGlyphBase) { 187 SkDebugf("-------- bad glyph passed to EmojiFont::Draw %d\n", glyphID); 190 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase);
|
/external/skia/legacy/emoji/ |
H A D | EmojiFont.cpp | 162 SkScalar EmojiFont::GetAdvanceWidth(uint16_t glyphID, const SkPaint& paint) { argument 163 if (glyphID < kGlyphBase) { 165 glyphID); 169 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); 183 void EmojiFont::Draw(SkCanvas* canvas, uint16_t glyphID, argument 185 if (glyphID < kGlyphBase) { 186 SkDebugf("-------- bad glyph passed to EmojiFont::Draw %d\n", glyphID); 189 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase);
|
/external/skia/src/gpu/ |
H A D | SkGrFontScaler.cpp | 192 bool SkGrFontScaler::getGlyphPath(uint16_t glyphID, SkPath* path) { argument 194 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID);
|
/external/skia/tests/ |
H A D | PDFPrimitivesTest.cpp | 234 uint16_t glyphID = 65000; local 235 c.drawText(&glyphID, 2, 0, 0, paint);
|
/external/harfbuzz/src/ |
H A D | harfbuzz-gdef.c | 651 HB_UShort glyphID, 661 if ( glyphID >= gdef->LastGlyph ) 668 if ( index < count && glyphID < gcrr[index].Start ) 672 glyph_index = glyphID; 674 glyph_index = glyphID - gcrr[index - 1].End - 1; 679 glyph_index = glyphID - gcrr[index].End - 1; 691 HB_UShort glyphID, 706 error = _HB_OPEN_Get_Class( &gdef->MarkAttachClassDef, glyphID, &class, &index ); 716 error = _HB_OPEN_Get_Class( &gdef->GlyphClassDef, glyphID, &class, &index ); 724 class = Get_New_Class( gdef, glyphID, inde 650 Get_New_Class( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort index ) argument 690 HB_GDEF_Get_Glyph_Property( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort* property ) argument 982 _HB_GDEF_Add_Glyph_Property( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort property ) argument [all...] |
H A D | harfbuzz-open.c | 813 HB_UShort glyphID, 839 if ( glyphID == array[middle] ) 844 else if ( glyphID < array[middle] ) 863 HB_UShort glyphID, 889 if ( glyphID >= rr[middle].Start && glyphID <= rr[middle].End ) 891 *index = rr[middle].StartCoverageIndex + glyphID - rr[middle].Start; 894 else if ( glyphID < rr[middle].Start ) 914 HB_UShort glyphID, 919 case 1: return Coverage_Index1( &c->cf.cf1, glyphID, inde 812 Coverage_Index1( HB_CoverageFormat1* cf1, HB_UShort glyphID, HB_UShort* index ) argument 862 Coverage_Index2( HB_CoverageFormat2* cf2, HB_UShort glyphID, HB_UShort* index ) argument 913 _HB_OPEN_Coverage_Index( HB_Coverage* c, HB_UShort glyphID, HB_UShort* index ) argument 1163 Get_Class1( HB_ClassDefFormat1* cdf1, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument 1191 Get_Class2( HB_ClassDefFormat2* cdf2, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument 1262 _HB_OPEN_Get_Class( HB_ClassDefinition* cd, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument [all...] |
/external/harfbuzz_ng/src/hb-old/ |
H A D | harfbuzz-gdef.c | 651 HB_UShort glyphID, 661 if ( glyphID >= gdef->LastGlyph ) 668 if ( index < count && glyphID < gcrr[index].Start ) 672 glyph_index = glyphID; 674 glyph_index = glyphID - gcrr[index - 1].End - 1; 679 glyph_index = glyphID - gcrr[index].End - 1; 691 HB_UShort glyphID, 706 error = _HB_OPEN_Get_Class( &gdef->MarkAttachClassDef, glyphID, &class, &index ); 716 error = _HB_OPEN_Get_Class( &gdef->GlyphClassDef, glyphID, &class, &index ); 724 class = Get_New_Class( gdef, glyphID, inde 650 Get_New_Class( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort index ) argument 690 HB_GDEF_Get_Glyph_Property( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort* property ) argument 982 _HB_GDEF_Add_Glyph_Property( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort property ) argument [all...] |
H A D | harfbuzz-open.c | 813 HB_UShort glyphID, 839 if ( glyphID == array[middle] ) 844 else if ( glyphID < array[middle] ) 863 HB_UShort glyphID, 889 if ( glyphID >= rr[middle].Start && glyphID <= rr[middle].End ) 891 *index = rr[middle].StartCoverageIndex + glyphID - rr[middle].Start; 894 else if ( glyphID < rr[middle].Start ) 914 HB_UShort glyphID, 919 case 1: return Coverage_Index1( &c->cf.cf1, glyphID, inde 812 Coverage_Index1( HB_CoverageFormat1* cf1, HB_UShort glyphID, HB_UShort* index ) argument 862 Coverage_Index2( HB_CoverageFormat2* cf2, HB_UShort glyphID, HB_UShort* index ) argument 913 _HB_OPEN_Coverage_Index( HB_Coverage* c, HB_UShort glyphID, HB_UShort* index ) argument 1163 Get_Class1( HB_ClassDefFormat1* cdf1, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument 1191 Get_Class2( HB_ClassDefFormat2* cdf2, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument 1262 _HB_OPEN_Get_Class( HB_ClassDefinition* cd, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument [all...] |
/external/skia/legacy/src/core/ |
H A D | SkGlyphCache.cpp | 110 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { argument 111 return fScalerContext->glyphIDToChar(glyphID); 135 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { argument 137 uint32_t id = SkGlyph::MakeID(glyphID); 142 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); 195 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { argument 197 uint32_t id = SkGlyph::MakeID(glyphID); 203 glyph = this->lookupMetrics(glyphID, kFull_MetricsType); 215 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, argument 218 uint32_t id = SkGlyph::MakeID(glyphID, [all...] |
H A D | SkScalerContext.cpp | 165 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& glyphID) { argument 168 glyphID = ctx->generateCharToGlyph(uni); 169 if (glyphID) { 181 unsigned glyphID = glyph.getGlyphID(); local 185 if (glyphID < count) { 188 glyphID -= count; 201 unsigned glyphID; local 202 SkScalerContext* ctx = getContextFromChar(uni, glyphID); 217 unsigned glyphID; local 218 SkScalerContext* ctx = getContextFromChar(uni, glyphID); 233 unsigned glyphID; local 247 glyphIDToChar(uint16_t glyphID) argument [all...] |
H A D | SkPaint.cpp | 553 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); local 556 if (0 == glyphID[i]) { 651 unsigned glyphID = *ptr; local 654 return cache->getGlyphIDMetrics(glyphID); 664 unsigned glyphID = *ptr; local 666 return cache->getGlyphIDMetrics(glyphID); 707 unsigned glyphID = *ptr; local 710 return cache->getGlyphIDAdvance(glyphID); 720 unsigned glyphID = *ptr; local 722 return cache->getGlyphIDAdvance(glyphID); 799 unsigned glyphID = *ptr; local 811 unsigned glyphID = *ptr; local [all...] |
/external/skia/src/core/ |
H A D | SkGlyphCache.cpp | 112 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { argument 113 return fScalerContext->glyphIDToChar(glyphID); 137 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { argument 139 uint32_t id = SkGlyph::MakeID(glyphID); 144 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); 197 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { argument 199 uint32_t id = SkGlyph::MakeID(glyphID); 205 glyph = this->lookupMetrics(glyphID, kFull_MetricsType); 217 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, argument 220 uint32_t id = SkGlyph::MakeID(glyphID, [all...] |
H A D | SkScalerContext.cpp | 168 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& glyphID) { argument 171 glyphID = ctx->generateCharToGlyph(uni); 172 if (glyphID) { 184 unsigned glyphID = glyph.getGlyphID(); local 188 if (glyphID < count) { 191 glyphID -= count; 204 unsigned glyphID; local 205 SkScalerContext* ctx = getContextFromChar(uni, glyphID); 220 unsigned glyphID; local 221 SkScalerContext* ctx = getContextFromChar(uni, glyphID); 236 unsigned glyphID; local 250 glyphIDToChar(uint16_t glyphID) argument [all...] |
H A D | SkPaint.cpp | 565 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); local 568 if (0 == glyphID[i]) { 695 unsigned glyphID = *ptr; local 698 return cache->getGlyphIDMetrics(glyphID); 708 unsigned glyphID = *ptr; local 710 return cache->getGlyphIDMetrics(glyphID); 773 unsigned glyphID = *ptr; local 776 return cache->getGlyphIDAdvance(glyphID); 786 unsigned glyphID = *ptr; local 788 return cache->getGlyphIDAdvance(glyphID); 891 unsigned glyphID = *ptr; local 903 unsigned glyphID = *ptr; local [all...] |
/external/skia/legacy/src/ports/ |
H A D | SkFontHost_mac_atsui.cpp | 203 glyph = layoutPtr->glyphID; 224 GlyphID glyphID = glyph->getGlyphID(fBaseGlyphCount); local 228 OSStatus err = ATSUGlyphGetScreenMetrics(fStyle, 1, &glyphID, 0, true, true, 234 err = ATSUGlyphGetIdealMetrics(fStyle, 1, &glyphID, 0, &idealMetrics); 274 CGGlyph glyphID = glyph.getGlyphID(fBaseGlyphCount); local 280 glyph.fTop + glyph.fHeight, &glyphID, 1);
|