Searched refs:layout_text_ (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | render_text_pango.cc | 75 layout_text_(NULL) { in RenderTextPango() 114 caret_pos = g_utf8_offset_to_pointer(layout_text_ + caret_pos, in FindCursorPosition() 115 trailing) - layout_text_; in FindCursorPosition() 116 DCHECK_LE(static_cast<size_t>(caret_pos), strlen(layout_text_)); in FindCursorPosition() 253 offset = std::min<size_t>(offset, g_utf8_strlen(layout_text_, -1)); in TextIndexToLayoutIndex() 254 const char* layout_pointer = g_utf8_offset_to_pointer(layout_text_, offset); in TextIndexToLayoutIndex() 255 return (layout_pointer - layout_text_); in TextIndexToLayoutIndex() 260 const char* layout_pointer = layout_text_ + index; in LayoutIndexToTextIndex() 261 const long offset = g_utf8_pointer_to_offset(layout_text_, layout_pointer); in LayoutIndexToTextIndex() 279 offset < g_utf8_strlen(layout_text_, -1)); in IsCursorablePosition() [all …]
|
D | render_text.cc | 875 return layout_text_.empty() ? text_ : layout_text_; in GetLayoutText() 1087 layout_text_.clear(); in UpdateLayoutText() 1093 layout_text_.assign(obscured_text_length, kPasswordReplacementChar); in UpdateLayoutText() 1107 if (layout_text_.length() > cp_start) in UpdateLayoutText() 1108 layout_text_.replace(cp_start, 1, text_.substr(start, end - start)); in UpdateLayoutText() 1112 const base::string16& text = obscured_ ? layout_text_ : text_; in UpdateLayoutText() 1117 layout_text_.assign(text.substr(0, iter.getIndex()) + gfx::kEllipsisUTF16); in UpdateLayoutText()
|
D | render_text_pango.h | 81 const char* layout_text_; variable
|
D | render_text.h | 632 base::string16 layout_text_; variable
|