/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_vector_font/ |
H A D | ui_test_vector_font.cpp | 203 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 D | text_tdd_test.cpp | 348 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 D | marquee_tdd_test.cpp | 276 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 D | ui_arc_label.cpp | 228 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 D | ui_dialog.cpp | 481 … 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 D | ui_label_unit_test.cpp | 221 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 D | ui_label_button_unit_test.cpp | 202 EXPECT_EQ(labelBtn_->GetFontId(), fontId); 204 EXPECT_EQ(labelBtn_->GetFontId(), 0);
|
H A D | ui_edit_text_unit_test.cpp | 237 uint16_t fontId = editText->GetFontId(); 242 EXPECT_EQ(editText->GetFontId(), fontId);
|
H A D | ui_spannable_string_unit_test.cpp | 830 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 D | ui_arc_label_unit_test.cpp | 230 EXPECT_EQ(arcLabel_->GetFontId(), fontId);
|
H A D | ui_digital_clock_unit_test.cpp | 193 EXPECT_EQ(text->GetFontId(), 0);
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_label_button.h | 286 uint16_t GetFontId() in GetFontId() function 289 return labelButtonText_->GetFontId(); in GetFontId()
|
H A D | ui_label.h | 336 uint16_t GetFontId() in GetFontId() function 339 return labelText_->GetFontId(); in GetFontId()
|
H A D | ui_edit_text.h | 273 uint8_t GetFontId() in GetFontId() function 276 return inputText_->GetFontId(); in GetFontId()
|
H A D | text_adapter.h | 146 uint16_t GetFontId() const in GetFontId() function
|
H A D | ui_arc_label.h | 196 uint16_t GetFontId();
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_font/ |
H A D | ui_test_font.cpp | 471 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 D | ui_font_unit_test.cpp | 128 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 D | ui_font_vector.h | 37 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override; 86 uint16_t GetFontId(uint32_t unicode) const;
|
H A D | ui_font_bitmap.h | 36 uint16_t GetFontId(const char* ttfName, uint8_t fontSize = 0) const override;
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/font/ |
H A D | ui_font.h | 92 uint16_t GetFontId(const char* name, uint8_t size = 0) 94 return instance_->GetFontId(name, size);
|
H A D | base_font.h | 55 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 D | ui_test_spannnable_string.cpp | 254 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 D | text.cpp | 127 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 D | ui_font_vector.cpp | 559 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()
|