Lines Matching refs:index
41 bool SpannableString::GetTextStyle(uint16_t index, TextStyle& textStyle)
48 if ((tempStart <= index) && (index < tempEnd)) {
137 bool SpannableString::ExpandSpannableLen(uint16_t index)
139 if (isSpannableLen_ < index) {
141 while (isSpannableLen_ < index && isSpannableLen_ != 0 && isSpannableLen_ < DEFAULT_EXPAND_EDGE) {
185 bool SpannableString::GetSpannable(uint16_t index)
188 if ((isSpannable_ != nullptr) && (index < isSpannableLen_)) {
189 result = isSpannable_[index];
240 bool SpannableString::GetFontSize(uint16_t index, uint8_t& outputSize)
247 if ((tempStart <= index) && (index < tempEnd)) {
298 bool SpannableString::GetFontId(uint16_t index, uint16_t& outputFontId)
305 if ((tempStart <= index) && (index < tempEnd)) {
357 bool SpannableString::GetFontHeight(uint16_t index,
367 if ((tempStart <= index) && (index < tempEnd)) {
374 GetFontId(index, defaultFontId);
375 GetFontSize(index, defaultFontSize);
378 SetFontHeight(outputHeight, index, index + 1);
430 bool SpannableString::GetBackgroundColor(uint16_t index, ColorType& outputBackgroundColor)
437 if ((tempStart <= index) && (index < tempEnd)) {
492 bool SpannableString::GetForegroundColor(uint16_t index, ColorType& outputForegroundColor)
499 if ((tempStart <= index) && (index < tempEnd)) {
555 bool SpannableString::GetLineBackgroundColor(uint16_t index, ColorType& outputLineBackgroundColor)
562 if ((tempStart <= index) && (index < tempEnd)) {