/external/skia/legacy/src/core/ |
D | SkAdvancedTypefaceMetrics.cpp | 45 if (range->fAdvance.count() < expectedAdvanceCount) { in stripUninterestingTrailingAdvancesFromRange() 50 if (range->fAdvance[i] != kDontCareAdvance && in stripUninterestingTrailingAdvancesFromRange() 51 range->fAdvance[i] != kInvalidAdvance && in stripUninterestingTrailingAdvancesFromRange() 52 range->fAdvance[i] != 0) { in stripUninterestingTrailingAdvancesFromRange() 63 range->fAdvance.setCount(0); in resetRange() 88 SkASSERT(range->fAdvance.count() == range->fEndId - range->fStartId + 1); in zeroWildcardsInRange() 91 for (int i = 0; i < range->fAdvance.count(); ++i) { in zeroWildcardsInRange() 92 if (range->fAdvance[i] == kDontCareAdvance) { in zeroWildcardsInRange() 93 range->fAdvance[i] = 0; in zeroWildcardsInRange() 117 SkASSERT(range->fAdvance.count() >= newLength); in finishRange() [all …]
|
/external/skia/src/core/ |
D | SkAdvancedTypefaceMetrics.cpp | 51 if (range->fAdvance.count() < expectedAdvanceCount) { in stripUninterestingTrailingAdvancesFromRange() 56 if (range->fAdvance[i] != kDontCareAdvance && in stripUninterestingTrailingAdvancesFromRange() 57 range->fAdvance[i] != kInvalidAdvance && in stripUninterestingTrailingAdvancesFromRange() 58 range->fAdvance[i] != 0) { in stripUninterestingTrailingAdvancesFromRange() 69 range->fAdvance.setCount(0); in resetRange() 94 SkASSERT(range->fAdvance.count() == range->fEndId - range->fStartId + 1); in zeroWildcardsInRange() 97 for (int i = 0; i < range->fAdvance.count(); ++i) { in zeroWildcardsInRange() 98 if (range->fAdvance[i] == kDontCareAdvance) { in zeroWildcardsInRange() 99 range->fAdvance[i] = 0; in zeroWildcardsInRange() 123 SkASSERT(range->fAdvance.count() >= newLength); in finishRange() [all …]
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 38 fAdvance = 0; // signals we can't draw anything in SkPath1DPathEffect() 61 fAdvance = advance; in SkPath1DPathEffect() 73 if (fAdvance > 0) { in filterPath() 150 fAdvance = buffer.readScalar(); in SkPath1DPathEffect() 151 if (fAdvance > 0) { in SkPath1DPathEffect() 169 buffer.writeScalar(fAdvance); in flatten() 170 if (fAdvance > 0) { in flatten() 199 return fAdvance; in next()
|
/external/skia/legacy/src/effects/ |
D | Sk1DPathEffect.cpp | 36 fAdvance = 0; // signals we can't draw anything in SkPath1DPathEffect() 57 fAdvance = advance; in SkPath1DPathEffect() 69 if (fAdvance > 0) { in filterPath() 140 fAdvance = buffer.readScalar(); in SkPath1DPathEffect() 141 if (fAdvance > 0) { in SkPath1DPathEffect() 153 buffer.writeScalar(fAdvance); in flatten() 154 if (fAdvance > 0) { in flatten() 181 return fAdvance; in next()
|
/external/skia/tests/ |
D | WArrayTest.cpp | 116 result.appendf("%d %d %d", data->fStartId, data->fEndId, data->fAdvance[0]); in stringify_advance_data() 120 for (int i = 0; i < data->fAdvance.count(); ++i) { in stringify_advance_data() 124 result.appendf("%d", data->fAdvance[i]); in stringify_advance_data() 129 result.appendf("<Default=%d>", data->fAdvance[0]); in stringify_advance_data()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 315 SkASSERT(advanceInfo->fAdvance.count() == 1); in composeAdvanceData() 316 *defaultAdvance = advanceInfo->fAdvance[0]; in composeAdvanceData() 321 for (int j = 0; j < advanceInfo->fAdvance.count(); j++) in composeAdvanceData() 322 appendAdvance(advanceInfo->fAdvance[j], emSize, in composeAdvanceData() 329 SkASSERT(advanceInfo->fAdvance.count() == 1); in composeAdvanceData() 332 appendAdvance(advanceInfo->fAdvance[0], emSize, result); in composeAdvanceData() 1261 defaultWidth = widthEntry->fAdvance[0]; in populate() 1308 if (endIndex > widthRangeEntry->fAdvance.count()) in addWidthInfoFromRange() 1309 endIndex = widthRangeEntry->fAdvance.count(); in addWidthInfoFromRange() 1311 appendWidth(widthRangeEntry->fAdvance[0], emSize, widthArray.get()); in addWidthInfoFromRange() [all …]
|
/external/skia/include/effects/ |
D | Sk1DPathEffect.h | 72 SkScalar fAdvance; // copied from constructor variable
|
/external/skia/legacy/include/effects/ |
D | Sk1DPathEffect.h | 80 SkScalar fAdvance; // copied from constructor variable
|
/external/skia/legacy/include/core/ |
D | SkAdvancedTypefaceMetrics.h | 92 SkTDArray<Data> fAdvance; member
|
/external/skia/include/core/ |
D | SkAdvancedTypefaceMetrics.h | 94 SkTDArray<Data> fAdvance; member
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 577 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics() 592 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics()
|
D | SkFontHost_win_dw.cpp | 1545 info->fGlyphWidths->fAdvance.append(1, &advance);
|
D | SkFontHost_win.cpp | 1528 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
|
D | SkFontHost_mac_coretext.cpp | 1562 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_FreeType.cpp | 563 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics() 578 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics()
|
D | SkFontHost_win.cpp | 1168 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
|
D | SkFontHost_mac_coretext.cpp | 1710 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
|