/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | font_collection.cpp | 26 std::shared_ptr<FontCollection> FontCollection::Create() in Create() 28 … static std::shared_ptr<FontCollection> instance = std::make_shared<AdapterTxt::FontCollection>(); in Create() 32 std::shared_ptr<FontCollection> FontCollection::From(std::shared_ptr<txt::FontCollection> fontColle… in From() 38 FontCollection::FontCollection(std::shared_ptr<txt::FontCollection> fontCollection) in FontCollection() function in OHOS::Rosen::AdapterTxt::FontCollection 48 std::shared_ptr<txt::FontCollection> FontCollection::Get() in Get() 53 FontCollection::~FontCollection() in ~FontCollection() 66 void FontCollection::DisableFallback() in DisableFallback() 71 void FontCollection::DisableSystemFont() in DisableSystemFont() 76 std::shared_ptr<Drawing::FontMgr> FontCollection::GetFontMgr() in GetFontMgr() 99 std::shared_ptr<Drawing::Typeface> FontCollection::LoadFont( in LoadFont() [all …]
|
H A D | font_collection.h | 34 class FontCollection : public ::OHOS::Rosen::FontCollection { 36 explicit FontCollection(std::shared_ptr<txt::FontCollection> fontCollection = nullptr); 37 ~FontCollection(); 38 std::shared_ptr<txt::FontCollection> Get(); 51 std::shared_ptr<txt::FontCollection> fontCollection_ = nullptr;
|
H A D | convert.h | 32 #define FONT_COLLECTION_RET std::shared_ptr<OHOS::Rosen::AdapterTxt::FontCollection> 34 DEFINE_CONVERT_FUNC(std::shared_ptr<OHOS::Rosen::FontCollection>, FONT_COLLECTION_RET);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | font_collection.cpp | 32 FontCollection::FontCollection() : enableFontFallback_(true) {} in FontCollection() function in txt::FontCollection 34 FontCollection::~FontCollection() {} in ~FontCollection() 36 size_t FontCollection::GetFontManagersCount() const in GetFontManagersCount() 41 void FontCollection::SetupDefaultFontManager() in SetupDefaultFontManager() 59 void FontCollection::SetAssetFontManager(std::shared_ptr<RSFontMgr> fontManager) in SetAssetFontManager() 77 void FontCollection::SetTestFontManager(std::shared_ptr<RSFontMgr> fontManager) in SetTestFontManager() 101 void FontCollection::DisableFontFallback() in DisableFontFallback() 110 void FontCollection::ClearFontFamilyCache() in ClearFontFamilyCache() 118 sk_sp<skia::textlayout::FontCollection> FontCollection::CreateSktFontCollection() in CreateSktFontCollection() 122 skia::textlayout::FontCollection::SetAdapterTextHeightEnabled( in CreateSktFontCollection() [all …]
|
H A D | font_collection.h | 31 class FontCollection : public std::enable_shared_from_this<FontCollection> { 33 FontCollection(); 35 ~FontCollection(); 49 sk_sp<skia::textlayout::FontCollection> CreateSktFontCollection(); 58 sk_sp<skia::textlayout::FontCollection> sktFontCollection_; 62 DISALLOW_COPY_AND_ASSIGN(FontCollection);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_font_collection.cpp | 48 …_Drawing_FontCollection* fc = (OH_Drawing_FontCollection*)new (std::nothrow) rosen::FontCollection; in OH_Drawing_CreateFontCollection() 55 (OH_Drawing_FontCollection*)new (std::nothrow) OHOS::Rosen::AdapterTxt::FontCollection; in OH_Drawing_CreateFontCollection() 61 … (OH_Drawing_FontCollection*)new (std::nothrow) OHOS::Rosen::AdapterTextEngine::FontCollection; in OH_Drawing_CreateFontCollection() 74 auto fc = std::make_shared<rosen::FontCollection>(); in OH_Drawing_CreateSharedFontCollection() 77 auto fc = std::make_shared<OHOS::Rosen::AdapterTxt::FontCollection>(); in OH_Drawing_CreateSharedFontCollection() 79 auto fc = std::make_shared<OHOS::Rosen::AdapterTextEngine::FontCollection>(); in OH_Drawing_CreateSharedFontCollection() 101 delete ConvertToFontCollection<rosen::FontCollection>(fontCollection); in OH_Drawing_DestroyFontCollection() 104 delete ConvertToFontCollection<OHOS::Rosen::AdapterTxt::FontCollection>(fontCollection); in OH_Drawing_DestroyFontCollection() 106 delete ConvertToFontCollection<OHOS::Rosen::AdapterTextEngine::FontCollection>(fontCollection); in OH_Drawing_DestroyFontCollection() 125 ConvertToFontCollection<rosen::FontCollection>(fontCollection)->DisableSystemFont(); in OH_Drawing_DisableFontCollectionSystemFont() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | typography_test.cpp | 39 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 54 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 70 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 86 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 101 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 125 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 161 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(…
|
H A D | typography_create_test.cpp | 37 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 52 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(…
|
H A D | font_collection_test.cpp | 34 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 53 auto fontCollection = OHOS::Rosen::FontCollection::From(nullptr); 74 auto fontCollection = OHOS::Rosen::FontCollection::From(nullptr);
|
H A D | convert_test.cpp | 35 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(… 36 …std::shared_ptr<OHOS::Rosen::AdapterTxt::FontCollection> adapterFontCollection = AdapterTxt::Conve…
|
H A D | text_line_base_test.cpp | 39 …std::shared_ptr<OHOS::Rosen::FontCollection> fontCollection = OHOS::Rosen::FontCollection::Create(…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | txt_font_collection.h | 36 class ACE_EXPORT TxtFontCollection : public FontCollection { 37 DECLARE_ACE_TYPE(TxtFontCollection, FontCollection) 40 explicit TxtFontCollection(const std::shared_ptr<txt::FontCollection>& fontCollection); 47 static RefPtr<FontCollection> GetInstance(); 50 const std::shared_ptr<txt::FontCollection>& GetRawFontCollection() in GetRawFontCollection() 60 std::shared_ptr<txt::FontCollection> collection_;
|
H A D | txt_font_collection.cpp | 20 RefPtr<FontCollection> TxtFontCollection::GetInstance() in GetInstance() 26 RefPtr<FontCollection> FontCollection::Current() in Current() 49 collection_ = Rosen::FontCollection::Create(); in TxtFontCollection() 63 TxtFontCollection::TxtFontCollection(const std::shared_ptr<txt::FontCollection>& fontCollection) in TxtFontCollection() 67 TxtFontCollection::TxtFontCollection(const std::shared_ptr<Rosen::FontCollection>& fontCollection) in TxtFontCollection()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | font_collection.h | 27 class FontCollection; variable 32 class RS_EXPORT FontCollection { 34 … static std::shared_ptr<FontCollection> From(std::shared_ptr<txt::FontCollection> fontCollection); 35 static std::shared_ptr<FontCollection> Create(); 36 virtual ~FontCollection() = default;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | rosen_font_collection.h | 33 class ACE_EXPORT RosenFontCollection : public FontCollection { 38 std::shared_ptr<txt::FontCollection> GetFontCollection() override; 40 std::shared_ptr<Rosen::FontCollection> GetFontCollection() override; 69 std::shared_ptr<txt::FontCollection> fontCollection_; 76 std::shared_ptr<Rosen::FontCollection> fontCollection_;
|
H A D | font_collection.h | 30 class ACE_EXPORT FontCollection : public NonCopyable { 32 static FontCollection* GetInstance(); 36 virtual std::shared_ptr<txt::FontCollection> GetFontCollection() = 0; 39 virtual std::shared_ptr<Rosen::FontCollection> GetFontCollection() = 0;
|
H A D | rosen_font_collection.cpp | 35 std::shared_ptr<txt::FontCollection> RosenFontCollection::GetFontCollection() in GetFontCollection() 60 std::shared_ptr<Rosen::FontCollection> RosenFontCollection::GetFontCollection() in GetFontCollection() 63 … auto fontCollection = AceType::DynamicCast<NG::TxtFontCollection>(NG::FontCollection::Current()); in GetFontCollection() 82 … auto fontCollection = AceType::DynamicCast<NG::TxtFontCollection>(NG::FontCollection::Current()); in LoadFontFromList() 126 … auto fontCollection = AceType::DynamicCast<NG::TxtFontCollection>(NG::FontCollection::Current()); in InitializeFontCollection()
|
H A D | font_collection.cpp | 24 FontCollection* FontCollection::GetInstance() in GetInstance()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | font_collection.h | 24 class ACE_EXPORT FontCollection : public virtual AceType { 25 DECLARE_ACE_TYPE(FontCollection, AceType) 27 static RefPtr<FontCollection> Current();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | object_mgr.h | 28 class FontCollection; variable 33 class FontCollection; variable 63 using FontCollectionType = rosen::FontCollection; 65 using FontCollectionType = ::OHOS::Rosen::FontCollection;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | paragraph_builder_test.cpp | 37 std::shared_ptr<FontCollection> fontCollection = std::make_shared<FontCollection>(); in SetUpTestCase() 122 std::shared_ptr<FontCollection> fontCollection = std::make_shared<FontCollection>();
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_font_collection.cpp | 19 RefPtr<FontCollection> FontCollection::Current() in Current()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 8 - [FontCollection](#fontcollection):字体管理器,控制各种不同的字体。 446 ## FontCollection section 452 static getGlobalInstance(): FontCollection 454 获取应用全局FontCollection的实例。 462 | [FontCollection](#fontcollection) | FontCollection对象。| 507 let fontCollection: text.FontCollection = new text.FontCollection(); 1282 let fontCollection = new text.FontCollection(); 1335 let fontCollection = new text.FontCollection(); 1379 let fontCollection = new text.FontCollection(); 1430 let fontCollection = new text.FontCollection(); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | font_providers.h | 30 class FontCollection; variable 73 std::shared_ptr<FontCollection> GenerateFontCollection(
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | rosen_render_text_field.h | 46 class FontCollection; variable 52 class FontCollection; variable 145 std::shared_ptr<txt::FontCollection> GetFontCollection(); 147 std::shared_ptr<Rosen::FontCollection> GetFontCollection();
|