Lines Matching refs:text_

29     : text_(nullptr),
52 if (text_ != nullptr) {
53 UIFree(text_);
54 text_ = nullptr;
95 if (text_ != nullptr) {
96 if (strcmp(text, text_) == 0) {
99 UIFree(text_);
100 text_ = nullptr;
102 text_ = static_cast<char*>(UIMalloc(textLen + 1));
103 if (text_ == nullptr) {
106 if (strncpy_s(text_, textLen + 1, text, textLen) != EOK) {
107 UIFree(text_);
108 text_ = nullptr;
211 textSize_ = TypedText::GetTextSize(text_, fontId_, fontSize_, style.letterSpace_, style.lineHeight_, maxWidth,
253 if ((text_ == nullptr) || (strlen(text_) == 0) || (fontSize_ == 0)) {
281 font->GetLineMaxHeight(text_, textLine_[0].lineBytes, fontId_, fontSize_, 0, spannableString_);
297 &text_[lineBegin], textLine_[i].lineBytes, fontId_, fontSize_,
317 0, opa, style, &text_[lineBegin], lineBytes,
330 letterIndex = TypedText::GetUTF8CharacterSize(text_, lineBegin + lineBytes);
369 while (j >= 0 && text_[lineBegin + j] == ' ') {
413 if (text_ == nullptr) {
423 while ((begin < textLen) && (text_[begin] != '\0') && (lineNum < MAX_LINE_COUNT)) {
452 while ((begin < textLen) && (text_[begin] != '\0') && (lineNum < MAX_LINE_COUNT)) {
468 return (text_ != nullptr) ? (strlen(text_)) : 0;
476 uint16_t nextLineBytes = UIFontAdaptor::GetNextLineAndWidth(&text_[begin], fontId_, fontSize_, letterSpace,
520 UIFontAdaptor::GetNextLineAndWidth(text_, fontId_, fontSize_, style.letterSpace_,
535 int16_t textWidth = TypedText::GetTextWidth(text_, fontId_, fontSize_, GetTextStrLen(),
543 if (text_ == nullptr) {
560 uint32_t textLen = static_cast<uint32_t>(strlen(text_));
563 while ((lineStart < textLen) && (text_[lineStart] != '\0')) {
565 nextLineStart += UIFontAdaptor::GetNextLineAndWidth(&text_[lineStart], fontId_, fontSize_, style.letterSpace_,
583 UIFontAdaptor::GetNextLineAndWidth(&text_[lineStart], fontId_, fontSize_, style.letterSpace_, width, lineHeight,
605 if (text_ != nullptr && spannableString_ == nullptr) {
667 return TypedText::GetTextWidth(text_, GetFontId(), GetFontSize(), strlen(text_), style.letterSpace_);