Home
last modified time | relevance | path

Searched refs:GetFontId (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_vector_font/
H A Dui_test_vector_font.cpp203 uint16_t findPath[] = {UIFont::GetInstance()->GetFontId(HYQIHEI_65S), in FontFontEngineMultiLanguageTestJALang001()
204 UIFont::GetInstance()->GetFontId(ROBOTOCONDENSED_REGULAR)}; in FontFontEngineMultiLanguageTestJALang001()
240 uint16_t findPath[] = {UIFont::GetInstance()->GetFontId(HYQIHEI_65S), in FontFontEngineMultiLanguageTestKRLang001()
241 UIFont::GetInstance()->GetFontId(ROBOTOCONDENSED_REGULAR)}; in FontFontEngineMultiLanguageTestKRLang001()
262 uint16_t findPath4[] = {UIFont::GetInstance()->GetFontId(HYQIHEI_65S), in FontFontEngineMultiLanguageTestVILang001()
263 UIFont::GetInstance()->GetFontId(ROBOTOCONDENSED_REGULAR)}; in FontFontEngineMultiLanguageTestVILang001()
284 uint16_t findPath4[] = {UIFont::GetInstance()->GetFontId(HYQIHEI_65S), in FontFontEngineMultiLanguageTestCSLang001()
285 UIFont::GetInstance()->GetFontId(ROBOTOCONDENSED_REGULAR)}; in FontFontEngineMultiLanguageTestCSLang001()
306 uint16_t findPath4[] = {UIFont::GetInstance()->GetFontId(HYQIHEI_65S), in FontFontEngineMultiLanguageTestELLang001()
307 UIFont::GetInstance()->GetFontId(ROBOTOCONDENSED_REGULAR)}; in FontFontEngineMultiLanguageTestELLang001()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dtext_tdd_test.cpp348 if (uilabelView->GetFontId() == font->GetFontId(expectFamily, expectSize)) { in ComponentTextStyleSetSizeFamilyTest006()
353 EXPECT_EQ(uilabelView->GetFontId(), font->GetFontId(expectFamily, expectSize)); in ComponentTextStyleSetSizeFamilyTest006()
362 if (uilabelView->GetFontId() == font->GetFontId(expectVidaLargerFamily, expectVidaLargerSize)) { in ComponentTextStyleSetSizeFamilyTest006()
367 …EXPECT_EQ(uilabelView->GetFontId(), font->GetFontId(expectVidaLargerFamily, expectVidaLargerSize)); in ComponentTextStyleSetSizeFamilyTest006()
377 if (uilabelView->GetFontId() == font->GetFontId(expectVidaLargerFamily, expectVidaLargerSize)) { in ComponentTextStyleSetSizeFamilyTest006()
382 …EXPECT_EQ(uilabelView->GetFontId(), font->GetFontId(expectVidaLargerFamily, expectVidaLargerSize)); in ComponentTextStyleSetSizeFamilyTest006()
H A Dmarquee_tdd_test.cpp276 uint16_t fontSize = uiLabel->GetFontId(); in ComponentMarqueeStyleSetTest011()
321 uint16_t fontSize = uiLabel->GetFontId(); in ComponentMarqueeStyleSetTest012()
372 uint16_t fontSize = uiLabel->GetFontId(); in ComponentMarqueeStyleSetTest013()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_arc_label.cpp228 uint16_t UIArcLabel::GetFontId() in GetFontId() function in OHOS::UIArcLabel
231 return arcLabelText_->GetFontId(); in GetFontId()
276 …abel::DrawArcText(gfxDstBuffer, temp, arcLabelText_->GetText(), center, arcLabelText_->GetFontId(), in DrawArcText()
308 … GetArcTextRect(arcLabelText_->GetText(), arcLabelText_->GetFontId(), arcLabelText_->GetFontSize(), in ReMeasure()
332 return TypedText::GetNextLine(&text[arcTextInfo_.lineStart], arcLabelText_->GetFontId(), in GetLineEnd()
342 …uint16_t letterHeight = UIFont::GetInstance()->GetHeight(arcLabelText_->GetFontId(), arcLabelText_… in MeasureArcTextInfo()
420 return TypedText::GetTextWidth(&text[arcTextInfo_.lineStart], arcLabelText_->GetFontId(), in GetArcLength()
H A Dui_dialog.cpp481 … MATH_MAX(buttonTextWidth, TypedText::GetTextSize(text1, button1_->GetFontId(), BUTTON_FONT_SIZE, in MeasureButtonWidth()
488 … MATH_MAX(buttonTextWidth, TypedText::GetTextSize(text2, button2_->GetFontId(), BUTTON_FONT_SIZE, in MeasureButtonWidth()
495 … MATH_MAX(buttonTextWidth, TypedText::GetTextSize(text3, button3_->GetFontId(), BUTTON_FONT_SIZE, in MeasureButtonWidth()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_label_unit_test.cpp221 uint16_t fontId = label_->GetFontId();
226 EXPECT_EQ(label_->GetFontId(), fontId);
299 EXPECT_EQ(label_->GetFontId(), fontId);
301 EXPECT_EQ(label_->GetFontId(), 0);
H A Dui_label_button_unit_test.cpp202 EXPECT_EQ(labelBtn_->GetFontId(), fontId);
204 EXPECT_EQ(labelBtn_->GetFontId(), 0);
H A Dui_edit_text_unit_test.cpp237 uint16_t fontId = editText->GetFontId();
242 EXPECT_EQ(editText->GetFontId(), fontId);
H A Dui_spannable_string_unit_test.cpp830 spannableString_->GetFontId(i, tempFontId);
848 hasFind_0 = spannableString_->GetFontId(0, output_0);
853 hasFind_6 = spannableString_->GetFontId(6, output_6);
858 hasFind_8 = spannableString_->GetFontId(8, output_8);
953 spannableString_->GetFontId(i, tempFontId);
1030 spannableString_->GetFontId(i, tempFontId);
H A Dui_arc_label_unit_test.cpp230 EXPECT_EQ(arcLabel_->GetFontId(), fontId);
H A Dui_digital_clock_unit_test.cpp193 EXPECT_EQ(text->GetFontId(), 0);
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_label_button.h286 uint16_t GetFontId() in GetFontId() function
289 return labelButtonText_->GetFontId(); in GetFontId()
H A Dui_label.h336 uint16_t GetFontId() in GetFontId() function
339 return labelText_->GetFontId(); in GetFontId()
H A Dui_edit_text.h273 uint8_t GetFontId() in GetFontId() function
276 return inputText_->GetFontId(); in GetFontId()
H A Dtext_adapter.h146 uint16_t GetFontId() const in GetFontId() function
H A Dui_arc_label.h196 uint16_t GetFontId();
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_font/
H A Dui_test_font.cpp471 uint16_t findPath[] = {UIFont::GetInstance()->GetFontId(SOURCE_HAN_SANS_SC_REGULAR)}; in UIKitFontMultiLanguage001()
472 …UIMultiFontManager::GetInstance()->SetSearchFontList(UIFont::GetInstance()->GetFontId(ROBOTO_CONDE… in UIKitFontMultiLanguage001()
500 uint16_t findPath[] = {UIFont::GetInstance()->GetFontId(SOURCE_HAN_SANS_SC_REGULAR)}; in UIKitFontMultiLanguage002()
501 …UIMultiFontManager::GetInstance()->SetSearchFontList(UIFont::GetInstance()->GetFontId(ROBOTO_CONDE… in UIKitFontMultiLanguage002()
683 … uint16_t findPath[] = {UIFont::GetInstance()->GetFontId(DEFAULT_EMOJI_FILENAME, FONT_EMOJI_SIZE)}; in UIKitFontTestDisplayEmoji002()
685 …UIFont::GetInstance()->GetFontId(SOURCE_HAN_SANS_SC_REGULAR, FONT_EMOJI_SIZE), findPath, sizeof(fi… in UIKitFontTestDisplayEmoji002()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/font/
H A Dui_font_unit_test.cpp128 uint8_t ret = UIFont::GetInstance()->GetFontId(nullptr);
140 uint8_t id = UIFont::GetInstance()->GetFontId("", 0);
/ohos5.0/foundation/arkui/ui_lite/interfaces/innerkits/font/
H A Dui_font_vector.h37 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override;
86 uint16_t GetFontId(uint32_t unicode) const;
H A Dui_font_bitmap.h36 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override;
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/font/
H A Dui_font.h92 uint16_t GetFontId(const char* name, uint8_t size = 0)
94 return instance_->GetFontId(name, size);
H A Dbase_font.h55 virtual uint16_t GetFontId(const char* ttfName, uint8_t fontSize) const = 0;
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_spannable_string/
H A Dui_test_spannnable_string.cpp254 const uint16_t id_hwsc = UIFont::GetInstance()->GetFontId(Source_HWSC); in UIKitSpannableStringTestFontId002()
255 const uint16_t id_sc = UIFont::GetInstance()->GetFontId(Source_SC); in UIKitSpannableStringTestFontId002()
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp127 uint16_t fontId = font->GetFontId(name); in SetFont()
135 uint16_t fontId = font->GetFontId(name, size); in SetFont()
190 uint16_t fontId = font->GetFontId(fontParam->ttfName); in SetFontId()
667 …return TypedText::GetTextWidth(text_, GetFontId(), GetFontSize(), strlen(text_), style.letterSpace… in GetMetaTextWidth()
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_vector.cpp559 uint16_t UIFontVector::GetFontId(const char* ttfName, uint8_t fontSize) const in GetFontId() function in OHOS::UIFontVector
574 uint16_t UIFontVector::GetFontId(uint32_t unicode) const in GetFontId() function in OHOS::UIFontVector
786 if (fontId >= FONT_ID_MAX || fontId != GetFontId(unicode)) { in LoadGlyphIntoFace()
825 if (fontId != GetFontId(unicode)) { in LoadGlyphIntoFace()
860 uint16_t unicodeFontId = GetFontId(unicode); in IsGlyphFont()

12