Searched refs:fontId_ (Results 1 - 4 of 4) sorted by relevance
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | text.cpp | 30 fontId_(0), in Text() 129 ((fontId_ != fontId) || (fontSize_ != size))) { in SetFont() 130 fontId_ = fontId; in SetFont() 180 if ((fontId_ == fontId) && (fontSize_ != 0) && !font->IsVectorFont()) { in SetFontId() 191 if ((fontId != fontBuilder->GetTotalFontId()) && ((fontId_ != fontId) || in SetFontId() 193 fontId_ = fontId; in SetFontId() 198 fontId_ = fontId; in SetFontId() 211 textSize_ = TypedText::GetTextSize(text_, fontId_, fontSize_, style.letterSpace_, style.lineHeight_, maxWidth, in ReMeasureTextSize() 215 if (UIFont::GetInstance()->GetFontHeader(head, fontId_, fontSize_) != 0) { in ReMeasureTextSize() 279 uint16_t fontHeight = font->GetHeight(fontId_, fontSize in Draw() [all...] |
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | text_adapter.h | 132 fontId_ = fontId; in SetFontId() 148 return fontId_; in GetFontId() 269 uint16_t fontId_; member in OHOS::TextAdapter
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | text_adapter.cpp | 43 fontId_ = style_.font_; in TextAdapter() 110 newView->SetFontId(fontId_); in GetDynamicText() 148 newView->SetFontId(fontId_); in GetIntegerText()
|
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | text.h | 273 return fontId_; in GetFontId() 608 uint16_t fontId_; member in OHOS::Text
|
Completed in 3 milliseconds