HomeSort by relevance Sort by last modified time
    Searched refs:GetCursorPosition (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/ui/views/controls/textfield/
textfield_views_model_unittest.cc 89 EXPECT_EQ(5U, model.GetCursorPosition());
93 EXPECT_EQ(4U, model.GetCursorPosition());
134 EXPECT_EQ(3U, model.GetCursorPosition());
139 EXPECT_EQ(2U, model.GetCursorPosition());
167 EXPECT_EQ(0U, model.GetCursorPosition());
170 EXPECT_EQ(2U, model.GetCursorPosition());
186 EXPECT_EQ(4U, model.GetCursorPosition());
199 EXPECT_EQ(model.GetText().length(), model.GetCursorPosition());
208 EXPECT_EQ(0U, model.GetCursorPosition());
214 EXPECT_EQ(0U, model.GetCursorPosition());
    [all...]
textfield_views_model.cc 322 size_t old_cursor = GetCursorPosition();
343 size_t save = GetCursorPosition();
362 if (GetText().length() > GetCursorPosition()) {
363 size_t cursor_position = GetCursorPosition();
383 size_t cursor_position = GetCursorPosition();
394 size_t TextfieldViewsModel::GetCursorPosition() const {
483 size_t old_cursor = GetCursorPosition();
491 return old != GetText() || old_cursor != GetCursorPosition();
506 size_t old_cursor = GetCursorPosition();
508 return old != GetText() || old_cursor != GetCursorPosition();
    [all...]
native_textfield_wrapper.h 122 virtual size_t GetCursorPosition() const = 0;
textfield_views_model.h 119 size_t GetCursorPosition() const;
native_textfield_views_unittest.cc 380 EXPECT_EQ(0U, textfield_->GetCursorPosition());
384 EXPECT_EQ(7U, textfield_->GetCursorPosition());
391 EXPECT_EQ(7U, textfield_->GetCursorPosition());
401 EXPECT_EQ(0U, textfield_->GetCursorPosition());
406 EXPECT_EQ(6U, textfield_->GetCursorPosition());
417 EXPECT_EQ(6U, textfield_->GetCursorPosition());
435 EXPECT_EQ(0U, textfield_->GetCursorPosition());
440 EXPECT_EQ(1U, textfield_->GetCursorPosition());
449 EXPECT_EQ(1U, textfield_->GetCursorPosition());
    [all...]
textfield.h 219 size_t GetCursorPosition() const;
textfield.cc 377 size_t Textfield::GetCursorPosition() const {
378 return native_wrapper_->GetCursorPosition();
native_textfield_views.h 131 virtual size_t GetCursorPosition() const OVERRIDE;
native_textfield_views.cc 652 size_t NativeTextfieldViews::GetCursorPosition() const {
653 return model_->GetCursorPosition();
953 const size_t change_offset = model_->GetCursorPosition();
    [all...]
  /external/chromium_org/ui/views/touchui/
touch_selection_controller_impl_unittest.cc 89 gfx::Point GetCursorPosition(const gfx::SelectionModel& sel) {
168 gfx::Point selection_start = GetCursorPosition(sel_start); \
169 gfx::Point selection_end = GetCursorPosition(sel); \
185 gfx::Point cursor_pos = GetCursorPosition(sel); \
  /external/chromium/chrome/browser/autocomplete/
autocomplete_edit_view_views.cc 582 if (textfield_->GetCursorPosition())
591 textfield_->GetCursorPosition() == textfield_->text().length());
  /external/chromium_org/chrome/browser/ui/views/omnibox/
omnibox_view_views.cc 710 HasSelection() || GetCursorPosition() != 0)
718 (!HasSelection() && GetCursorPosition() == text().length());
723 if (GetCursorPosition() == text().length()) {
    [all...]

Completed in 49 milliseconds