Searched refs:cursor_pos_ (Results 1 – 14 of 14) sorted by relevance
79 cursor_pos_ = gfx::Range(cursor_pos); in SetSurroundingText()81 cursor_pos_->set_start(anchor); in SetSurroundingText()83 cursor_pos_->set_end(anchor); in SetSurroundingText()186 if (!cursor_pos_) in GetTextRange()199 if (!cursor_pos_ || composition_.text.empty()) in GetCompositionTextRange()202 range->set_start(cursor_pos_->start()); in GetCompositionTextRange()208 if (!cursor_pos_) in GetEditableSelectionRange()210 range->set_start(cursor_pos_->start()); in GetEditableSelectionRange()211 range->set_end(cursor_pos_->end()); in GetEditableSelectionRange()296 if (!cursor_pos_) in ExtendSelectionAndDelete()[all …]
166 base::Optional<gfx::Range> cursor_pos_; variable
86 cursor_pos_ = gfx::Range(cursor_pos); in SetSurroundingText()88 cursor_pos_->set_start(anchor); in SetSurroundingText()90 cursor_pos_->set_end(anchor); in SetSurroundingText()188 if (!cursor_pos_) in GetTextRange()201 if (!cursor_pos_ || composition_.text.empty()) in GetCompositionTextRange()204 range->set_start(cursor_pos_->start()); in GetCompositionTextRange()210 if (!cursor_pos_) in GetEditableSelectionRange()212 range->set_start(cursor_pos_->start()); in GetEditableSelectionRange()213 range->set_end(cursor_pos_->end()); in GetEditableSelectionRange()290 if (!cursor_pos_) in ExtendSelectionAndDelete()[all …]
162 base::Optional<gfx::Range> cursor_pos_; variable
99 cursor_pos_ = min_value_; in calculate_cursor_position()101 cursor_pos_ = 0; in calculate_cursor_position()103 cursor_pos_ = get_bar_size(); in calculate_cursor_position()273 set_highlighted(pointer >= cursor_pos_ && pointer <= cursor_pos_ + cursor_size_ && y >= 0 && in cursor_moved()281 if (cursor_pos_ < 0) { in cursor_moved()282 cursor_pos_ = 0; in cursor_moved()284 if (cursor_pos_ > get_bar_size()) { in cursor_moved()285 cursor_pos_ = get_bar_size(); in cursor_moved()341 cursor_pos_ = pointer - ofs; in bar_pressed()422 if (x >= cursor_pos_ && x <= cursor_pos_ + cursor_size_) { in handle_mousepress()[all …]
127 int32_t cursor_pos_; // cursor position variable
54 int cursor_pos_; // Cursor position variable84 int cursor_pos() const { return cursor_pos_; } in cursor_pos()85 void cursor_pos(int p) { cursor_pos_ = p; } in cursor_pos()
569 chars_[cursor_pos_++] = *in; in print()572 cursor_pos_ = 16; in print()
128 void SetCursorPos(int pos) { cursor_pos_ = pos; } in SetCursorPos()146 *range = gfx::Range(cursor_pos_, cursor_pos_); in GetEditableSelectionRange()157 int cursor_pos_ = 0; member in arc::__anon7dd767f50111::MockTextInputClient
137 cursor_pos_ = 0; in clear()260 draw_cursor(cursor_pos_ == 0 ? 0 : cursor_pos_ - 1); in draw_contents()389 cursor_pos_ = cursor_x - text_pos_; in update_text_cache()
73 int cursor_pos_; member in gui::textbox
465 const Point& cursor_pos() const { return cursor_pos_; } in cursor_pos()550 Point cursor_pos_; variable
889 cursor_pos_ = new_location; in MouseMotion()
623 u_int16 cursor_pos_; variable