/third_party/flutter/skia/src/ports/skia_ohos/ |
D | SkFontStyleSet_ohos.cpp | 15 : fontConfig_(fontConfig), styleIndex(index), isFallback(isFallback) in SkFontStyleSet_OHOS() 18 tpCount = fontConfig_->getTypefaceCount(styleIndex, isFallback); in SkFontStyleSet_OHOS() 41 SkTypeface* typeface = fontConfig_->getTypeface(styleIndex, index, isFallback); in getStyle() 86 return SkSafeRef(fontConfig_->getTypeface(styleIndex, index, isFallback)); in createTypeface() 99 return SkSafeRef(fontConfig_->getTypeface(styleIndex, pattern, isFallback)); in matchStyle()
|
D | FontConfig_ohos.cpp | 102 int FontConfig_OHOS::getTypefaceCount(int styleIndex, bool isFallback) const in getTypefaceCount() argument 104 if (styleIndex < 0) { in getTypefaceCount() 108 if ((unsigned int)styleIndex < fallbackSet.size()) { in getTypefaceCount() 109 return fallbackSet[styleIndex]->typefaceSet->size(); in getTypefaceCount() 112 if ((unsigned int)styleIndex < genericFamilySet.size()) { in getTypefaceCount() 113 return genericFamilySet[styleIndex]->typefaceSet->size(); in getTypefaceCount() 127 SkTypeface_OHOS* FontConfig_OHOS::getTypeface(int styleIndex, int index, in getTypeface() argument 130 if (styleIndex < 0 || index < 0 || in getTypeface() 131 (isFallback && (unsigned int)styleIndex >= fallbackSet.size()) || in getTypeface() 132 (!isFallback && (unsigned int)styleIndex >= genericFamilySet.size())) { in getTypeface() [all …]
|
D | FontConfig_ohos.h | 109 int getTypefaceCount(int styleIndex, bool isFallback = false) const; 112 SkTypeface_OHOS* getTypeface(int styleIndex, int index, bool isFallback = false) const; 113 SkTypeface_OHOS* getTypeface(int styleIndex, const SkFontStyle& style,
|
D | SkFontStyleSet_ohos.h | 27 int styleIndex = 0; // the index of the font style set variable
|
D | SkFontMgr_ohos.cpp | 97 int styleIndex = 0; in onMatchFamilyStyle() local 99 styleIndex = fontConfig->getStyleIndex(familyName, isFallback); in onMatchFamilyStyle() 101 return SkSafeRef(fontConfig->getTypeface(styleIndex, style, isFallback)); in onMatchFamilyStyle()
|
/third_party/skia/gm/ |
D | inversepaths.cpp | 97 for (size_t styleIndex = 0; styleIndex < SK_ARRAY_COUNT(styles); variable 98 styleIndex++) { 111 paint.setStyle(styles[styleIndex].fPaintStyle); 112 paint.setPathEffect(styles[styleIndex].fPathEffect);
|
/third_party/flutter/skia/gm/ |
D | inversepaths.cpp | 108 for (size_t styleIndex = 0; styleIndex < SK_ARRAY_COUNT(styles); variable 109 styleIndex++) { 122 paint.setStyle(styles[styleIndex].fPaintStyle); 123 paint.setPathEffect(styles[styleIndex].fPathEffect);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeUnitTest.java | 247 for ( int styleIndex = 0; styleIndex < styles.length; ++styleIndex ) { in TestGreek() 251 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek() 256 + ", style: " + styles[styleIndex] in TestGreek()
|
D | MeasureUnitTest.java | 2413 for ( int styleIndex = 0; styleIndex < styles.length; ++styleIndex ) { in TestGreek() 2416 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek() 2420 + ", style: " + styles[styleIndex] in TestGreek()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | TimeUnitTest.java | 250 for ( int styleIndex = 0; styleIndex < styles.length; ++styleIndex ) { in TestGreek() 254 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek() 259 + ", style: " + styles[styleIndex] in TestGreek()
|
D | MeasureUnitTest.java | 2019 for ( int styleIndex = 0; styleIndex < styles.length; ++styleIndex ) { in TestGreek() 2022 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek() 2026 + ", style: " + styles[styleIndex] in TestGreek()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tufmtts.cpp | 381 for ( unsigned int styleIndex = 0; in testGreekWithFallback() local 382 styleIndex < UPRV_LENGTHOF(styles); in testGreekWithFallback() 383 ++styleIndex ) { in testGreekWithFallback() 398 … LocalPointer<TimeUnitFormat> tfmt(new TimeUnitFormat(l, styles[styleIndex], status)); in testGreekWithFallback() 427 …ocale: " + UnicodeString(locales[locIndex]) + " style: " + (int)styles[styleIndex] + " units: " + … in testGreekWithFallback()
|
D | measfmttest.cpp | 3275 for ( int32_t styleIndex = 0; styleIndex < UPRV_LENGTHOF(styles); ++styleIndex ) { in TestGreek() local 3281 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
|
/third_party/chromium/patch/ |
D | 0003-3.2-Beta3-1115.patch | 75885 + * \param styleIndex the index of a font style set 75891 +int FontConfig_OHOS::getTypefaceCount(int styleIndex, bool isFallback) const 75893 + if (styleIndex < 0) { 75897 + if ((unsigned int)styleIndex < fallbackSet.size()) { 75898 + return fallbackSet[styleIndex]->typefaceSet->size(); 75901 + if ((unsigned int)styleIndex < genericFamilySet.size()) { 75902 + return genericFamilySet[styleIndex]->typefaceSet->size(); 75909 + * \param styleIndex the index of a font style set 75914 + * \n Return null, if 'styleIndex' or 'index' is out of range 75916 +SkTypeface_OHOS* FontConfig_OHOS::getTypeface(int styleIndex, int index, [all …]
|