Searched refs:CURSOR_FORWARD (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | render_text_unittest.cc | 248 EXPECT_EQ(SelectionModel(Range(select ? 0 : len, len), CURSOR_FORWARD), in TestVisualCursorMotionInObscuredField() 259 EXPECT_EQ(SelectionModel(Range(select ? 0 : j, j), CURSOR_FORWARD), in TestVisualCursorMotionInObscuredField() 263 EXPECT_EQ(SelectionModel(Range(select ? 0 : len, len), CURSOR_FORWARD), in TestVisualCursorMotionInObscuredField() 465 EXPECT_EQ(SelectionModel(4, CURSOR_FORWARD), render_text->selection_model()); in TEST_F() 474 expected.push_back(SelectionModel(4, CURSOR_FORWARD)); in TEST_F() 478 expected.push_back(SelectionModel(4, CURSOR_FORWARD)); in TEST_F() 480 expected.push_back(SelectionModel(1, CURSOR_FORWARD)); in TEST_F() 481 expected.push_back(SelectionModel(0, CURSOR_FORWARD)); in TEST_F() 493 EXPECT_EQ(SelectionModel(4, CURSOR_FORWARD), render_text->selection_model()); in TEST_F() 502 expected.push_back(SelectionModel(4, CURSOR_FORWARD)); in TEST_F() [all …]
|
D | render_text_pango.cc | 98 return SelectionModel(0, CURSOR_FORWARD); in FindCursorPosition() 120 (trailing > 0) ? CURSOR_BACKWARD : CURSOR_FORWARD); in FindCursorPosition() 164 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel() 170 return SelectionModel(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel() 493 LayoutIndexToTextIndex(item->offset), CURSOR_FORWARD); in FirstSelectionModelInsideRun() 501 return SelectionModel(caret, CURSOR_FORWARD); in LastSelectionModelInsideRun()
|
D | selection_model.h | 29 CURSOR_FORWARD enumerator
|
D | render_text.cc | 500 (sel.is_reversed() || sel.is_empty()) ? CURSOR_FORWARD : CURSOR_BACKWARD; in SelectRange() 752 insert_mode ? caret.caret_affinity() : CURSOR_FORWARD; in GetCursorBounds() 761 size_t grapheme_start = (caret_affinity == CURSOR_FORWARD) ? in GetCursorBounds() 786 if (direction == CURSOR_FORWARD) { in IndexOfAdjacentGrapheme() 808 sel.is_reversed() ? CURSOR_BACKWARD : CURSOR_FORWARD); in GetSelectionModelForSelectionStart() 864 return SelectionModel(text().length(), CURSOR_FORWARD); in EdgeSelectionModel() 1083 (cursor == 0) ? CURSOR_FORWARD : CURSOR_BACKWARD)); in MoveCursorTo()
|
D | render_text_win.cc | 552 return SelectionModel(cursor, trailing ? CURSOR_BACKWARD : CURSOR_FORWARD); in FindCursorPosition() 595 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel() 601 return SelectionModel(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel() 661 return SelectionModel(pos, CURSOR_FORWARD); in AdjacentWordSelectionModel() 666 GetRunContainingCaret(SelectionModel(index, CURSOR_FORWARD)); in GetGlyphBounds() 1263 position = IndexOfAdjacentGrapheme(position, CURSOR_FORWARD); in FirstSelectionModelInsideRun() 1271 return SelectionModel(position, CURSOR_FORWARD); in LastSelectionModelInsideRun()
|
/external/chromium_org/ui/views/controls/textfield/ |
D | textfield_views_model_unittest.cc | 38 model.MoveCursorTo(gfx::SelectionModel(pos, gfx::CURSOR_FORWARD)); in MoveCursorTo() 791 gfx::CURSOR_FORWARD)); in TEST_F() 799 gfx::CURSOR_FORWARD)); in TEST_F() 802 model.SelectSelectionModel(gfx::SelectionModel(0, gfx::CURSOR_FORWARD)); in TEST_F() 805 model.SelectSelectionModel(gfx::SelectionModel(3, gfx::CURSOR_FORWARD)); in TEST_F() 809 gfx::CURSOR_FORWARD)); in TEST_F() 958 gfx::CURSOR_FORWARD); in TEST_F()
|
D | textfield_views_model.cc | 365 cursor_position, gfx::CURSOR_FORWARD); in Delete() 680 render_text_->IndexOfAdjacentGrapheme(cursor, gfx::CURSOR_FORWARD); in ReplaceTextInternal()
|
D | native_textfield_views_unittest.cc | 270 gfx::SelectionModel(cursor_pos, gfx::CURSOR_FORWARD), false).x(); in GetCursorPositionX() 1583 gfx::SelectionModel sel(0, gfx::CURSOR_FORWARD); in TEST_F() 1588 sel = gfx::SelectionModel(1, gfx::CURSOR_FORWARD); in TEST_F() 1602 sel = gfx::SelectionModel(3, gfx::CURSOR_FORWARD); in TEST_F() 1606 sel = gfx::SelectionModel(2, gfx::CURSOR_FORWARD); in TEST_F() 1608 sel = gfx::SelectionModel(4, gfx::CURSOR_FORWARD); in TEST_F()
|