Home
last modified time | relevance | path

Searched refs:CURSOR_BACKWARD (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/ui/gfx/
Drender_text_unittest.cc251 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
254 EXPECT_EQ(SelectionModel(Range(select ? 0 : j, j), CURSOR_BACKWARD), in TestVisualCursorMotionInObscuredField()
266 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
463 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F()
467 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F()
470 expected.push_back(SelectionModel(0, CURSOR_BACKWARD)); in TEST_F()
471 expected.push_back(SelectionModel(1, CURSOR_BACKWARD)); in TEST_F()
473 expected.push_back(SelectionModel(4, CURSOR_BACKWARD)); in TEST_F()
482 expected.push_back(SelectionModel(0, CURSOR_BACKWARD)); in TEST_F()
491 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F()
[all …]
Dselection_model.cc14 caret_affinity_(CURSOR_BACKWARD) {} in SelectionModel()
36 const bool backward = caret_affinity() == CURSOR_BACKWARD; in ToString()
Drender_text_pango.cc120 (trailing > 0) ? CURSOR_BACKWARD : CURSOR_FORWARD); in FindCursorPosition()
165 return SelectionModel(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
169 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
494 return SelectionModel(caret, CURSOR_BACKWARD); in FirstSelectionModelInsideRun()
500 LayoutIndexToTextIndex(item->offset + item->length), CURSOR_BACKWARD); in LastSelectionModelInsideRun()
Dselection_model.h28 CURSOR_BACKWARD, enumerator
Drender_text.cc500 (sel.is_reversed() || sel.is_empty()) ? CURSOR_FORWARD : CURSOR_BACKWARD; in SelectRange()
755 if (caret_pos == (caret_affinity == CURSOR_BACKWARD ? 0 : text().length())) { in GetCursorBounds()
762 caret_pos : IndexOfAdjacentGrapheme(caret_pos, CURSOR_BACKWARD); in GetCursorBounds()
765 x = (caret_affinity == CURSOR_BACKWARD) ? xspan.end() : xspan.start(); in GetCursorBounds()
808 sel.is_reversed() ? CURSOR_BACKWARD : CURSOR_FORWARD); in GetSelectionModelForSelectionStart()
865 return SelectionModel(0, CURSOR_BACKWARD); in EdgeSelectionModel()
1073 size_t adjacent = (caret_affinity == CURSOR_BACKWARD) ? in RangeContainsCaret()
1083 (cursor == 0) ? CURSOR_FORWARD : CURSOR_BACKWARD)); in MoveCursorTo()
Drender_text_win.cc552 return SelectionModel(cursor, trailing ? CURSOR_BACKWARD : CURSOR_FORWARD); in FindCursorPosition()
596 return SelectionModel(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
600 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
1264 return SelectionModel(position, CURSOR_BACKWARD); in FirstSelectionModelInsideRun()
1270 position = IndexOfAdjacentGrapheme(position, CURSOR_BACKWARD); in LastSelectionModelInsideRun()
/external/chromium_org/ui/views/touchui/
Dtouch_selection_controller_impl_unittest.cc236 gfx::SelectionModel(3, gfx::CURSOR_BACKWARD)); in TEST_F()
/external/chromium_org/ui/views/controls/textfield/
Dnative_textfield_views_unittest.cc1586 sel = gfx::SelectionModel(1, gfx::CURSOR_BACKWARD); in TEST_F()
1594 sel = gfx::SelectionModel(2, gfx::CURSOR_BACKWARD); in TEST_F()
1596 sel = gfx::SelectionModel(4, gfx::CURSOR_BACKWARD); in TEST_F()
1600 sel = gfx::SelectionModel(3, gfx::CURSOR_BACKWARD); in TEST_F()
Dnative_textfield_views.cc1009 text_index, gfx::CURSOR_BACKWARD); in GetCompositionCharacterBounds()
1013 const gfx::SelectionModel caret(text_index, gfx::CURSOR_BACKWARD); in GetCompositionCharacterBounds()
Dtextfield_views_model_unittest.cc787 gfx::CURSOR_BACKWARD)); in TEST_F()
795 gfx::CURSOR_BACKWARD)); in TEST_F()
812 model.SelectSelectionModel(gfx::SelectionModel(1000, gfx::CURSOR_BACKWARD)); in TEST_F()