Lines Matching refs:fontId
127 uint16_t fontId = font->GetFontId(name);
128 if ((fontId != UIFontBuilder::GetInstance()->GetTotalFontId()) &&
129 ((fontId_ != fontId) || (fontSize_ != size))) {
130 fontId_ = fontId;
135 uint16_t fontId = font->GetFontId(name, size);
136 SetFontId(fontId);
172 void Text::SetFontId(uint16_t fontId)
175 if (fontId >= fontBuilder->GetTotalFontId()) {
176 GRAPHIC_LOGE("Text::SetFontId invalid fontId(%hhd)", fontId);
180 if ((fontId_ == fontId) && (fontSize_ != 0) && !font->IsVectorFont()) {
185 UITextLanguageFontParam* fontParam = fontBuilder->GetTextLangFontsTable(fontId);
190 uint16_t fontId = font->GetFontId(fontParam->ttfName);
191 if ((fontId != fontBuilder->GetTotalFontId()) && ((fontId_ != fontId) ||
193 fontId_ = fontId;
198 fontId_ = fontId;
599 uint16_t fontId = GetSpanFontIdBySize(size);
601 if (fontId == fontId_) {
614 spannableString_->SetFontId(fontId, start, end);
646 for (uint16_t fontId = 0; fontId < fontBuilder->GetTotalFontId(); fontId++) {
647 UITextLanguageFontParam* tempFontParam = fontBuilder->GetTextLangFontsTable(fontId);
652 return fontId;