Lines Matching refs:letterIndex

25 uint16_t DrawLabel::DrawTextOneLine(BufferInfo& gfxDstBuffer, const LabelLineInfo& labelLine, uint16_t& letterIndex)
41 labelLine.fontSize, letterIndex, labelLine.spannableString);
50 textStyle = labelLine.textStyles[letterIndex];
59 if (labelLine.spannableString != nullptr && labelLine.spannableString->GetSpannable(letterIndex)) {
60 labelLine.spannableString->GetFontId(letterIndex, fontId);
61 labelLine.spannableString->GetFontSize(letterIndex, fontSize);
62 havebackgroundColor = labelLine.spannableString->GetBackgroundColor(letterIndex, backgroundColor);
63 labelLine.spannableString->GetForegroundColor(letterIndex, foregroundColor);
65 labelLine.spannableString->GetTextStyle(letterIndex, textStyle);
68 labelLine.spannableString->GetLineBackgroundColor(letterIndex, lineBackgroundColor);
115 letterIndex++;
121 uint16_t letterIndex, SpannableString* spannableString)
131 letterIndex++;
134 if (spannableString != nullptr && spannableString->GetSpannable(letterIndex)) {
136 spannableString->GetFontSize(letterIndex, tempSize);
141 letterIndex++;
490 void DrawLabel::GetLineBackgroundColor(uint16_t letterIndex, List<LineBackgroundColor>* linebackgroundColor,
498 if (letterIndex >= start && letterIndex <= end) {
506 void DrawLabel::GetBackgroundColor(uint16_t letterIndex, List<BackgroundColor>* backgroundColor,
514 if (letterIndex >= start && letterIndex <= end) {
522 void DrawLabel::GetForegroundColor(uint16_t letterIndex, List<ForegroundColor>* foregroundColor, ColorType& fgColor)
529 if (letterIndex >= start && letterIndex <= end) {
536 void DrawLabel::DrawLineBackgroundColor(BufferInfo& gfxDstBuffer, uint16_t letterIndex, const LabelLineInfo& labelLine)
544 labelLine.spannableString->GetSpannable(letterIndex)) {
547 letterIndex, linebackgroundColor);
559 letterIndex++;