HomeSort by relevance Sort by last modified time
    Searched defs:caret_pos (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/ui/gfx/
selection_model.h 73 size_t caret_pos() const { return selection_.end(); } function in class:gfx::SelectionModel
render_text_pango.cc 77 // Since caret_pos is used internally, we could save utf8 index for caret_pos
127 int caret_pos = 0, trailing = 0; local
129 &caret_pos, &trailing);
133 caret_pos = g_utf8_offset_to_pointer(layout_text_ + caret_pos,
135 DCHECK_LE(static_cast<size_t>(caret_pos), strlen(layout_text_));
138 return SelectionModel(LayoutIndexToTextIndex(caret_pos),
171 if (edge.caret_pos() == selection.caret_pos())
    [all...]
render_text.cc 539 if (!IsValidCursorIndex(cursor.caret_pos()))
553 std::min(model.caret_pos(), text_length));
580 selection(), cursor.caret_pos(), cursor.caret_affinity());
785 size_t caret_pos = caret.caret_pos(); local
786 DCHECK(IsValidLogicalIndex(caret_pos));
793 if (caret_pos == (caret_affinity == CURSOR_BACKWARD ? 0 : text().length())) {
796 if ((GetTextDirection() == base::i18n::RIGHT_TO_LEFT) == (caret_pos == 0))
800 caret_pos : IndexOfAdjacentGrapheme(caret_pos, CURSOR_BACKWARD)
    [all...]

Completed in 160 milliseconds