Searched refs:SkFontStyleSet (Results 1 - 15 of 15) sorted by relevance

/external/skia/include/ports/
H A DSkFontMgr.h22 class SK_API SkFontStyleSet : public SkRefCnt { class in inherits:SkRefCnt
29 static SkFontStyleSet* CreateEmpty();
42 SkFontStyleSet* createStyleSet(int index) const;
53 SkFontStyleSet* matchFamily(const char familyName[]) const;
179 virtual SkFontStyleSet* onCreateStyleSet(int index)const = 0;
182 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const = 0;
H A DSkFontMgr_indirect.h37 SkFontStyleSet* onCreateStyleSet(int index) const override;
39 SkFontStyleSet* onMatchFamily(const char familyName[]) const override;
/external/skia/src/core/
H A DSkFontMgr.cpp17 class SkEmptyFontStyleSet : public SkFontStyleSet {
21 SkDEBUGFAIL("SkFontStyleSet::getStyle called on empty set");
24 SkDEBUGFAIL("SkFontStyleSet::createTypeface called on empty set");
32 SkFontStyleSet* SkFontStyleSet::CreateEmpty() { return new SkEmptyFontStyleSet; }
44 SkFontStyleSet* onCreateStyleSet(int index) const override {
48 SkFontStyleSet* onMatchFamily(const char[]) const override {
49 return SkFontStyleSet::CreateEmpty();
82 static SkFontStyleSet* emptyOnNull(SkFontStyleSet* fsse
[all...]
/external/skia/gm/
H A Dfontmgr.cpp100 SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i));
147 SkFontStyleSet* fset) {
165 SkFontStyleSet* fset) {
195 SkAutoTUnref<SkFontStyleSet> fset;
275 SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i));
/external/skia/src/fonts/
H A DSkFontMgr_indirect.cpp25 class SkStyleSet_Indirect : public SkFontStyleSet {
81 SkFontStyleSet* SkFontMgr_Indirect::onCreateStyleSet(int index) const {
89 SkFontStyleSet* SkFontMgr_Indirect::onMatchFamily(const char familyName[]) const {
H A DSkFontMgr_fontconfig.cpp140 class SkFontStyleSet_FC : public SkFontStyleSet {
235 SkFontStyleSet* onCreateStyleSet(int index) const override {
239 SkFontStyleSet* onMatchFamily(const char familyName[]) const override {
/external/skia/src/ports/
H A DSkFontMgr_android.cpp140 class SkFontStyleSet_Android : public SkFontStyleSet {
270 typedef SkFontStyleSet INHERITED;
323 SkFontStyleSet* onCreateStyleSet(int index) const override {
330 SkFontStyleSet* onMatchFamily(const char familyName[]) const override {
351 SkAutoTUnref<SkFontStyleSet> sset(this->matchFamily(familyName));
511 SkFontStyleSet* fDefaultFamily;
551 SkFontStyleSet* set = this->onMatchFamily(gDefaultNames[i]);
H A DSkFontMgr_win_dw.cpp285 SkFontStyleSet* onCreateStyleSet(int index) const override;
286 SkFontStyleSet* onMatchFamily(const char familyName[]) const override;
322 class SkFontStyleSet_DirectWrite : public SkFontStyleSet {
481 SkFontStyleSet* SkFontMgr_DirectWrite::onCreateStyleSet(int index) const {
488 SkFontStyleSet* SkFontMgr_DirectWrite::onMatchFamily(const char familyName[]) const {
505 SkAutoTUnref<SkFontStyleSet> sset(this->matchFamily(familyName));
H A DSkFontMgr_custom.cpp121 class SkFontStyleSet_Custom : public SkFontStyleSet {
261 SkAutoTUnref<SkFontStyleSet> sset(this->matchFamily(familyName));
H A DSkFontMgr_fontconfig.cpp464 class StyleSet : public SkFontStyleSet {
621 SkFontStyleSet* onCreateStyleSet(int index) const override {
690 SkFontStyleSet* onMatchFamily(const char familyName[]) const override {
H A DSkFontHost_mac.cpp2203 class SkFontStyleSet_Mac : public SkFontStyleSet {
2286 static SkFontStyleSet* CreateSet(CFStringRef cfFamilyName) {
2321 SkFontStyleSet* onCreateStyleSet(int index) const override {
2328 SkFontStyleSet* onMatchFamily(const char familyName[]) const override {
2335 SkAutoTUnref<SkFontStyleSet> sset(this->matchFamily(familyName));
H A DSkFontHost_win.cpp2376 class SkFontStyleSetGDI : public SkFontStyleSet {
2444 SkFontStyleSet* onCreateStyleSet(int index) const override {
2449 SkFontStyleSet* onMatchFamily(const char familyName[]) const override {
2461 SkAutoTUnref<SkFontStyleSet> sset(this->matchFamily(familyName));
/external/skia/tests/
H A DTextBlobCacheTest.cpp97 SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i));
H A DFontMgrTest.cpp94 SkAutoTUnref<SkFontStyleSet> fnset(fm->matchFamily(fname.c_str()));
95 SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i));
161 class TestFontStyleSet : public SkFontStyleSet {
H A DFontNamesTest.cpp148 SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i));

Completed in 2002 milliseconds