Home
last modified time | relevance | path

Searched refs:isFallback (Results 1 – 12 of 12) sorted by relevance

/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DFakeResult.java23 .thenComparing(r -> r.isFallback);
53 private final boolean isFallback; field in FakeResult
57 RbPath path, ImmutableList<String> values, boolean grouped, int index, boolean isFallback) { in FakeResult() argument
61 this.isFallback = isFallback; in FakeResult()
65 boolean isFallback() { in isFallback() method in FakeResult
66 return isFallback; in isFallback()
79 return isFallback && !other.isFallback in isFallbackFor()
97 && isFallback == other.isFallback; in equals()
104 return Objects.hash(getKey(), index, isFallback); in hashCode()
/third_party/flutter/skia/src/ports/skia_ohos/
DSkFontStyleSet_ohos.cpp14 int index, bool isFallback) in SkFontStyleSet_OHOS() argument
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()
DSkFontStyleSet_ohos.h19 int index, bool isFallback = false);
28 …bool isFallback = false; // the flag of font style set. False for fallback family, true for generi… variable
DSkFontMgr_ohos.cpp75 bool isFallback = false; in onMatchFamily() local
76 int index = fontConfig->getStyleIndex(familyName, isFallback); in onMatchFamily()
80 return new SkFontStyleSet_OHOS(fontConfig, index, isFallback); in onMatchFamily()
96 bool isFallback = false; in onMatchFamilyStyle() local
99 styleIndex = fontConfig->getStyleIndex(familyName, isFallback); in onMatchFamilyStyle()
101 return SkSafeRef(fontConfig->getTypeface(styleIndex, style, isFallback)); in onMatchFamilyStyle()
DFontConfig_ohos.h109 int getTypefaceCount(int styleIndex, bool isFallback = false) const;
110 int getStyleIndex(const char* familyName, bool& isFallback) const;
112 SkTypeface_OHOS* getTypeface(int styleIndex, int index, bool isFallback = false) const;
114 bool isFallback = false) const;
DFontConfig_ohos.cpp102 int FontConfig_OHOS::getTypefaceCount(int styleIndex, bool isFallback) const in getTypefaceCount()
107 if (isFallback) { in getTypefaceCount()
128 bool isFallback) const in getTypeface()
131 (isFallback && (unsigned int)styleIndex >= fallbackSet.size()) || in getTypeface()
132 (!isFallback && (unsigned int)styleIndex >= genericFamilySet.size())) { in getTypeface()
135 if (isFallback) { in getTypeface()
158 bool isFallback) const in getTypeface()
161 (isFallback && (unsigned int)styleIndex >= fallbackSet.size()) || in getTypeface()
162 (!isFallback && (unsigned int)styleIndex >= genericFamilySet.size())) { in getTypeface()
166 if (isFallback) { in getTypeface()
[all …]
/third_party/flutter/skia/src/ports/
DSkFontMgr_config_parser.cpp70 const SkString& basePath, bool isFallback, const char* filename, in FamilyData()
78 , fIsFallback(isFallback) in FamilyData()
486 const SkString& basePath, bool isFallback) in parse_config_file() argument
504 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file()
DSkFontMgr_android_parser.cpp89 const SkString& basePath, bool isFallback, const char* filename, in FamilyData()
97 , fIsFallback(isFallback) in FamilyData()
636 const SkString& basePath, bool isFallback) in parse_config_file() argument
654 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file()
/third_party/skia/src/ports/
DSkFontMgr_android_parser.cpp91 const SkString& basePath, bool isFallback, const char* filename, in FamilyData()
99 , fIsFallback(isFallback) in FamilyData()
646 const SkString& basePath, bool isFallback) in parse_config_file() argument
664 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file()
/third_party/flutter/skia/src/gpu/text/
DGrTextBlob.h349 bool isFallback() { return fFlags.argbFallback; } in isFallback() function
DGrTextBlob.cpp448 calculate_translation(!this->drawAsDistanceFields() && !this->isFallback(), viewMatrix, in computeTranslation()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch75886 + * \param isFallback to indicate the font style set is from generic family or fallback family
75891 +int FontConfig_OHOS::getTypefaceCount(int styleIndex, bool isFallback) const
75896 + if (isFallback) {
75911 + * \param isFallback false, the font style set is generic
75917 + bool isFallback) const
75920 + (isFallback && (unsigned int)styleIndex >= fallbackSet.size()) ||
75921 + (!isFallback && (unsigned int)styleIndex >= genericFamilySet.size())) {
75924 + if (isFallback) {
75941 + * \param isFallback false, the font style set is generic
75947 + bool isFallback) const
[all …]